Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Craig 10 posts 61 karma points
    Nov 13, 2015 @ 12:51
    Craig
    0

    jQuery not defined

    We have one Umbraco site which was done in 7.0.3.

    Recently we attempted to update to 7.3, which seemed to go OK from a front end perspective, but we had issues with the Umbraco back office doing weird things like the login page not displaying properly.
    Inspecting the console in Firebug or the like revealed a whole host of jQuery errors.
    Given that the upgrade from 7.0.x is fairly big, we put it down to something we missed and rolled back to 7.0.3 with the intention of trying again later.

    Today however, I attempted to update my virtually untouched 7.2.8 test installation to 7.3.1 and have run into the exact same issue. Given that I can't find anything or anyone talking about this problem recently I'm not sure how we're the only ones getting this. Here are the errors coming out from the console when we go to "http://host/umbraco/:

    Does anyone have any suggestions about what to check?

    ReferenceError: jQuery is not defined
    
    
    (function(t,e){function i(e,i){var n,o,a,r=e.nodeName.toLowerCase();return"area"...
    
    
    jquery-...3801249 (line 5, col 2)
    TypeError: $ is undefined
    
    
    $.support.fileInput = !(new RegExp(
    
    
    jquery....3801249 (line 32, col 5)
    TypeError: $ is undefined
    
    
    $.blueimp.fileupload.prototype.options.processQueue.unshift(
    
    
    jquery....3801249 (line 39, col 5)
    TypeError: $ is undefined
    
    
    var originalAdd = $.blueimp.fileupload.prototype.options.add;
    
    
    jquery....3801249 (line 32, col 9)
    TypeError: e is not a function
    
    
    !function(e){"use strict";e(function(){e.support.transition=function(){var e=fun...
    
    
    bootstr...3801249 (line 6, col 27)
    TypeError: $ is undefined
    
    
    $.fn.tabdrop = function ( option ) {
    
    
    bootstr...3801249 (line 111, col 2)
    ReferenceError: jQuery is not defined
    
    
    })(jQuery);
    
    
    LegacyU...3801249 (line 418, col 1)
    ReferenceError: jQuery is not defined
    
    
    })(jQuery);
    
    
    LegacyS...3801249 (line 73, col 1)
    TypeError: UmbClientMgr is undefined
    
    
    UmbClientMgr.setUmbracoPath('/umbraco');
    
    
    Applica...e547e43 (line 35, col 5)
    
  • Per Olsson 47 posts 307 karma points
    Nov 13, 2015 @ 12:59
    Per Olsson
    0

    Have you tried to clear ClientDependency (Delete \App_Data\TEMP\ClientDependency)?

    When you updated to a new version chances are the old version is still cached by ClientDependency.

  • Craig 10 posts 61 karma points
    Nov 13, 2015 @ 14:27
    Craig
    0

    I deleted the folder, and it has been recreated, but sadly no change!

  • Craig 10 posts 61 karma points
    Nov 13, 2015 @ 13:05
    Craig
    0

    As an observation - this seems to only happen in Firefox.

    This is my usual browser, but I have completely cleared my cache. Firing it up in private browsing mode loads the page fine, but hitting reload causes all the errors to be thrown, which seems a bit weird to me.

    Loading the page up in IE or Chrome does not seem to cause any problems.

  • Craig 10 posts 61 karma points
    Nov 13, 2015 @ 14:31
    Craig
    0

    It seems to be any reload of a backoffice page in Firefox. The page may load properly first time but if I press reload, jQuery explodes.

  • Craig 10 posts 61 karma points
    Nov 13, 2015 @ 15:07
    Craig
    0

    Watching the firebug windows, when the page loads properly, the response from the server is "200 OK (BFCache)" .

    When the page fails to load the response is "304 Not Modified"

  • Craig 10 posts 61 karma points
    Nov 13, 2015 @ 15:30
    Craig
    101

    Looks like this might specifically be Firebug.
    If the Firebug window is open, the page errors, otherwise it doesn't.
    Using the built in one doesn't cause an issue, but as soon as Firebug is opened it breaks.

  • Stuart 7 posts 77 karma points
    Nov 13, 2015 @ 15:34
    Stuart
    0

    I would definitely agree sir - the problem only occurs when the firebug window is open.

    As you say, it doesn't happen when the native inspector is open, or in any other browser.

    So, sacking firebug off is best bet! :)

  • marcelh 171 posts 471 karma points
    Dec 17, 2015 @ 09:24
    marcelh
    0

    Found the same issue here. Looks like some files are being cached but cannot be found. Really sad, as I always liked FireBug as developer tool.

Please Sign in or register to post replies

Write your reply to:

Draft