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 albums that has missing files  (Read 3242 times)

0 Members and 1 Guest are viewing this topic.

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
deleting albums that has missing files
« 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"
Logged

StrongEagle

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: deleting albums that has missing files
« Reply #1 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.
Logged

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: deleting albums that has missing files
« Reply #2 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.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: deleting albums that has missing files
« Reply #3 on: November 27, 2010, 04:53:41 am »

Delete them out of your database.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: deleting albums that has missing files
« Reply #4 on: November 27, 2010, 05:42:36 am »

I learn everything step by step, please explain.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: deleting albums that has missing files
« Reply #5 on: November 27, 2010, 06:11:34 am »

Use a tool like 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

Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: deleting albums that has missing files
« Reply #6 on: December 01, 2010, 09:23:02 pm »

Thank U
Logged

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: deleting albums that has missing files
« Reply #7 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!
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1513
  • aka 'i-imagine'
    • Home Page

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: deleting albums that has missing files
« Reply #9 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.