Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Deleting a non-existant album?  (Read 1689 times)

0 Members and 1 Guest are viewing this topic.

TDD

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Deleting a non-existant album?
« on: April 02, 2008, 01:28:23 am »

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?
Logged

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217
Re: Deleting a non-existant album?
« Reply #1 on: April 02, 2008, 10:09:55 am »

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

Nibbler

  • Guest
Re: Deleting a non-existant album?
« Reply #2 on: April 02, 2008, 10:41:42 am »

Easy method: search the board for previous answers.

http://forum.coppermine-gallery.net/index.php/topic,28077.0.html
Logged
Pages: [1]   Go Up
 

Page created in 0.046 seconds with 21 queries.