coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: bronchandes on March 10, 2006, 09:33:44 PM

Title: upload timeout?
Post by: bronchandes on March 10, 2006, 09:33:44 PM
hey everyone.

i got a small upload problem. still im not sure what it is exactley but i got an idea. if i try to upload a large number (>20) of pictures with the batch/add files mode, i get "red cross" (cant load) images. but some "ok" as well.
so i made some changes in the php.ini (max_execution_time = 90; max_input_time = 120; memory_limit = 30M). these new settings turned out to have a positive effect on my problem. but still. a large number of pics "crashes" the batch/add files process.
it seems to me (also found something in the documentation) that multiple files are handled (rezised, thumb creation) at a time. if there are too many files, the script timeouts...?

i would love to hear your opinion about this issue.


greetings. bronch
Title: Re: upload timeout?
Post by: Joachim Müller on March 11, 2006, 09:20:18 AM
sure, it may time-out depending on the number and size of pics and your server setup. That's why there is a note at the bottom of the screen to reload the page (by pressing [F5]) to continue where the script has timed out.
Title: Re: upload timeout?
Post by: bronchandes on March 11, 2006, 07:53:59 PM
i did see that comment. but still. when adding a lot of pictures this gets very annoying. would it be possible to put an option in the config which makes the script to process one image at a time? i guess this would solve the timeout problem....
Title: Re: upload timeout?
Post by: Joachim Müller on March 12, 2006, 10:35:17 AM
if there was such a simple solution, then we would have made it default behaviour, don't you agree?