forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: KOREntertainment on November 27, 2010, 01:57:14 am

Title: deleting albums that has missing files
Post by: KOREntertainment on November 27, 2010, 01:57:14 am
My gallery was hacked and any album that had a lot of files in it was deleted.  How can I delete the albums?  Keep getting "Critical error
Directory 'albums/flyers/monthly/2010/' is not writable, files can't be deleted"
Title: Re: deleting albums that has missing files
Post by: StrongEagle on November 27, 2010, 03:39:18 am
If your files are being stored in directory 2010, you need to make it writable.  chmod to 777 or use your ftp program to update the permissions.
Title: Re: deleting albums that has missing files
Post by: KOREntertainment on November 27, 2010, 04:24:28 am
The folders no longer exsist, should I re upload the folders?  I no longer have the files seeign they R now outdated.
Title: Re: deleting albums that has missing files
Post by: Jeff Bailey on November 27, 2010, 04:53:41 am
Delete them out of your database.
Title: Re: deleting albums that has missing files
Post by: KOREntertainment on November 27, 2010, 05:42:36 am
I learn everything step by step, please explain.
Title: Re: deleting albums that has missing files
Post by: Jeff Bailey on November 27, 2010, 06:11:34 am
Use a tool like phpMyAdmin (http://documentation.coppermine-gallery.net/en/dev_tools.htm#dev_tools_phpmyadmin) to view the database you set up where you created your gallery.
Browse the table prefix_albums.
Delete the albums you don't want any more.

your site? http://korentertainment.net/gallery2/index.html

Title: Re: deleting albums that has missing files
Post by: KOREntertainment on December 01, 2010, 09:23:02 pm
Thank U
Title: Re: deleting albums that has missing files
Post by: johnbcheetah on December 03, 2010, 07:33:24 pm
can I use phpmyadmin to delete albums and files? If I delete albums and files with the Coppermine program they're still on the site (either in Albums or in .var). I've tried to delete with ftp client unsuccessfully, and I'm using more space than I'm allowed. Help!
Title: Re: deleting albums that has missing files
Post by: Joe Carver on December 03, 2010, 07:52:00 pm
http://forum.coppermine-gallery.net/index.php/topic,55415.0.html
Title: Re: deleting albums that has missing files
Post by: Αndré on December 04, 2010, 11:12:51 am
can I use phpmyadmin to delete albums and files?
You can only delete the database entries with phpMyAdmin, but the files will still reside on your webspace. Why don't you use the delete functions of Coppermine? They'll delete albums and files in your gallery and physically on your ftp server.

Locking.