View Full Version : Rethumbnail of >1 Image Fails?
segal3
6th of April 2006 (Thu), 21:15
I recently re-uploaded some photos (over the old versions, same filenames) that I updated the copyright on, and went to rethumbnail a number of them (about 10), both thumbs and microthumbs. The page seemed to be 'processing' for a little bit, then went to a page with this error:
"Fatal error: Maximum execution time of 30 seconds exceeded in /home/carbonos/public_html/gallery/FTP_functions.php on line 155"
If I select only one image to rethumbnail, it seems to work, but more than that gives the error. What will fix this?
~Matt Segal
lost
7th of April 2006 (Fri), 00:47
There have been several threads about this. Have you tried to search "rethumbnail"? The solution may have been posted already.
Good Luck.
segal3
7th of April 2006 (Fri), 00:50
Yes, I did search before posting, and none of the problems/solutions pertain to my problem.
jeronimo
8th of April 2006 (Sat), 09:56
there is someting written about foto uploading and the same timeout.
If I remind well it has someting to do with a time out setting in the php installed on the server.
EE2 will do things 1 by 1 (even if You select all the foto's) if I am well informed ;)
Pekka
8th of April 2006 (Sat), 17:20
there is someting written about foto uploading and the same timeout.
If I remind well it has someting to do with a time out setting in the php installed on the server.
EE2 will do things 1 by 1 (even if You select all the foto's) if I am well informed ;)
Batch processing will work in upload and in couple of other tools in 2.0. Not in rethumbnailer in first 2.0 version (easy to add but other things first).
Rethumbnailer should work VERY fast unless you have very large sizes to work with and you have a slow server. Choose "from smallest size found" and do one thumb type at a time.
segal3
9th of April 2006 (Sun), 15:26
Is there anything that can be adjusted now to get this to work, as compared to having to wait for EE2?
Each of my images has only one size, and even if I select, for example, to only rethumbnail the microthumbs, and select more than one image to do at a time, it times out.
Is there no solution? At this point, it's near impossible to update the gallery...
Pekka
9th of April 2006 (Sun), 16:09
Bigger php timeout value. Looks like on your server (safe mode on?) it must be set in php.ini by server admin.
max_execution_time integer
On some servers this can be changed per virtual server or folder.
30 second php timeout means that anything that is going on in php will be just stopped abrubtly after 30 seconds - no error messages are given. If you put something like 1200 seconds it means thumbnailer can run 20 minutes.
Making the timeout value insanely large is not wise in case some script goes crazy and eats all resources. If in such case timeout were 200 hours then your only option to cut it would be to restart http server.
jeronimo
9th of April 2006 (Sun), 18:07
Bigger php timeout value. Looks like on your server (safe mode on?) it must be set in php.ini by server admin.
max_execution_time integer
That whas what I ment :) Thanks Pekka :)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.