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

User avatar
Stefanseiner
Phoca Member
Phoca Member
Posts: 24
Joined: 19 Aug 2008, 11:49

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

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post 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
User avatar
Stefanseiner
Phoca Member
Phoca Member
Posts: 24
Joined: 19 Aug 2008, 11:49

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

Post by Stefanseiner »

Hello,
thanks for your reply. I know this option but this is not the best solution.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Stefanseiner
Phoca Member
Phoca Member
Posts: 24
Joined: 19 Aug 2008, 11:49

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

Post by Stefanseiner »

OK thanks for your reply,
that's what I wanted to know
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

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