IE Reporting script error?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
djgrrr
Regular
Posts: 22
Joined: Fri Oct 03, 2008 8:05 am

IE Reporting script error?

Post by djgrrr »

I cannot get rid of this error when first loading a page:

"Done, but with errors on page."

When looking at the details this is what is reported:

Image


I cannot find any syntax error in the source files. Any ideas on what to look for? If it helps, the error seems to disappear when I hit REFRESH in IE. But comes back when I browse to a new page.

The site in question is in the warning box above.


Thanks for any help with this! :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: IE Reporting script error?

Post by garvinhicking »

Hi!

Yeah, IE Javascript debugging is a bitch, because it does not yield any useful information.

Try to install and use IE8, it has a serious error debugging console that points you to the right file. Somewhere inside your javascript code, there's an error with IE, but you will need to remove every line and carefully re-add everything to spot which one it could be...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
djgrrr
Regular
Posts: 22
Joined: Fri Oct 03, 2008 8:05 am

Post by djgrrr »

Yeah, I *LOVE* debugging!

Actually, I don't mind it. ;) But not when you get ZERO clue as to what the hell is going on??!?

I will try this IE8 thing. I still haven't tested this site in <IE6 yet with my PNG fix code. Ah.... maybe it's the PNG fix code! lol!

Okay.... I'll report back here if I get it figured out...
djgrrr
Regular
Posts: 22
Joined: Fri Oct 03, 2008 8:05 am

FIXED

Post by djgrrr »

Garvin,

Thanks for the tip about IE8. It certainly *does* have better script error reporting than its predecessors.

It turns out it *was* the fixie6 script that I had suspected, but not *as* I had suspected. It was not the script itself, but rather that my linked script had the <script> tags inside it. (whoops!).

Whether that script really works or not, that is another question (no idea).

The only sad part is that I now have IE8 installed! :(

;)

Thanks for your help!

J
Post Reply