Eazyest Gallery
Zomby attachments left behind if you delete folders on ftp (in admin) (5 posts)

  1. klihelp
    Plugin Author

    Posted 3 years ago #

    (This issue got it's own thread.)

    The plugin will trash the folder post if the folder not exists anymore on the ftp
    But deleting these trashed folders posts leaves their attachments in the database.

    - This results to zomby attachments in the Media Library, where theres attachments shows as Un-Attached and their images url is broken.

    Maybe the plugin checks if the image exists before deleting the attachment post, because it works fine if you trash folders in the admin. Works fine if you don't delete folders, but delete only the images.

    Is there any special meta data in the db for Eazyest Gallery attachments? At least this could help us to write a script to delete these zomby attachments.


  2. doku
    Posted 3 years ago #

    I also want to delete the attachments from my database. Is it possible via phpmyadmin? Would be fine.

  3. Marcel Brinkkemper
    Plugin Author

    Posted 3 years ago #

    If you open Eazyest Gallery admin, the script that discovers new images should also remove attachments if you have deleted them by ftp.

  4. klihelp
    Plugin Author

    Posted 3 years ago #

    Yes, this works well if you delete images from an existing directory. Doesn't remove the attachments if the directory is deleted.

  5. klihelp
    Plugin Author

    Posted 2 years ago #

    There is a related ticket for WP 3.8
    > Deleting files from Media Library when MySQL database locked:
    > http://core.trac.wordpress.org/ticket/25107

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Eazyest Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic