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: Delete ALL Pictures at Once!  (Read 4282 times)

0 Members and 1 Guest are viewing this topic.

nova-bossa

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 52
Delete ALL Pictures at Once!
« on: August 06, 2004, 07:49:22 am »

how can i delete really ALL (!) pictures of all albums at once without deleting the albums?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Delete ALL Pictures at Once!
« Reply #1 on: August 06, 2004, 08:00:06 am »

doing this in one step requires you to use a database tool like phpMyAdmin. Browse the cpgXXX_pictures table with it and delete the contents of the table (not the table itself).

GauGau
Logged

nova-bossa

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 52
Re: Delete ALL Pictures at Once!
« Reply #2 on: August 06, 2004, 08:26:57 am »

i am now at "cpg130_pictures".
there is a button on the navigation just above the table called "Empty".
shall i click on it to delete only the pictures?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Delete ALL Pictures at Once!
« Reply #3 on: August 06, 2004, 05:28:22 pm »

the controls differ from version to version in phpMyAdmin. If unsure, look this up in the phpMyAdmin documentation.

GauGau
Logged

nova-bossa

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 52
Re: Delete ALL Pictures at Once!
« Reply #4 on: August 07, 2004, 10:01:23 am »

at phpMyAdmin when you are at "cpg130_pictures" click on "Empty" and all pictures of all albums are deleted leaving the albums untouched.
Logged

d.l.h

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
    • http://www.d-l-h.net
Re: Delete ALL Pictures at Once!
« Reply #5 on: August 08, 2004, 06:27:46 pm »

After that you have to delete the picture files in the albums directory (in the sub direrctories)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.