Forum Moderators: open

Message Too Old, No Replies

error in page

         

BESt Creatief

10:07 am on Dec 31, 2004 (gmt 0)

10+ Year Member



Hi,
here Gaston from the Netherlands. When i enter my site I get an error that an object doesnt supprt this method or property. Line 23 char 15. What does it mean? How to dissolve this error?

I blocked the code for viewing, but can post it here. Is the error on the page i wabt to enter or on the page i left (index).

Can someone help me?

<Sorry, no personal URLs. See TOS [webmasterworld.com]>

greetz Gaston

[edited by: tedster at 5:49 pm (utc) on Dec. 31, 2004]

tedster

5:53 pm on Dec 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That error message means there is an error in a script that runs on your page - usually a javascript. So "Line 23 char 15" means that line and character number in the script itself, not in the entire page.

BESt Creatief

12:50 pm on Jan 1, 2005 (gmt 0)

10+ Year Member



Hi,

and is this error on the first page or the page I want to enter? This page is using frames.

How can I validate the script?

tedster

5:34 pm on Jan 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



...is this error on the first page or the page I want to enter? This page is using frames.

You may need to open each page on its own - that is, open it directly, outside the frameset so you can see which page in the frameset is triggering the error message. However, if any page isn't calling a script then that page cannot be the source of the error.

Also, any script shorter that 23 lines can't be it either, since your error message says the error is on line 23. That fact should also help you discover what script has the error.

How can I validate the script?

The fact that you get this error message shows that you already have debugging turned on in your browser - that is the tool you have for 'validating' and/or fixing the script.

After you find the particular script that is triggering the error message, then look at the particular line and character in the script. Also, the error message usually goes on with one more line - a further message that generally states the kind of error that was triggered.

There's no easy or automatic way to fix the error - you've got to know the scripting language - and from the hints in the error message, figure out where the bad code is.

For further help on this, if needed, you'll probably want to post your questions in our Javascript Forum [webmasterworld.com].