Page 1 of 1

IE Reporting script error?

Posted: Wed Oct 29, 2008 3:33 pm
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! :)

Re: IE Reporting script error?

Posted: Wed Oct 29, 2008 4:40 pm
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

Posted: Wed Oct 29, 2008 10:32 pm
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...

FIXED

Posted: Wed Oct 29, 2008 11:40 pm
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