End of Support for Joomla 3 - Forum closed

Content Security Policy problem with inline script

Content Security Policy problem with inline script was created by raziel1973

Posted 4 years 1 month ago #27808
Hello, and thank you for your help.
I have BIZ version 1.0.001 template and Warp framework 7.3.37

I tried to test my web site on google rich results here: search.google.com/test/rich-results
And I get a strange messages:
Code:
Refused to load the script 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXX' because it violates the following Content Security Policy directive: "default-src 'self' 'unsafe-inline'". Note that 'script-src-elem' was not explicitly set, so 'default-src' is used as a fallback.

I saw on the web that means tha I useing CSP system and inline script.
Any suggest to resolve the problem?
Thank you
Tony

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Content Security Policy problem with inline script

Posted 4 years 1 month ago #27809
Sorry, but our theme have no script inside.
Maybe check your code you have insert some google tag manager or something else.

Please Log in or Create an account to join the conversation.

Replied by raziel1973 on topic Content Security Policy problem with inline script

Posted 4 years 1 month ago #27815
Ok thank you for confirm me that.
About Google tag manager I have just google analytics.
So I think the problem came from some extension that I installed...
Thank you so much for the help.

Have a great day
Tony

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License