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
Phoca Gallery - prevent server timeout by clicking on "images"
- Stefanseiner
- Phoca Member
- Posts: 24
- Joined: 19 Aug 2008, 11:49
- Benno
- Phoca Hero
- Posts: 9440
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Gallery - prevent server timeout by clicking on "images"
Hi,
try to set: backend --> Components --> Phoca Gallery --> Control Panel --> Options --> Thumbnails --> Thumbnail Generation Settings --> Pagination Thumbnail Generation=Yes
Save & Close
Kind regards,
Benno
try to set: backend --> Components --> Phoca Gallery --> Control Panel --> Options --> Thumbnails --> Thumbnail Generation Settings --> Pagination Thumbnail Generation=Yes
Save & Close
Kind regards,
Benno
- Stefanseiner
- Phoca Member
- Posts: 24
- Joined: 19 Aug 2008, 11:49
Re: Phoca Gallery - prevent server timeout by clicking on "images"
Hello,
thanks for your reply. I know this option but this is not the best solution.
thanks for your reply. I know this option but this is not the best solution.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery - prevent server timeout by clicking on "images"
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)So is there an option to split the scanning process into several parts by taking a short break every 30 seconds or so?
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 (when not a pagination is used)
Jan
If you find Phoca extensions useful, please support the project
- Stefanseiner
- Phoca Member
- Posts: 24
- Joined: 19 Aug 2008, 11:49
Re: Phoca Gallery - prevent server timeout by clicking on "images"
OK thanks for your reply,
that's what I wanted to know
that's what I wanted to know
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery - prevent server timeout by clicking on "images"
Ok
If you find Phoca extensions useful, please support the project