0
Welcome Guest! Login
0 items Join Now

Errors after update to Gantry 4.1.17

  • Errors after update to Gantry 4.1.17

    Posted 11 years 2 months ago
    • I just upgraded to Gantry 4.1.17 for Joomla 3.1.5 and immediatedly upon upgrading I received two javascript errors out of browser-engines.js (line 6) and rokmediaqueries.js (line 80).

      These are the errors coming out:
      "Uncaught ReferenceError: Browser is not defined"
      "Uncaught ReferenceError: Class is not defined"

      I checked the code in the javascript files before and after the update and nothing changed in them, so I'm not sure why I'm getting these errors.

      Also I updated RokBooster at the same time and now I'm getting "Uncaught ReferenceError: jQuery is not defined" errors. I viewed the compiled js in the cached php file under /cache/rokbooster and the jquery.min.js library is loaded there before all other dependencies, so I'm not sure why it would be undefined. There are no jQuery errors when I disable the rokbooster plugin.

      Any help would be much appreciated.

      Thanks
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Errors after update to Gantry 4.1.17

    Posted 11 years 2 months ago
    • Can you tell me did you clear Joomla, Gantry and any other cache you have enabled on your site after this upgrade. Which template do you use on your site and which RT extensions do you have installed?
    • Check my services at: Mihha-Vision
  • Re: Errors after update to Gantry 4.1.17

    Posted 11 years 2 months ago
    • Yes I cleared all of Joomla's cache, Gantry's cache and LESS cache, and RokBooster's cache. I eventually disabled RokBooster altogether, which allows jQuery to load, but I'm still getting the other two errors from browser-engines.js and rokmediaqueries.js. Ideally I'd like to re-enable Rokbooster.

      EXTENSIONS:
      Button - RokBox - 2.0.4
      Content - RokBox - 2.0.4
      Content - RokInjectModule - 1.5
      Gantry Library - 4.1.17
      Gantry Component - 4.1.17
      RokCommon - 3.1.6
      RokNavMenu - 2.0.4
      System - Gantry 4.1.17
      System - RokBooster - 1.1.8 (temporarily disabled since it breaks jQuery when it's enabled)
      System - RokCommon - 3.1.6
      System - RokExtender - 2.0.0

      TEMPLATE:
      Gantry v4.1.17 (Responsive Mode)

      ROKBOOSTER Settings:
      Style Sheet Settings:
        Compress CSS Files - Yes
        Sort Method - Place External Links At Top
        Compress Inline CSS Blocks - Yes
        Compile Imported CSS files - Yes

      Javascript Settings:
        Compress Scripts - Yes
        Sort Method - Place External Links At Top
        Compress Inline Scripts - Yes

      Advanced Options:
        Ignored Files - /media/editors/tinymce/jscripts/tiny_mce/tiny_mce.js
        Scan Method - Joomla Header Scan
        Use Background Rendering - Yes
        Disable for Internet Explorer - Yes
        Cache File Permissions - Only user can write (0644)

      My site is http://cpcfs.org
  • Re: Errors after update to Gantry 4.1.17

    Posted 11 years 2 months ago
    • Any updates on this issue?
  • Re: Errors after update to Gantry 4.1.17

    Posted 11 years 2 months ago
    • We are also having this issue on some pages of the site. Seems to be related to pages where we only show some modules.

      We also specifically get this with some of our RSforms (if the menu and other modules are turned off or are not assigned to display on the page).

      Template
      Ximenia v1.4
      Ximenia - responsive v1.4
      cleared all of Joomla's cache, Gantry's cache
      System - Gantry 4.1.17
      ROKBOOSTER - no
      .htaccess browser cache headers and expiring - Yes (cleared browser cache with no change)

      I should also mention this seems to be somewhat browser specific, I get no issues in IE but firefox, chrome, iOS/safari/Chrome, all have the Javascript issues.

      Uncaught ReferenceError: Browser is not defined browser-engines.js:6
      (anonymous function) browser-engines.js:6
      Uncaught TypeError: Object [object global] has no method 'addEvent' load-transition.js:26
      (anonymous function) load-transition.js:26
      (anonymous function) load-transition.js:28
      Uncaught TypeError: undefined is not a function
      (anonymous function) mootools-core.js:375
      (anonymous function) mootools-core.js:33
      Array.implement.each mootools-core.js:40
      invoke.fireEvent mootools-core.js:374
      g mootools-core.js:514

      (not sure but maybe this is a joomla core mootools conflict?)
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Errors after update to Gantry 4.1.17

    Posted 11 years 1 month ago
    • I reported this issue to our devs so we will have to wait for them to see and try to replicate this and provide a fix
    • Check my services at: Mihha-Vision
  • Re: Errors after update to Gantry 4.1.17

    Posted 11 years 1 month ago
    • I reviewed the pages I was having issues on and the javascript errors, I noticed that load-transition.js was one of the errors. Taking that into consideration I turned off the load transition in the template style settings. This resolved the issue of RSForms Pro pages not displaying and removed the errors related to Uncaught TypeError: Object [object global] has no method 'addEvent' load-transition.js:26
      (anonymous function) load-transition.js:26
      (anonymous function) load-transition.js:28
      and the errors related to
      Uncaught TypeError: undefined is not a function
      (anonymous function) mootools-core.js:375
      (anonymous function) mootools-core.js:33
      Array.implement.each mootools-core.js:40
      invoke.fireEvent mootools-core.js:374
      g mootools-core.js:514

      This suggests to me that there is a javascript conflict with Joomla's core mootools and the Template Load Transitions (I will also mention that my site is much faster with the load transitions turned off)

      Unfortunately this did not resolve all of the issues reported. We still get the following error on the RSForms pages and some other random pages with firefox, chrome, and iOS/safari/Chrome.

      Uncaught ReferenceError: Browser is not defined browser-engines.js:6

      I hope the Devs can replicate and resolve this issue.
    • The following users have thanked you: morktron

  • Re: Errors after update to Gantry 4.1.17

    Posted 11 years 1 month ago
    • Any solution for this? I have the same errors after updating to Gantry 4.1.17.

      Uncaught ReferenceError: Browser is not defined
      Uncaught ReferenceError: Class is not defined
      Uncaught ReferenceError: JQuery is not defined

      My website is http://www.orsypinstitute.com . In order to get our calendar page to work I had to manually add the following to my Gantry Template index.php head:

      <script src=" code.jquery.com/jquery-1.10.1.min.js "></script>

      As stated by someone else, this is a browser specific issue. I have no problem in Firefox, IE or Safari. The issue only appears be happening in Chrome.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Errors after update to Gantry 4.1.17

    Posted 11 years 1 month ago
    • Igor Mihaljko wrote:
      I reported this issue to our devs so we will have to wait for them to see and try to replicate this and provide a fix
    • Check my services at: Mihha-Vision
  • Re: Errors after update to Gantry 4.1.17

    Posted 11 years 1 month ago
    • I'm still experiencing the same issues, John. However to my knowledge, this issue is widespread and is affecting all browsers.

      I just ran tests on Chrome, Chromium and Firefox (using Firebug) on Ubuntu 12.04 and Chrome, Firefox (using Firebug), IE 7 8 9 (using F12 Developer Tools debugging on the Script tab), and Safari on Windows 7 x64.

      I'm getting these errors on all browsers after clearing all caches:
      Uncaught ReferenceError: Browser is not defined
      Uncaught ReferenceError: Class is not defined
      Uncaught ReferenceError: JQuery is not defined

      Can you confirm that you are enabling JavaScript debugging in IE and are enabling JavaScript errors to dump out to the Firebug console in Firefox?

Time to create page: 0.070 seconds