Uncaught ReferenceError: CookieControl is not defined

536 views
Skip to first unread message

Iain Mars

unread,
Apr 17, 2018, 5:19:08 AM4/17/18
to Cookie Control Support
I installed the Pro version onto our website yesterday but I get the error Uncaught ReferenceError: CookieControl is not defined when I view the website. The site works as it should still but I can't see the Cookie Control module.

I sent a message to support yesterday but haven't heard back.

Thanks

iain

Afroditi

unread,
Apr 17, 2018, 5:21:07 AM4/17/18
to Cookie Control Support
Hello Iain,
could you provide the site url to have a look?
Best Regards
Afroditi

Iain Mars

unread,
Apr 17, 2018, 5:22:33 AM4/17/18
to Cookie Control Support
Hi Afroditi


Thanks

iain

Afroditi

unread,
Apr 17, 2018, 5:40:00 AM4/17/18
to Cookie Control Support
Hello Iain,
seems that the caching plugin used, has enabled the 'Defer parsing of javascript files' option (or a similar one). In that case the Cookie control configuration is loaded before the cookie control script, and that's why fails.
Please check your settings and exclude cookie control script (//cc.cdn.civiccomputing.com/8.0/cookieControl-8.0.min.js) from being deferred. 

Best Regards
Afroditi

Iain Mars

unread,
Apr 17, 2018, 5:50:39 AM4/17/18
to Cookie Control Support
Hi Afroditi

That's fix that!

Thanks very much

iain
Reply all
Reply to author
Forward
0 new messages