navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Where is the error line?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Where is the error line?
Page: [1]
 
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

(in reply to sarge)
sarge

 

Posts: 379
From: London England
Status: offline

 
RE: Where is the error line? - 6/8/2002 9:54:47   
Thanks Bri.

 

(in reply to sarge)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Where is the error line?
Page: [1]
Jump to: 1





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