Plugin renames the wrong files
-
One of my writers uploaded 4 images
1.jpg 2.jpg 3.jpg and 4.jpg
I changed the titles on all 4 so they could be renamed by the plugin.
The database was changed and some files renamed, but there were other problems.image1.jpg was deleted
forex-02.jpg was deleted
lollapalooza3.jpg was deleted
I can’t work out what happened to #4I think they only way I can fix this is to delete all 7 or 8 and re-upload them with the right names.
This database has 27,500 posts, so I can’t afford to take any more chances with the plugin, Jordy.
I just found you have a logfile, so here is what happened – and it shows why I couldn’t find a file that ended in 4.jpg.
The reason is that it changed the “clothing-696×464.jpg” file, rather than 4.jpg
Then it switches to work on the correct set of files, but you see it fails completely, not changing the files at all.2018-09-02 08:14:55: ** Rename Media: clothing-696×464.jpg
2018-09-02 08:14:55: New file should be: bike-racks-outside-joyride-bikes.jpg
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/clothing-696×464.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/bike-racks-outside-joyride-bikes.jpg
2018-09-02 08:14:55: Updated thumbnail based on thumbnail, as they use the same file (probably same size).
2018-09-02 08:14:55: Updated td_100x70 based on thumbnail, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-100×70.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-100×70.jpg
2018-09-02 08:14:55: Updated medium based on medium, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-213×160.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-213×160.jpg
2018-09-02 08:14:55: Updated large based on large, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-700×525.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-700×525.jpg
2018-09-02 08:14:55: Updated td_80x60 based on td_80x60, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-80×60.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-80×60.jpg
2018-09-02 08:14:55: Updated thumbnail based on td_100x70, as they use the same file (probably same size).
2018-09-02 08:14:55: Updated td_100x70 based on td_100x70, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-100×70.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-100×70.jpg
2018-09-02 08:14:55: Updated td_100x70_retina based on td_100x70_retina, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-200×140.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-200×140.jpg
2018-09-02 08:14:55: Updated td_218x150 based on td_218x150, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-218×150.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-218×150.jpg
2018-09-02 08:14:55: Updated td_265x198 based on td_265x198, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-265×198.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-265×198.jpg
2018-09-02 08:14:55: Updated td_324x160 based on td_324x160, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-324×160.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-324×160.jpg
2018-09-02 08:14:55: Updated td_324x235 based on td_324x235, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-324×235.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-324×235.jpg
2018-09-02 08:14:55: Updated td_356x220 based on td_356x220, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-356×220.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-356×220.jpg
2018-09-02 08:14:55: Updated td_534x462 based on td_534x462, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-534×462.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-534×462.jpg
2018-09-02 08:14:55: Updated td_696x0 based on td_696x0, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-696×522.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-696×522.jpg
2018-09-02 08:14:55: Updated td_696x385 based on td_696x385, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-696×385.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-696×385.jpg
2018-09-02 08:14:55: Updated td_0x420 based on td_0x420, as they use the same file (probably same size).
2018-09-02 08:14:55: File /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-560×420.jpg -> /home/xxxxxxxx/public_html/wp-content/uploads/2018/08/4-560×420.jpg
2018-09-02 08:14:55: Slug 4-34 -> bike-racks-outside-joyride-bikes
2018-09-02 08:14:55: GUID https://xxxxxxxxe.com/wp-content/uploads/2018/08/4.jpg -> https://xxxxxxxx.com/wp-content/uploads/2018/08/bike-racks-outside-joyride-bikes.jpg.
- The topic ‘Plugin renames the wrong files’ is closed to new replies.