Thread Starter
pako69
(@pako69)
Finaly I get a timeout:
—–
Request Timeout
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’.
—
Thread Starter
pako69
(@pako69)
My PHP max_execution_time is 120 but I can go up to 1440, should I try with that?
Thanks for your interest in MLA and the MLA Insert Fixit example plugin.
The example plugin and its tools were created to solve specific issues posted by MLA users in this forum. They work fine on most sites but are not always robust when used in larger sites like yours. That said, there are a few things you can try.
Of course, you can always increase the allowed execution time, but it’s hard to tell how high it would have to be to allow the work to finish. It also looks like it would impact site access for your users, so consider doing this work when the site is lightly visited. Here are two other suggestions:
First, you can try using the “Refresh Caches” tool at the bottom of the screen to separate the database query work from the text replacement work.
Second, you can split up the work by entering “First Post/Page ID” and “Last Post/Page ID” values, as you suggested. This has the best chance of succeeding because it divides both the database queries and the text processing work into two or more pieces.
You wrote “about 5,191 items“; is that posts/pages or Media Library items? If you know the total number of posts/pages, try processing 1/2 of them, then 1/4 if you must, and so forth.
I will leave this topic unresolved for now. Please post an update with your progress and any problems or further questions regarding the above suggestions. I hope thay help you complete your task without too much inconvenience.
Thread Starter
pako69
(@pako69)
hi @dglingren and thanks for your inputs I’ll try with “First Post/Page ID” and “Last Post/Page ID” values, as you suggested.
I have 5,191 images and 464 posts…
Thread Starter
pako69
(@pako69)
Hello @dglingren
It works.
I ran the process 4 times to make it works.
I had 464 items which I divided into 4 batches.
I know it’s just a fix tool but maybe it will be great to:
– Have an Ajax visual indication to show us what is running (a progress bar?)
– And below this progress bar, 3 buttons : STOP – PAUSE – CONTINUE
Thanks a lot!
Thanks for confirming that breaking up the processing was enough to reach your goal.
I agree that the AJAX approach would be an improvement. It’s on my list of improvements, but will take more time and effort than I can devote to it at this time.
I am marking this topic resolved, but please update it if you have any more problems or further questions regarding the ALT Text tools in the MLA Insert Fixit example plugin. Thanks for your interest in the MLA plugin.
David – you awesome! Just sayin’… Showing some love from New Orleans. Stay safe. Peeps need you.