• Resolved sublimese

    (@sublimese)


    I am setting up a variety of galleries and for the most part am using default settings.

    After creating the gallery, I use FTP to add the images into the created folder. I then use the “Scan folder for new images” button to have it scrape the folder to populate the gallery.

    If I put several hundred images into the folder, I get the error message:

    Fatal error: Maximum execution time of 30 seconds exceeded in?/srv/www/wordpress/wp-content/plugins/nextgen-gallery/src/DataTypes/LegacyThumbnail.php?on line?1240

    If I go back to the gallery and rescan, it will work for another 30 seconds, giving that error. I can get through all the images by rescanning over and over until it has found all the images. Doing this does not generate thumbnails. I then have to go through and bulk generate thumbnails.

    How can I increase the timeout so the gallery can properly populate itself without me having to do it piecemeal? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jaime Segura

    (@jaimeimagely)

    Hi @sublimese

    I am glad to help.

    That is your server execution time limit. You need to ask your hosting company to increase it, we normally recommend to set it to at least 300. The error points to the function that exhausted the time limit, but it is not the one that sets it.

    You can see your time limits, filesize limits, post limits, etc from your site health section. Go to Tools > Site Health > Info Tab (at the top), then click Copy Site Info to Clipboard. Paste the info in a notepad (CTRL+V or CMD +V) See here

    You can look in the wp-server section for the following:

    time_limit: (at least 300)
    memory_limit: (at least 300)
    max_input_time: (at least 300)
    upload_max_filesize: (biggest singe file you will upload)
    php_post_max_size: (biggest total payload to process)

    I hope this helps. Let me know how it went.

    Thanks

    Thread Starter sublimese

    (@sublimese)

    Thanks. I made those changes. Will upload a big bunch of pics in a month or so to test it out.

    Plugin Support Jaime Segura

    (@jaimeimagely)

    Hi @sublimese ,

    I’m going to go ahead and close this thread for now. But if you’d like us to assist further after your tests, please feel welcome to continue the conversation.

    Thanks!

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