IE Crash Issue
-
I seem to be having an issue with IE8, and possibly all other versions with a site I am developing crashing: here. I am using the HTML5 Boilerplate theme, and am new to WP development.
I researched into this, and seen this was an issue with some, which was resolved by re-uploading the wp-includes/js folder. This didn’t work for me though.
Anybody have any ideas on what I might be doing wrong here? Thanks in advance!
-
Do you have jQuery linked correctly? As in the console it’s complaining that jQuery is not defined.
The problem is either, as the error states, jQuery has not been loaded. Or secondly, as it’s jQuery UI that is seemingly complaining about jQuery, it could be a case that the UI lib has been defined before the jQuery Core lib. So place the reference to jQuery UI after the call to Jquery in the footer.
HTH,
HarmckThanks harmck: that did the trick as far as the jQuery console error. I will have to check on the IE crash issue, and hopefully this resolved it.
– j
Moving the jQuery UI link to the footer resolved the js console error, but I am still having issues with IE: the issues are different depending on what computer the user is on, but it is either locking up the site, or there is a ‘debugging’ error with the pages. IE isn’t being any more specific than that apparently.
Have you tried disabling your plugins to see if one of those are the culprit? If IE works after disabling them, then turn them back on one at a time to see which one is causing the problem.
Also, you claim that IE is causing the problem so I’m assuming your site works fine in other major browsers?
Thanks for the reply Gabe:
I have not tried disabling plugins, but none are active other than Akismet and Jetpack, so I didn’t think this would be the source of the issue. Should I still do this?
And yes, site is working just as expected in other major browsers.
Seems silly with only two plugins but it couldn’t hurt to try. It should only take a few minutes to rule out the plugins.
BTW, it’s not crashing on my IE. You might want to try IE on another computer to see if you get the same result.
I am getting mixed results in regards to how the site in behaving on different versions of IE/different computers: It looks like it is an IE8 and below issue, and possibly slightly older computers.
I’m at work and using IE7 and Firefox 8 (Vista) with no issues.
Does it have anything to do with any toolbar addons the respective IE installs may have? If it’s inconsistent, some external stuff could be the problem.
Hmmm— then its more inconsistent that I thought.
Harmck: as far as toolbar addons, this would only be the case if everyone that I have had test in IE has the same addons.
At this point I think the best approach might be to just strip down the site and start again
Any chance that is has to do with your use of HTML5, which isn’t supported in < IE8…
I would suggest trying to use Modernizr which I see you have installed, but perhaps there is some extra configuration you can do to ensure stability. I generally use the HTML5 boilerplate as well, and usually have no issue with backwards compatibility.
My IE8 VM crashes, and quickly recovered. The .dll that complaining was mshtml.dll, which I’m sure I could do a bit of background research on.. it might have something to do with parsing the DOM, and when it’s encountering ‘article’ or ‘section’ tags it may be throwing errors and thus crashing the browser.
Hope this helps somewhat. Good luck with the fix. It’s very frustrating for you I’m sure.
Thanks for the feedback harmck!
I am glad you have experience with the html5 Boilerplate theme: is this the best one in your opinion? I am curious to know how it stacks up to the others recommended on the H5BP site.
In regards to Modernizr: I decided to just disable this, and use the html5 shiv instead (I plan to just put IE hacks in separate css files).
In regards to mshtml.dll: Is this definitely where the problem is? I did a quick search, and it looks like people with the same error are getting crashes, etc. Is this problem with the user’s browser/system and not the site itself?
No problem.
I normally download the Boiler Plate from their site and build a theme from scratch or I have a theme I prepared myself where I have stripped out what I don’t need. But I find it the best, I see you use the 960 grid CSS along with it, so both get the thumbs up from me. I find they reduce the incompatibilities across browsers, leaving me free to concentrate on smaller issues.
I’m only going by the error report my system produced, and keeping in mind it was on a Windows XP VM running a native IE8 browser, that was the file it reference in the report. It could simply be browser being unable to understand the html5 stuff, and without sufficient backwards compatibility it just gives up and crashes out.
Try to re-enable Modernizr and see if it stops the issue from happening. I haven’t really started developing fully in HTML5 due to cross browser and backwards support, so I thankfully haven’t encountered similar issues before.
Solution found: I ended up using another Boilerplate framework called Handcrafted WP starter theme by Randy Hoyt and Randy Jensen. Not exactly sure what is in this theme that fixed the issue, but I suspect there is a fix for browsers that do not recognize html5 that the other was lacking, or was not clear on how to activate.
Thanks for the help guys.
– j
The topic ‘IE Crash Issue’ is closed to new replies.