Deleting a non-existant album? Deleting a non-existant album?
 

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 a non-existant album?

Started by TDD, April 02, 2008, 01:28:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TDD

I had a few albums set up in coppermine, when i deleted the albums in the FTP directory, rather then through coppermine, so now i'm left with alot of broken images and a non-existant album in coppermine, but when i try to delete the album, it tells me it cannot delete it because it cannot delete the files in "/70001/Game" because it's not writable, even though i've deleted that folder.

Is there a way i can forcefully delete this album and it's non-existing contents from coppermine?

steveeh131047

I'm no cpg expert, but how about:

1) Restore your MySQL database from the backup copy you thoughtfully took just before making the changes  ;)

No db backup ? Then .....

2) Edit the MySQL db using PHPMyAdmin to remove the offending albums and their pictures. You need to look in the cpg14x_albums and cpg14x_pictures tables.

Or if you're not confident of modifying the db:

3) If there weren't too many pictures, recreate the album folders with ftp and populate them with "dummy" picture files with the correct filenames.

Now I bet one of the Dev Team will come up with an easy method!