Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    2 problems here, caused by your theme and/or another (Cloudflare) plugin:

    Your theme is loading the script like this:

    <script type=’text/rocketscript’ data-rocketsrc=’https://www.adashimedia.com/wp-content/plugins/cookie-law-info/js/cookielawinfo.js’></script&gt;

    First problem is that this script points to the cookielawinfo version 1.1.2 script, which is the main issue.

    Second (smaller) problem is the “type=’text/rocketscript'” – I quickly Googled that and it seems it has something to do with Cloudflare CDN. The ‘correct’ value would be “type=’text/javascipt'” but it seems that Cloudflare is doing the renaming.

    Anyway, simple solution: if you refresh the cloudflare cache it will work.

    All the best

    Thread Starter aquaelle

    (@aquaelle)

    Thank you for this. Cleared cloudflare cache and works fine in IE but not showing for me in Firefox browser?

    I tried it in Chrome and 3 issues:

    1. my browser had cached the old script- refresh browser cache to load new script. Note that default wordpress functionality will append a version number to enqueued scripts so versioning happens automatically and the browser won’t cache them. Your site isn’t doing this so I think that’s probably Cloudflare again.

    2. The JavaScript has been modified, probably by Cloudflare, to remove whitespace and maybe minified in some way. So the script isn’t as I wrote it anymore and that is possibly the actual issue.

    3. You still have “<script type=”text/rocketscript”>” going on – I’m not familiar with this syntax and it seems to be cloudflare specific.

    The issue will be your cloudflare settings. I don’t support other plugins unfortunately and since one has modified the cookielawinfo script I daresay the problem lies there. If I were you I’d keep looking at the cloudflare settings and if you or somebody at your company is technically minded, you might want to look at the way it handles JavaScripts. Maybe Cloudflare can help?

    All the best

    Update:

    I just typed this into the JavaScript console:

    > cli_show_cookiebar

    Which returns this:

    function cli_show_cookiebar(html,json_payload){ /** [snip] */ }

    …this is the ‘old’ script still, even though your JavaScript links to the ‘new’ cookielawinfo script.

    So this is presumably a CloudFlare settings issue… but you also have W3 Total Cache going on I see. Either way- a cacheing issue.

    Thread Starter aquaelle

    (@aquaelle)

    Again, many thanks for the pointers. Have looked into clouflare and temporarily turned off the rocket loader for javascript and purged clouflare cache again and this seems to have fixed the issue in firefox.
    Hopefully no other repercussions elsewhere.

    Thanks for the excellent support provided!

    Glad you got it working, and thanks! ??

    Hi!

    I also have a similar problem… I can’t view the cookie tab! I’m looking for any problem with the console but I can find it… i’m sorry because I use your great plugin in 3 more sites and I don’t have any problem… Can you help me?

    thanks

    Hi, happy to hep but please can you start a new thread? Your issue may not be related to this. In the new thread please also provide your URL and you may get a solution faster by checking https://www.cookielawinfo.com/troubleshooting. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘v1.2 not working on site’ is closed to new replies.