Support » Plugin: WordPress Media Library Folders » Folders that no longer exist don’t go away

  • Resolved LilGames

    (@lilgames)


    I had a tree of folders with sub-folders, had synced and generated thumbnails. Great.

    Then I had to restructure my folders and move some images. So I did so via CPanel’s File Manager and FTP. I resynced, and images are all fine, but now I am stuck with MLF displaying several subfolders that no longer actually exist.

    How do I get rid of non-existent subfolders? Or how do I get MLF to “restart from scratch” ?

    (YES, I cleared the cache)

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter LilGames

    (@lilgames)

    I followed your FAQ instructions to deactivate the plugin, activate the Reset PLugin, reset the databasse… etc… So now I am back with MLF reactivated and yet it’s still showing folders that no longer exist!!

    Thread Starter LilGames

    (@lilgames)

    … and then I try right-click and delete, but the page sits there with a rotating icon forever.

    Thread Starter LilGames

    (@lilgames)

    I went through the steps again and this time it worked.

    Plugin Author AlanP57

    (@alanp57)

    All right. Thank you.

    Well for me this is not resolved. I have the same problem as LilGames and really for days I try to get rid of old folders in the Library. I followed the instructions as I see above.

    First I deleted all folders I did not need anymore. That went slow but in the end I had them removed. Normaly they appear again in a few hours or next day. But now after deleting those folders, I deactived the plugin, went to the Resetplugin and reset the database. After that was done I activated the Media Library folder plugin again… and….. all folders were back again:/

    So please what is going wrong and how do I solve it?
    Thanks in advance for help and suggestions

    Marijke Pel

    Plugin Author AlanP57

    (@alanp57)

    Once you do a reset, the folders can not come back unless they actually exists on the server. The reset should remove all records from the posts table that are of post-type ‘mgmlp_media_folder’ and related records in the postmeta table and deletes the ‘mgmlp_folders’ table it added to the database.

    In the early days my site went through a lot of organic growth – partly because I was new to WordPress, partly because my site is a community news and information hub which my visitors can influence. This included trying out a lot of plug-ins that I ended up not keeping for one reason or another. Consequently, when I first installed Media Library Folders the media folders were very untidy. That, after all, is why I installed MLF.

    Ok – I know. Don’t test on a live system. I was changing from Microsoft to Linux on my development hardware so had a learning curve there too (switching from WAMP to a LAMP stack, re-learning UNIX/LINUX etc). It all takes time. Also, as it was new it wasn’t really a ‘live’ system before it was made public. It’s taken time to get it to the ‘this is too dangerous to dabble with’ stage.

    After I installed MLF I went through a gradual clean-up and re-ordering process. During this I found it well worth keeping a control panel window open so I could check that moves and all file/folder deletions were actually happening – and, if not find out why not. I tried to let MLF do all the work, only intervening if MLF didn’t do what I anticipated. Problems I gradually became aware of included files with names that had not been sanitised and stray thumbnails left over from pre-MLF days. It’s seriously irritating when MLF shows an empty folder, then gives you a couple of screenfulls of thumbnails when you do a final sync (to be sure) before deleting the folder!

    My general observation – not ‘scientific’ or forensic debugging by any means – leads me to believe that most of the occurrences I saw of MLF not doing what I anticipated was due to orphan thumbnails and the unsanitised filenames that had crept into my media folders before I installed MLF.

    I would anticipate that if you know WordPress you will probably install MLF or some other media manager plug-in before you start adding any media. You will start with clean media folders. If, like me, you’re at the start of the WordPress learning curve you’ll start with its core media management and, if you have a very graphic site, find that the core media management is not really very scalable. After some time the media folders will end up full of junk that isn’t easy to get rid of. You’ll then install MLF (or something similar) and hope that’ll fix it. In practice, though, it’ll take time and effort to make sense of that untidy uploads folder. For now, the free version of MLF works for me. It’s nice to know there is a way forward if/when I need more out of it.

    Don’t despair. Data cleansing may seem like a daunting task that you’ll never complete (like eating an elephant). You can do it in small chunks – one bite at a time. That’s how to eat an elephant.

    @alan thanks for replying. I have no idea why all my efforts did not work in the first place, but after your message I just tried to delete one folder and kept it that way. Next morning it was still gone, so I deleted the others now too. And up to now they stay away. So far so good:) So in fact up to now it is solved. For your information. This issue popped up after the last update of the plugin in which I got a message that the reset part of MLF could not update. I had that message with the last 2 or 3 updates. Now I deactivated and deleted the whole MLF and reinstalled it. Another issue I still have after the last updates is that the main folders close without any warning when I am busy in a subfolder. Also since last update. Anoying!!:)

    @dday Thanks for sharing your experiences with MLF:). In my case I cloned another website so I could use it as a template for a new website. So I did not have to redo all settings to have it as in the other website. I thought to delete all media I did not need in this new website. Which went very well with the content of the folders. And part of the empty folders I could delete too, but a big part not. But as you could read above. In the meantime all is resolved:) and the MLF ghost is disappeared:). Keep my fingers crossed

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Folders that no longer exist don’t go away’ is closed to new replies.