Scaning image folder results an error after 30sec

Bring Your Business to LifeSupportImage StoreScaning image folder results an error after 30sec

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #47012
    reneLE1
    Participant

    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é

    #47018
    Xpark Media
    Keymaster

    you 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.

    #47062
    reneLE1
    Participant

    Hello 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é

    #47065
    Xpark Media
    Keymaster

    the 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.