Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AlanP57

    (@alanp57)

    I have seen this before when a site has been moved and there are still some old URLs left in the database that are not correct. Some of those folders may not exist on the server.

    Before making any changes make a backup copy of your database. Then check to see which folder actually has files in it. If there are files in each, try to move images in the duplicate folder to the correct folder and try to delete the duplicate.

    If a duplicate folder is empty but you cannot delete it in MLP then you can try to remove its record in the database using phpMyAdmin. When viewing MLP you can find a folder’s ID if you use the browser’s web inspector and view the code for the folder image or the folder checkbox. You see an < a > tag with folder=”228″ where 288 is the ID number of the folder. Then you can delete the post with that ID in the posts table and the folder record in the mgmlp_folders. That is delete the record in the mgmlp_folders table that has that ID number in post_id field.

    I’m still new to WP and not sure what you’re asking me to look for. However, I have solved it!!

    Since my last post I have tried a few things and noted that the thumbnail (or medium image) was correctly shown if the product was uploaded by spreadsheet and the images were in the month/year folder, but the thumbnail was not used if the same product is uploaded by spreadsheet and the images were in another folder (images having been previously moved with ‘Media File Manager’ plugin). I checked on my server and the same set of images were in the product folder as were previously in the month/year folder.

    I then deactivated ‘Media File Manager’ and used another plugin, ‘Media Library Plus’, to upload the files directly to the product folder. UPC then correctly picks the medium sized image for the main catalogue.

    Problem was obviously something within the ‘Media File Manager’ plugin that was not correctly updating the database. I now just have to upload all the files again with the new plugin, but at least UPC is now doing what it is supposed to.

    Thank you for your help.

    Plugin Author maxfoundry

    (@maxfoundry)

    Thanks, Richard,

    Glad MLP is working well for you.

    What is UPC?

    Bob

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Duplicate Folders’ is closed to new replies.