![]() |
|
Content Security Policy Issue - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Content Security Policy Issue (/thread-13831.html) |
Content Security Policy Issue - upi - 27-03-2023 Can you help me with this issue, i don't know to fixing that. When traced, an error appears like this: Content Security Policy: The page’s settings blocked the loading of a resource at data:image/png;base64,iVBORw0KGgoAAAANSU… (“img-src”). , it makes some icons not appear like the picture I attached. https://drive.google.com/file/d/1kHYy0dfBqnRd_LO2fDpgr5unCjboGBWb/view?usp=sharing And there is another error for move, copy or rename operation feature as following image https://drive.google.com/file/d/182_SZDpnWzbzSfaGpFUIYd1n8GyVdTJM/view?usp=sharing Content Security Policy Issue - acrylian - 27-03-2023 I don't see a Content Security Policy error in those screenshots. Sadly I cannot tell exactly what might cause it. From the errors it seems that one album is not correctly setup. There might be numerous reasons. It might be because of album names containing spaces. We recommend to use underscores or dashes instead. Try running the seo-cleanup plugin utlitiy to align the album folder names. Additonally the image filename may be a problem. Or it may just be wrong file/folder permissions. See the user guide entry on that. There is another issue about setup complaining about a wrong version number. What PHP and Zenphoto version is this? Since the ZP version is also noted within a file it may also come down to file/folder permission issues. Is this a new install? Content Security Policy Issue - upi - 28-03-2023 yes, this is the latest version Installation information : Zenphoto version 1.6 (Official build) Content Security Policy Issue - acrylian - 28-03-2023 Okay, still have to suggest to try what I mentioned above. According to the log entries it should not be PHP 7.3. But perhaps try 7.4 or 8 if you can just in case something slipped through as we primarily focus on 8.1+ by now. |