Deleting entries without corresponding file Deleting entries without corresponding file
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Deleting entries without corresponding file

Started by xbit, April 28, 2006, 01:20:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xbit

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