Recently installed ZP and all was working fine. Have been configuring admin and checking front-end results diligently. Suddenly I get this on the index page:
[Fatal error: Maximum execution time of 30 seconds exceeded in /zp-core/functions-db-MySQL.php]
and page will not complete loading.
My forum search shows various fatal errors but did not see any specific to this file. Any ideas?
My Install Specs -----------------------------
Zenphoto version 1.4.1.6 [8326] (Official Build)
Current locale setting: en_US.UTF8
Current gallery theme: zpmasonry_v1.4.1
PHP version: 5.3.8
Graphics support: PHP GD library bundled (2.0.34 compatible)
PHP memory limit: 96M (Note: Your server might allocate less!)
MySQL version: 5.0.92
Comments
Do you upload very large images? If so, the image generation of the slideshow on the frontpage may be to much for the server on initial image discovery since it is trying to resize many large images at once. Try reducing the number of images displayed in the slideshow via theme options, upload smaller image sizes, or increase your PHP script execution limit.
gjr - Most images are less than 500KB. As I'm still in setup stage, there are only 19 images totaling less than 4MB. The random images on the home page only uses 8 images.
The only thing I didn't understand was you comment about script execution limit. Is that an option in ZP?
So I tried 6 and it loaded. Tried 7 and it took just a moment longer. Set it back to 8 and the problem returns.
These are not large file sizes, so what could cause this? I'd really like the option of adding a higher count.
I'm using a mix of dummy/filler images in GIF and JPG format.
As a basis for comparison, what pixel size do people commonly use in ZP?
For me, however, there is absolutely no reason to upload an image larger than about 800x600. Few people have monitors large enough to display an image and associated other page stuff much larger than this.
Eg. The album only had two images but the frontpage slideshow was set to 5