DirkPersky / typo3-dp_cookieconsent

TYPO3 Extension: Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)
GNU Affero General Public License v3.0
32 stars 27 forks source link

cookie.min.js causes error? #25

Closed djrocher closed 5 years ago

djrocher commented 5 years ago

I don't get your extension running in TYPO3 8.7.x. Chrome's console show this error:

Refused to apply style from 'https://www.domain.tld/undefined/' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

The error appears when cookie.min.js is loaded. If I rename the file (not to load it), the error disappears. I also compared the source the extension generates with your website (https://dp-dvelop.de/), it's all fine with it, however nothing of the extension shows up in the frontend and the CSS files aren't loaded (cookieconsent.min.css and cookie.min.css). Do you have any idea what the reason could be?

Kind regards :-)

=>It's fine now! I hadn't properly removed the scripts of another cookie consent extension before. That had caused the conflict...