warning-cacsp-img
-
Hi,
I am using the plugin Cookies and Content Security Policy a long time now with good results.
After updating to version 1.91 I’ve got the following new error:What could be the reason for this error?
Thank you for your very appreciated feedback.
Best regards,
StafThe page I need help with: [log in to see the link]
-
I can’t see an error message. Please explain the error.
Hi Johan,
The error warning-cacsp-img is still not showing up.
Instead, the following error is showing up.
Failed to load resource: the server responded with a status of 403 (Forbidden) https://anitafleerackers.be/wp-content/plugins/cookies-and-content-security-policy/js/cookies-and-content-security-policy-error-message.php?ver=1.91&rnd=f450ad8365e2ced2455eead9308407d5
The following files are loading correctly
Thank you for your feedback.
Best regards,
StafTry asking your hosting provider. This is not an error with the plugin. Probably some server settings that are wrong.
It seems like the server gives the forbidden error if the file is missing. Try checking if the file is on the server.
Hi Johan,
Thank you for your very appreciated support.
The error is fixed. I made the file reachable.The issue is resolved.
Hi Johan,
Again I have issues with the following:
<script type=”text/javascript” src=”https://anitafleerackers.be/wp-content/plugins/cookies-and-content-security-policy/js/cookies-and-content-security-policy-error-message.php?ver=1.93&rnd=xxxxxxxxxxx” id=”cookies-and-content-security-policy-error-message-js”></script>
The php file isn’t loading. The html error message is 404.
In the .htaccess the https://anitafleerackers.be/wp-content/plugins/cookies-and-content-security-policy/js/cookies-and-content-security-policy-error-message.php file isn’t blocked.
One point I don’t understand, i.e. the script type=”text/javascript” but there is an php file in the src= description.
It looks like the file isn’t there. Go to the folder /wp-content/plugins/cookies-and-content-security-policy/js/ and see if it’s there.
Yes, it is a php file, but it outputs javascript. So that is all correct.
Hi Johan,
Thanks for your reply.
Strange, the following file is there /wp-content/plugins/cookies-and-content-security-policy/js/cookies-and-content-security-policy-error-message.php
I have the following message in the Firefox Developer edition browser inspector:
Loading for the <script> with source ‘https://anitafleerackers.be/wp-content/plugins/cookies-and-content-security-policy/js/cookies-and-content-security-policy-error-message.php?ver=1.93&rnd=xxxxxxxxxxxxxx’ failed.
-
This reply was modified 4 years, 8 months ago by
stafca.
Strange indeed, you can’t browse to it either, says 404, indicating it’s not there: https://anitafleerackers.be/wp-content/plugins/cookies-and-content-security-policy/js/cookies-and-content-security-policy-error-message.php
Browsing to a js-file in the same directory works fine: https://anitafleerackers.be/wp-content/plugins/cookies-and-content-security-policy/js/cookies-and-content-security-policy.min.js
Hi Johan,
Thank you for your patience and support.
The error is fixed now.Best regards,
Staf -
This reply was modified 4 years, 8 months ago by
The topic ‘warning-cacsp-img’ is closed to new replies.