News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

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!