Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Need help with Syntax error

syntax error



7:28 am on Jun 2, 2003 (gmt 0)

10+ Year Member

Could you help me correct the syntax error on my webpage?
<edit - sorry, no personal URLs>

It says Line:2 Character:29 Error: Syntax Error Code: 0

Thank you,

[edited by: tedster at 10:17 am (utc) on June 2, 2003]


9:53 am on Jun 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hi trevina, Welcome to WebmasterWorld.

It is not allowed to put an URL here, but since it was there I could check your problem. In the following lines I added some '*' symbols, but you will understand what should be there.

It turns out that your code is OK, but the code added by g*cities is not.

You can do the following test:
1. Create on your harddisk (C:) a temporary directory (e.g. C:\pls_rmv)
2. Open your page on g*cities
3. Store it (File >> Save As) to this temporary directory
4. Open the local version (C:\pls_rmv\peyt*), and you will still see the error.
5. Open the local file with an ASCII editor (like Notepad) and go to the end of the file. There are some very long lines. Make these lines shorter by pressing entering a 'return' before each "<script>"
6. Save this file, and verify the problem still exists.
7. Remove the 2 following lines

<script language="JavaScript" src="http*//www.g*cities.com/js_source/pu5geo.js"></script>
<script language="JavaScript" src="http*//www.g*cities.com/js_source/ygIELib9.js?v3"></script>

8. Save the files again.
9. Verify it (problem is gone)
10. Remove the temporary directory after deleting the file.


10:06 am on Jun 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I just checked some other pages of g*cities, and you're not alone. I expect this problem will soon be solved.


2:46 am on Jun 3, 2003 (gmt 0)

10+ Year Member

Thank you. It was driving me crazy to not be able to figure out what the error was.



Featured Threads

Hot Threads This Week

Hot Threads This Month