Page 1 of 1

Phoca Gallery - prevent server timeout by clicking on "images"

Posted: 24 Mar 2019, 10:28
by Stefanseiner
Hello,
I'm using Phoca Gallery for my private website, a photo blog with now something about 17.000 images in 450 categories, and there is one new category / ~25 images every day.
So in Joomla backend when clicking "components - phoca gallery - images" Phoca Gallery scans automatically all pictures for thumbs to generate, and sometimes this causes server timeout errors (depending on how much traffic is at the shared webserver and how fast it works).

So is there an option to split the scanning process into several parts by taking a short break every 30 seconds or so?

regards

Stefan

Re: Phoca Gallery - prevent server timeout by clicking on "images"

Posted: 24 Mar 2019, 13:10
by Benno
Hi,
try to set: backend --> Components --> Phoca Gallery --> Control Panel --> Options --> Thumbnails --> Thumbnail Generation Settings --> Pagination Thumbnail Generation=Yes
Save & Close

Kind regards,
Benno

Re: Phoca Gallery - prevent server timeout by clicking on "images"

Posted: 24 Mar 2019, 16:20
by Stefanseiner
Hello,
thanks for your reply. I know this option but this is not the best solution.

Re: Phoca Gallery - prevent server timeout by clicking on "images"

Posted: 31 Mar 2019, 22:14
by Jan
So is there an option to split the scanning process into several parts by taking a short break every 30 seconds or so?
Hi, the time is not a problem, each image is transformed in one script period, when done, the page is redirected to new one (so the script begins from start)

The problem is the amount of items which must be checked and the way to prevent from problems is, just split the checking of images to groups - and this can be done in pagination - so e.g. you split the checking to groups of 100 images. So yes, it takes some time for human action but there is no other way except you will set memory limits, etc. on your server to some very high value :idea: (when not a pagination is used)

Jan

Re: Phoca Gallery - prevent server timeout by clicking on "images"

Posted: 01 Apr 2019, 08:01
by Stefanseiner
OK thanks for your reply,
that's what I wanted to know

Re: Phoca Gallery - prevent server timeout by clicking on "images"

Posted: 01 Apr 2019, 17:00
by Jan
Ok