ZenphotoCMS Forum
Can't reach site and slow site - 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: Can't reach site and slow site (/thread-13783.html)



Can't reach site and slow site - upi - 20-12-2022

Hi,

I'm a new zenphoto user. Recently used zenphoto to save some photos, the number of photos is about 47,400. I need help because i cant go deeper than login view or start page and the album/images don't want appear

Tech Details

Zenphoto Version : 1.5.9 (Official build)

Server software: Apache/2.4.29 (Ubuntu)
MySQLi version: 5.7.40
PHP version: 7.3.33

Server version: 5.7.26-29-log - Source distribution

PHP memory limit: 128M

Graphics support: PHP Imagick library 3.4.4
ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org

supporting: bmp, bmp2, bmp3, gif, gif87, jpeg, jpg, png, png24, png32, png8, tiff, tiff64




Can't reach site and slow site - acrylian - 20-12-2022

Please consider to upgrade to 1.6 as 1.5.9 is not the latest version.

47,400 is an awful lot images. If you uploaded them all at once it is no wonder that your site is slow. You are basically overloading your server as Zenphoto has to process resized version for them (both backend and front end).

Zenphoto can only do that taks as fast as your server allows. Please read here about how image caching works: https://www.zenphoto.org/news/caching/

Additionally recommended read:
https://www.zenphoto.org/news/problems-with-albums-and-images/




Can't reach site and slow site - upi - 22-12-2022

Thank you for your help. I have solved the problem, it turns out that the cause is in one of the stored data. But now another problem appears, namely the display of the upload menu, album and some icons don't want to appear, like the following image link:

https://drive.google.com/file/d/1d6anBRxmSJDzc5NL5xp0X3yoTM-z6kVW/view?usp=sharing
https://drive.google.com/file/d/1Wy85M_DWPz0_-hX4sx4dwzgVQ0GjcPjH/view?usp=sharing
https://drive.google.com/file/d/1exxr9jqBUS0ciJl-p1bKcwIyY8R_8hly/view?usp=sharing

how to fix that? i can't upload and setting image or album




Can't reach site and slow site - ctdlg - 22-12-2022

Hello,
When I get this problem, I clean the database (button "Actualiser la base de données" in french... main admin page)




Can't reach site and slow site - acrylian - 22-12-2022

It could be file/Folder permissions especially for the icons.

On the rather empty pages you need to review your debug log. But it is surely still related on the huge number of images you uploaded. For the upload a list of the albums has to be generated for example. Same for the album tab. See the tips on the article I posted above.




Can't reach site and slow site - upi - 26-12-2022

Thanks for the help, problem solved