开发者

tracking IE specific errors?

as im developing our site i run into IE specific errors where you would get a warning in the status bar of IE stating "Done but with errors" with the warning icon. once you double click that you get

LINE:203
CHAR:2
ERROR: Object Required
CODE: 0
URL: www.some site.com/some page

do you hav开发者_Go百科e any tips on how i could possibly track down this sort of error? or is my only hope to go thru all dependent files and look for line 203 and try to track it that way? thanks


This is more likely a javascript error.


The "line 203" would not be in the PHP code (which the browser never sees), but in either the HTML page itself (possibly an embedded script), or in a linked JavaScript file. "Object Required" does sound more like a JavaScript error.

As ircmaxwell says, check to see if the error appears in IE8, and use the developer tools to get more details.


IE very seldom, if ever, properly reports where the error actually occured. You might as well treat that line number as completely random, and use the javascript debugger and/or IE developer tools, which give you the option of jumping directly to the source of the error, where it actually occured.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜