forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: xbit on April 28, 2006, 01:20:33 am

Title: Deleting entries without corresponding file
Post by: xbit on April 28, 2006, 01:20:33 am
Hi, my site was probably affected by the bug in 1.4.3, anyways, all my pictures were wiped out. Luckily I had a backup, but not up-to-date. So know I've upgraded to 1.4.5, and restored my old album/ backup and are left with a lot of entries without corresponding files. When I try to delete these files I get an error message about not being able to delete the file (obviously since it doesn't exist), but the database entry is still left...

Is there some way to automatically delete all these entries without a corresponding file? It's quite a few so I'd really like to avoid cross-examining the database and filesystem for a manual deletion...

Regards,
xbit