Content Security Policy Issue

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

Comments

  • acrylian Administrator, Developer

    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?

  • upi Member

    yes, this is the latest version

    Installation information :

    Zenphoto version 1.6 (Official build)
    Server software: Apache/2.4.29 (Ubuntu)
    PHP version: 7.3.33-9+ubuntu18.04.1+deb.sury.org+1
    Graphics support: PHP GD library 2.3.3
    supporting: gif, jpg, jpeg, png, wbmp, webp
    PHP memory limit: 2048M

  • acrylian Administrator, Developer

    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.

Sign In or Register to comment.