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

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

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