Bring Your Business to Life › Support › Image Store › Scaning image folder results an error after 30sec
- AuthorPosts
- May 10, 2012 at 11:18 pm #47012reneLE1Participant
Hello Hax,
I’ve uploaded ~200MB (~50 files, 4MB each file) to the image folder and tried to scan the folder from the wordpress backend. After 30sec the server response an error:
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/web582/html/wp-includes/media.php on line 258
–> in total only ~25 files scanned and available… not the 50 files: Changing the max_execution_time from 30 to 60 (seconds) results a bit different error but 40 files are available now. For me it looks like something with the duration of the scanning procedure and the communication on the server.
Any idea to fix this or having a workaround? Thanks a lot
Sincerely
RenéMay 11, 2012 at 10:14 am #47018Xpark MediaKeymasteryou need to increase your memory and execution time, just change the values.
ini_set( 'memory_limit', '256M' ); ini_set( 'set_time_limit', '1300' );
The above values are the ones set by the plugin. I will be adding a setting so you can modify this using the admin area.
May 13, 2012 at 11:58 pm #47062reneLE1ParticipantHello Hax,
due to server limitations (alfahosting) there is no chance to change the settings respectively the server is overwriting the settings. Do you know an alternative way (maybe manual or client driven)
Thanks a lot
RenéMay 14, 2012 at 12:08 am #47065Xpark MediaKeymasterthe only way you can upload your images is one by and make sure that the file are not to big or use the zip file option.
- AuthorPosts
- You must be logged in to reply to this topic.