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

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 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!