This may be more of a cry for help than an actual MODx issue. However, I’m getting the dreaded "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." error in IE 7/8 on my new MODx Revo site. My page validates as HTML5 and Ive scoured my scripts for problems, but I can’t find the issue anywhere. If anyone has a few minutes and a love for front-end debugging, I’d appreciate the help. Here’s the site:
I did run it through the Firebug profiler and it came up with this request returning a 404:
GET http://www.floridapancake.com/createprofileforms/undefined?year=
At least you can disable your scripts temporarily and see if the problem persists. If not, then you know you have to look into your js. Then just start re-adding function by function until it crashes again, and you’ll be much closer to the root of the problem...
That’s a good idea; thanks. Also, I realized (thanks to Jason on Twitter) that I was using the HTML5 doctype, but with no safeguards in place for IE. I’ll look into that 404, though.
Regarding HTML5, you should have a look at HTML5 Boilerplate and the MODx Boilerplate. Saves you plenty of headaches and it’s all best practice stuff by industry leading developers.