WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. klihelp
    Member
    Plugin Author

    Posted 1 year 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.

    http://wordpress.org/extend/plugins/eazyest-gallery/

  2. doku
    Member
    Posted 1 year ago #

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

  3. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Plugin Author

    Posted 8 months 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

About this Topic