|
| |
|
|
sarge
Posts: 379 From: London England Status: offline
|
Where is the error line? - 6/7/2002 21:20:30
Hi- When I get script errors, I get a message that looks something like this: line: 100 char: 20 error: syntax error code: 0 URL: file//............. Trouble is, the line number never lines up with the actual line that's wrong. It's usually in the same general area (when I go into HTML view), but sometimes I really need to know the actual line. Am I missing something? Thanks, Sarge
|
|
|
|
DarlingBri
Posts: 3123 From: Left of Centre, Cork, Ireland Status: offline
|
RE: Where is the error line? - 6/7/2002 22:27:51
Yep. It's the line number of the code as it appears in the browser. So if you have included headers and footers, for example, they won't appear in problempage.htm when you look at it in FP, but if you view source in your browser, you'll see the header and footer code and the lines will be different. Generally, though, that line thing isn't so reliable. The bad code can be in line 30 but not actually cause a problem until it triggers something in line 500; the error message will say line 500. Pooh. --Bri ----- #!usr/bin/girl
|
|
|
|
sarge
Posts: 379 From: London England Status: offline
|
RE: Where is the error line? - 6/8/2002 9:54:47
Thanks Bri.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|