• Resolved philipt18

    (@philipt18)


    I’m trying to rename 5904 images on my site, and I’m running into some issues.

    First, I tried the Rename 1 by 1 feature as a way to preview the name changes, and it just gave me a blank white screen.

    Then I tried to do the Rename in Bulk and left it running overnight, and when I checked in the morning it had stopped at around 750 images.

    When I clicked on Display Filenames and then Export as CSV, the resulting list of file names was only 265 rows (why not the 750 or so that it said were renamed?).

    Looking at the 265 that were there, one popped out at me as odd, which was a gif file that had its extension duplicated (the filename went from k5998.gif to k5998.gif.gif). Not sure what happened there.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter philipt18

    (@philipt18)

    It stopped around 1051 files in my latest attempt, but now I see dozens of jpeg files with duplicate extensions.

    Thread Starter philipt18

    (@philipt18)

    Besides figuring out a way to get this working properly, it would also be nice to have a button that would fix these duplicate extensions.

    Thread Starter philipt18

    (@philipt18)

    One of the biggest problems I can’t figure out is why everything is so slow. Does it takes hours to get through hundreds of files for everyone, or is there something wrong?

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    If you have many issues, it would be better to talk about them one by one and isolate each issue by doing a different test (for example, if there is an issue with the renaming itself, just rename one file and try to find a way to replicate the issue easily). Currently, the plugin is extremely stable and I haven’t any bug reports, but of course, WordPress is a very open system, installs are all different and therefore, anything can happen.

    Have a look at this, especially the last part: https://meowapps.com/how-to-debug-wordpress/: “The Infamous Request Timeout”. That might explains a lot 🙂 The plugin, by itself, is not slow, but everything around it can be, and the request as well (if you don’t need side updates, disable them).

    Thread Starter philipt18

    (@philipt18)

    I’m trying to figure out what’s going on in the debugger. Right now I’m trying the undo feature to see if it can undo what was done, but it’s also stopping in the middle. In the debugger I can see that some items take a few hundred ms, and some over 15s. Looking at the last few admin-ajax.php entries, I see: “nonces_expired”: true.

    Earlier when the entries were still showing filenames I’m seeing some odd things like filenames that end in .html.jpeg.

    Thread Starter philipt18

    (@philipt18)

    And oddly the Rename All Button now has about 400 and change less than the rest of the buttons.

    Plugin Author Jordy Meow

    (@tigroumeow)

    The process will be stopped by the http server or PHP if it takes too long; nothing we can do about it, the process is more or less heavy depending on your install, number of plugins, database size, etc. You could try to disable things, have a lighter install for this operation. Many things can be done but you should give that task to a technical person as it might not be easy and require a lot of technical insights. The plugin alone can’t fix/optimize your install as a whole, even though I wish that would be possible.

    For your issues such as the “.html.jpeg.” one, please find exactly the Media entry related to this, the title you are using, the renaming method. Issues don’t happen randomly, they would also happen if you click on Rename one by one. You need to tell me exactly with what kind of title it happens. I doubt it is a bug of the plugin, but everything is possible.

    “Rename All” renames all, but doesn’t unlock the renaming status of your files. Please have a thorough look at the tutorial to know the what and why about the “locking” system.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Some issues trying to rename files’ is closed to new replies.