sifr 抛出“G.brokenFlashIE”为 null 或不是对象错误
我们在整个站点中随机发生此错误,但仅在我们迄今为止注意到的一台计算机上发生。我们的网站尚未上线(处于质量检查阶段),并且只有一个测试该网站的人似乎出现了此问题。这是错误消息:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
Timestamp: Mon, 11 Jan 2010 15:33:03 UTC
消息:“G.brokenFlashIE”为 null 或不是对象
线路:17
字符:24003
代码:0
他们在 XP/SP3 上运行 IE8。 sifr 出现在网站的每个页面上,但此错误的显示不一致。发生这种情况的人说,这种情况经常发生,但随机发生。
它适用于我们尝试过的所有其他浏览器/操作系统组合。
我们正处于测试阶段的最后阶段,需要很快上线。任何帮助/建议/解决方案将不胜感激。
We are getting this error occurring randomly throughout the site, but only on one computer that we've noticed so far. We have not gone live with our site (it's in the QA phase) and only one person testing this site seems to be having this issue come up. Here is the error message:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
Timestamp: Mon, 11 Jan 2010 15:33:03 UTC
Message: 'G.brokenFlashIE' is null or not an object
Line: 17
Char: 24003
Code: 0
They're running IE8 on XP/SP3. sifr is on every page in the site, yet this error shows up inconsistently. The person this is happening to says it happens frequently, but randomly.
It works fine for every other browser/OS combination we've tried.
We are at the end of our testing phase and need to go live very soon. Any help/suggestion/resolution would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我只收到了一些关于此事的报告,没有人真正回复任何细节。您的错误消息在这方面有所帮助。
我可以将错误追溯到卸载页面时运行的一些清理代码。我的印象是这个清理代码被调用了两次——第一次执行设置了 G = null ,导致第二次执行时出现错误。除了 IE bug 之外,清理代码可能被调用两次的唯一可能原因是用户停止加载页面。这是怎么回事?
I've had only a handful of reports on this, nobody really got back with any details. Your error message helps in that regard.
I can track the error back to some cleanup code that is run when the page is unloaded. My impression is that this cleanup code is called twice — the first execution sets
G = null
causing the error on the second execution. Aside from an IE bug, the only possible reason the cleanup code might be called twice is if the user stops the page from loading. Is this what is going on?我想当这个错误发生时我已经隔离了。我还不知道为什么,但我已经设法阻止它发生。我运行的是IE7。
仅当我的 url 包含分隔参数的
20%
空格以及 URL 末尾的#
,然后单击 Flash 链接时,它才会触发。没有其他组合。例如)
page.php?st=wv&stn=West%20Virginia#
- 把#
从末尾去掉就可以了。出现 # 是因为我必须打开一个带有空白“a href”链接的下拉菜单,因此网址末尾有“#”。我已从链接中删除了整个
href='#'
- 这似乎适用于跨浏览器。如果这对任何人有帮助,我会很高兴,因为在 14 年的网络开发中,我一直无法回馈并解决论坛问题,这让我很烦恼!
I think I've isolated when this error occurs. I haven't found out why but I have been manage to stop it happening. I'm running IE7.
It fires only when my url contains a
20%
space separating a parameter AND a#
at the end of the URL and then I click a flash link. No other combination.e.g)
page.php?st=wv&stn=West%20Virginia#
- take the#
off the end and its all fine.The # appears because I have to had to open a dropdown menu on the same with a blank 'a href' link, hence the '#' at the end of the url. I have removed the whole
href='#'
from the link - which seems to work accross the browsers.If this helps anyone at all I'll be so happy as in 14 years of web development its bugged me that Ive never been able to give back and solve a forum problem!