Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Done: But with error on the page.

Status
Not open for further replies.

Bkster

Technical User
Jan 25, 2002
94
US
Need help on this. Please! Had a site that we developed on one web hosting server (Readyhosting). When we were not satisfied with the service we switched to a different provider(Hostway). After uploading the site to the new provider I am getting the following error.

In the status bar is a yellow sign. When you double click on it you receive the following information.

Line:2
Char:1
Error: Syntax Error
Code:0
URL:
The page works fine its just that you get this error when you load the page. It does it for everypage that is located off the main www/ directory. Pages that are loaded from sub direcories do not display this message ie.. It works fine on my local machine. Hostway says it is a scripting error. I cannot figure out why it is only doing it on there server??? Here is the first couple lines of coude from the arts.asp page.

<html><!-- #BeginTemplate &quot;/Templates/main_template.dwt&quot; -->
<head>
<!-- #BeginEditable &quot;doctitle&quot; -->
<title>CSF Arts</title>
<!-- #EndEditable -->
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
<script language=&quot;JavaScript&quot;>
<!--
// fwLoadMenus()

Nothing jumps out at me. If anyone has any ideas on this one I would greatly appreciate them.

Thanks

Brian Russell
 
That line number won't tell you anything... nearly completely useless.

It might be pointing to something it doesn't like in the macromedia include file there, but w/o seeing any of the other code, it's impossible to tell.

Turn off friendly script error messages in IE, and when it asks you if you want to debug, tell it yes.

See what line it breaks on, and that will be where your problem is.

:)
paul
penny1.gif
penny1.gif
 
I tried that but it is still acting the same way. Is there something in Ultradev that I can use to debug?

Thanks
 
What kind of browser are you using? I had errors in IE4.01 that I couldn't explain and in IE5 was perfect.
 
Looking to your site I think this line is creating problems
try to play a little with it, like move it on another line, to see if the error description will say error on line X
where X is the line where you moved the line

<!-- #BeginTemplate &quot;/Templates/main_template.dwt&quot; -->
 
Wanted to thank everyone for there help. Apparently when we moved the site to a new host the template recreated itself outside the html folder. It would diplay locally fine but when it was on the server it could not access the template that was outside the html folder. Thanks for the input

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top