Deleting entries without corresponding file Deleting entries without corresponding file
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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