Timeout in Backend

Phoca Gallery - image gallery extension
michael
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Mar 2008, 18:50

Hello,I

Post by michael »

Hello,

I have installed the current version 1.6.4. 90% of the time I get a timeout after 30 seconds when clicking Components->Phoca Gallery->Gallery in Backend. There are about 1700 images in 80 categories.

Best regards,
Michael
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi,you s

Post by Jan »

Hi,

you shouldn't get problems with 30 sec. because there are 30 sec. for only one image thumbnail creation ...

Enable the thumbnail pagination creation, see:
https://www.phoca.cz/phocagallery/user-m ... dex.php#a4
https://www.phoca.cz/phocagallery/user-m ... dex.php#a8

Jan
If you find Phoca extensions useful, please support the project
michael
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Mar 2008, 18:50

Thanks, that helps.

Post by michael »

Thanks, that helps.

But I already have thumbnails for all images. When I add 100 images for example, all thumbnails are created without problems. Could it be that it tries to find images without thumbnails and needs more than 30 sec. for that?

Michael
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Yes it can be...

Post by Jan »

Yes it can be...

You have 30 second for 1 image thumbnail creating but Phoca Gallery checks if the thumbnail is created or not and in this case you right, it takes time to check files on the server disc (manipulating with files is slower than manipulating with database)...

Without Thumbnail Pagination Creation it takes from database e.g. 1000 image filenames and checks them...
With Thumbnail Pagination Creation it takes from database only listed items, e.g. 50 and checks only 50 images...

Jan
If you find Phoca extensions useful, please support the project
Post Reply