• Resolved edkelley

    (@edkelley)


    Hi!

    I installed Insert Fixit Tools a few days ago and I’m really impressed by what it can do, especially that I tried many before. I have ML of 90k images and unfortunately thousands and thousands of them are unattached to parent posts and Insert Fixit is a huge help in getting it done. The problem I have is that I can serve between 10 and 20 posts (usually up to 100 images) in one go before my hosting server times out. And I have more than 20k posts so you cane imagine the work involved 🙂 Is there any way to schedule the attaching procedure in order to automate the whole process without the need to restart it every 15 or so posts? Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for the positive MLA feedback and for your question. I regret that the current MLA and example plugin versions do not have any features for automating the operation of the Insert Fixit tools.

    Script execution time limits are usually set in the PHP.INI file, and this file may not be available for you to modify. However, if you have access to the WordPress wp-config.php file you can add a statement there to extend the PHP time limit. For example, you can set a 300-second (five-minute) limit by adding this to your wp-config.php file:

    @ini_set('max_execution_time','300');

    You can view the time limit value in the “Server” section of the Site Health “Info” tab, where it is labeled “PHP time limit”.

    You can also try the “Refresh Caches” tool at the bottom of the Insert Fixit page, where it says:

    If you have a large number of posts/pages and/or Media Library items you can use the cache refresh operation to break up processing into smaller steps. Try clicking the “Refresh Caches” button to build these intermediate data structures and save them in the WordPress cache for fifteen minutes. That will make the “Copy”, “Modification” and “Attach” operations above go quicker.

    I hope the above suggestions are helpful. I am marking this topic resolved because I’ve given you what help I can. Thanks for your understanding and for your interest in the plugin.

    Thread Starter edkelley

    (@edkelley)

    Thanks a lot, David, I’ll try to increase max execution time.

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