IE 8 Crashes When Loading Site, Can’t Debug –

http://bizzocall.com/faq/ – Works well in all other browswers, but when I test it with the developer tools in IE 8 compatibility it just crashes.

I’ve looked at all the answers and it seems like each person has different problems (I’ve looked for stray commas, updated jquery, etc).

Read More

Any help is much appreciated!

UPDATE

I found a plugin that was calling jquery 1.4 (Dave’s WordPress Live Search) and removed it. Although the code seems cleaner it still pause IE 8.

UPDATE 2

Removing the plugin seemed to be the trick.

Just for those that find this post: This was running wordpress with thesis installed.

Related posts

Leave a Reply

7 comments

  1. It crashes for me too in IE9 with IE8 mode. (see development tools -> F12 ) If you disable javascript, it doesn’t crash.. so it’s a javascript issue. I see that you are loading 3 different version of jQuery, could be that?

    EDIT. I was using the debugger, and got frozen during execution of jQuery 1.44 (You are loading this library in the footer from Google CDN )

  2. It seems that most likely you have a trailing comma, not necessarily a stray one. For example:

    {
      "hello":"world",
      "foo":"bar"
    }
    

    Would work fine, but if you did:

    {
      "hello":"world",
      "foo":"bar",
    }
    

    It would totally kill IE. Look for that or maybe give us more hints as to what the error is.

  3. When comment the script tag of fancybox, IE doesn’t crash. But I don’t know what is the cause.

    You call jquery twice: jquery 1.6 and jquery 1.4.4. Seems this cause the crash. But if you disable jquery 1.4.4, fancybox still causes the crash. Disabling jquery 1.6 avoid the crash.

  4. My IE (IE 8.0 @ Windows Server 2003) is not killed when I enter the page.

    However the Javascript seems to keep on running forever, because IE offers me to “Stop running script … causing Internet Explorer to run slowly … “. There’s a Javascript error indication too. It says:

    Webpage error details
    
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; .NET4.0C; .NET4.0E)
    Timestamp: Fri, 13 May 2011 20:08:46 UTC
    
    
    Message: Permission denied
    Line: 133
    Char: 374
    Code: 0
    URI: http://bizzocall.com/faq/wp-includes/js/jquery/jquery.js?ver=1.4.4
    

    You said you’ve updated JQuery, but 1.4.4 doesn’t seem to be the latest version, does it?


    UPDATE:

    I ran the Developer Tools (F12) to get the call stack and one of the entries in the stack (just in the middle) is:

        //jquery.fancybox-1.3.4.js lines 1040-1045 in the $.fancybox.init
        $('body').append(
            tmp = $('<div id="fancybox-tmp"></div>'),
            loading = $('<div id="fancybox-loading"><div></div></div>'),
            overlay = $('<div id="fancybox-overlay"></div>'),
            wrap = $('<div id="fancybox-wrap"></div>')
        );
    

    UPDATE2:

    I give up. My Javascript/JQuery knowledge is too limited. And the minified JQuery code doesn’t seem to help either. Debugging through things like this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)}) doesn’t seem to be the easiest thing in the world.

    I suggest running the same code with a single JQuery instance (one version, it may be 1.4.4 if that’s your pick) in development (unminified) version. Problems may arise if the bug doesn’t happen then.

  5. Dave from “Dave’s WordPress Live Search” here. Just wanted to add a few comments:

    • Dave’s WordPress Live Search doesn’t “call jQuery 1.4”. It tells WordPress to load the version of jQuery it ships with, currently 1.4.4. jQuery 1.6 isn’t supported natively by WordPress until version 3.2 ships next month. The preferred way to use an alternate version of jQuery is to “deregister” the included jQuery and register your own version in its place. Adding the following to your theme’s functions.php file should take care of it:

      if ( !is_admin() ) {
        wp_deregister_script('jquery'); //deregister current jquery
        wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.js', false, '1.6', false);
        wp_enqueue_script('jquery');
      }
      
    • Someone recently figured out that the jQuery Dimensions plugin included with Dave’s WordPress Live Search was causing IE8 to hang. This was needed way back when I first wrote this plugin because WordPress shipped with an ancient (even for the time) version of jQuery. The functionality this jQuery plugin provides was merged into jQuery core a long time ago, and since I’ve dropped support for WordPress < 2.9, it’s not needed anymore. Give Dave’s WordPress Live Search v2.1 a spin.

  6. Try running IE without add-ons. Often the reason for a full-blown crash is an add-on interfering with something. To do this:

    Start > All Programs > Accessories > System Tools > Internet Explorer (No Add-ons)

    If you can’t find that then go to a run promt (Windows Key + R) and type iexplore.exe -extoff