0
Welcome Guest! Login
0 items Join Now

SOLVED Rokbooster problem with RokNavMenu while cache enabled

  • Re: SOLVED Rokbooster problem with RokNavMenu while cache enabled

    Posted 9 years 5 months ago
    • hello mark,

      the custom-css and the definition of the margin does not occure the problem. everything is fine as long as rokbooster is disabled.
      if my custom-css would be the reason, than the problem would be also there if rokbooster is disabled.

      the problem is in the javascript or code of rokbooster:

      here is the error:

      This image is hidden for guests.
      Please log in or register to see it.




      Uncaught SyntaxError: Unexpected token ;
      Uncaught ReferenceError: jQuery is not defined

      <script src="/cache/rokbooster/a159fc84c157c30c02571cf5bf7746ca.php" type="text/javascript"></script>
      <script type="text/javascript">
      jQuery(window).on('load', function() { [error]
      new JCaption('img.caption');
      });


      kind regards
      stefanos
    • Last Edit: 9 years 5 months ago by steffard.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Rokbooster problem with RokNavMenu while cache enabled

    Posted 9 years 5 months ago
    • Ok it must be me getting confused now...

      1. rokbooster is enabled
      2. menu is working on "per samsung" menu item
      3. no error messages in browser console?

      Clear your browser cache.

      What am I missing?

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Rokbooster problem with RokNavMenu while cache enabled

    Posted 9 years 5 months ago
    • hello mark,

      I think your browser cache is not empty. You can check each subpage. everyone of them have the problem I send you in my last message. You can also check it directly with your smartphone.

      I took also a look around for this error message (Uncaught ReferenceError: jQuery is not defined) and found this hint:

      "jQuery needs to be the first script you import. The first script on your page."

      If you check the code you can see that the rokbooster script is loading first

      <script src="/cache/rokbooster/a159fc84c157c30c02571cf5bf7746ca.php" type="text/javascript"></script>

      Kind regards
      Stefanos
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Rokbooster problem with RokNavMenu while cache enabled

    Posted 9 years 5 months ago
    • 1. I've turned off system cache plugin (your don't want this on if you have any dynamic content at all on your site - and you do).
      2. I've altered rokbooster settings and now it's working ok without errors. It's the compression that it doesn't like, and since most of the JS in minified anyway it won't make much difference.

      Regards, Mark.
    • The following users have thanked you: steffard

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Rokbooster problem with RokNavMenu while cache enabled

    Posted 9 years 5 months ago
    • hello mark,

      this is a good solution. thank you for the kind support!

      regards
      stefanos

Time to create page: 0.053 seconds