Pages (2): 1 2   
Member
Member
Billy   24-10-2019, 16:46
#1

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!

Administrator
Administrator
acrylian   24-10-2019, 16:49
#2

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.

Administrator
Administrator
acrylian   24-10-2019, 16:51
#3

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/

Member
Member
Billy   24-10-2019, 16:56
#4

The images are indeed large but not heavy as they are compressed images that weigh less than 2Mo. Could it be the cause ?

Administrator
Administrator
acrylian   24-10-2019, 17:25
#5

As the article linked above mentions it is not the file size that matters but the dimensions. But anyway, I think the issue is related to permissions as noted.

Member
Member
Billy   24-10-2019, 17:34
#6

Thanks for your answers.

I edited the permissions since my FTP but it's doesn't work :-(

Administrator
Administrator
acrylian   24-10-2019, 17:49
#7

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.

Member
Member
Billy   24-10-2019, 17:57
#8

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

Administrator
Administrator
acrylian   24-10-2019, 18:02
#9

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.

Member
Member
Billy   24-10-2019, 18:07
#10

Ok thanks for your help. I will keep you informed

Member
Member
Ganesh   28-10-2019, 17:43
#11

I have the same problem since the upgrade.

Administrator
Administrator
acrylian   28-10-2019, 17:45
#12

This is most certainly not related to the update if you get the same error as above.

Member
Member
Ganesh   28-10-2019, 18:50
#13

No, nothing happens when i wants to load a picture.
Where can i see an error ?

Administrator
Administrator
acrylian   28-10-2019, 19:06
#14

Zenphoto's debug log, your server's php error log and your browser console log (name varies per browser) for all client related ones.

Member
Member
MarkRH   28-10-2019, 22:47
#15

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.

Member
Member
Ganesh   29-10-2019, 08:59
#16

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...

Administrator
Administrator
acrylian   29-10-2019, 09:37
#17

@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.

Member
Member
Ganesh   29-10-2019, 16:28
#18

OK, thanks acrylian.

Member
Member
Billy   29-10-2019, 20:45
#19

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 !

Member
Member
sbillard   29-10-2019, 21:24
#20

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.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.