delete files manually -> refresh db delete files manually -> refresh db
 

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

delete files manually -> refresh db

Started by wolle, February 04, 2006, 12:42:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wolle

Hi,

I deleted some pictures directly on the file system, so cpg knows nothing about it. In the album is shown that there are 100 pics but there are only 90. What do I have to do, so cpg deletes the "false" db entries ?

Yes I may delete the album and create it once again, but I guess there is an other way to fix it.

Thanks in advance
Wolle

Stramm

You're not supposed to 'edit' images on file level. Use coppermine delete functions instead. To fix the db you'll have to manually remove the db entries with a tool like phpmyadmin. Backup your db before you mess with it

wolle

Quote from: Stramm on February 04, 2006, 02:09:52 PM
You're not supposed to 'edit' images on file level. Use coppermine delete functions instead. To fix the db you'll have to manually remove the db entries with a tool like phpmyadmin. Backup your db before you mess with it
Okay in that case I delete the album and create it once again. It would be great if in future it would be possible to run a script which ones checkes the availability of a file and if it's not there then the entry in the db will be delete. Like the script on the admin tools for the comments.

Thanks for answer,
Wolle