Hello,
I installed ZenPhoto with the basic theme, light version, i uploaded several images into several albums but they don't appear, the thumbnails either and the cache doesn't work. Could you please help resolve this issue ?
My website is: https://www.lechatabois.fr/produits/
Thank you in advance for your help!
Most likely your images are too large for your server to process: https://www.zenphoto.org/news/problems-with-albums-and-images/
The debug log or php error log should have entries about that.
Most likely your images are too large for your server to process: https://www.zenphoto.org/news/problems-with-albums-and-images/
The debug log or php error log should have entries about that.
Edit: Just looked at the browser log and it says 403 on your site. Which would mean the file/folder permissions on your site are not correct or not correct for your server. https://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders/
What do the logs say? Also our recommendations do not work on all servers.
Is this a fresh install? How did you install?
Looking at your site it seems the page does not even load completely. There must be an PHP fatal error in the log. This might or might not be related to the image issue.
I have multiple errors such as this one:
[Thu Oct 24 19:49:45.548932 2019] [proxy_fcgi:error] [pid 25982:tid 140061943371520] [client 90.22.192.227:49284] AH01071: Got error 'PHP message: PHP Warning: fopen(//var/www/lechatabois.fr/htdocs/produits/zp-data/debug.log): failed to open stream: Permission denied in /htdocs/produits/zp-core/functions-basic.php on line 1332\nPHP message: PHP Warning: fopen(//var/www/lechatabois.fr/htdocs/produits/zp-data/debug.log): failed to open stream: Permission denied in /htdocs/produits/zp-core/functions-basic.php on line 1332\n', referer: https://www.lechatabois.fr/produits/
I installed it 4 days ago by uploading it with FTP
Permission denied
As I suspected, something is not set right either the permissions don't match or the user is not the right one. The users that runs scripts on the server might not be the one you use for FTP (not related to users in Zenphoto itself). Can't help with that from here, best contact your host about this.
If I go to the OP's site (Billy), I get 403 Forbidden errors with every image. I don't know if some setting in Zenphoto is causing it or some .htaccess rule is causing the forbidden responses.
If Hotlink protection is enable in the webhost's cPanel or something might try turning that off to see what happens.
It is not the Billy problem.
I use zenphoto since many years and after a new installation on a new environment, i was not able to load images.
After investigations (nothing appears in the logs), i saw that Jquery does not work, something must miss and after selecting [u]uploader_http[/u] i can load images...
@Ganesh: So you were talking about "uploading" and not "loading"? This is a completely different topic then…
The jquery uploader has indeed a conflict with some stricter https heades that are now set in 1.5.5 that we somehow missed. The support build has the fix already and soon will become 1.5.6 therefore.
Hello,
To solve the problem, I tried installing my gallery on my ftp and connect the database on the VPS server of a friend.
I input all the right information for the user, password and host but it doesn't work.
I have the "Connection refused" error in MySQLi and "SQLSTATE[HY000] [2002] Connection refused" in PDO_MySQL.
Is there a security setting to disable on ZenPhoto that will allow to connect my gallery to an external database ?
Thank you in advance !
Database connection refused is a server defined security. All zenphoto does is try to connect to the database providing the credentials you gave it. So perhaps the credentials are not really correct or perhaps the server does not allow remote connections. Anyway this is something you will have to resolve with the server.