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: [Solved]: Picture cant be Deleted  (Read 3399 times)

0 Members and 1 Guest are viewing this topic.

hny1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
[Solved]: Picture cant be Deleted
« on: July 26, 2009, 10:58:27 am »

i have deleted some albums from Ftp.
now Blank thumbnails are shown insted of these pictues.when i delete these picture from the galley following error is shown "Directory 'albums/sports/80_Motocross__1920x1200/' is not writable, files can't be deleted" i have attached the related pictures.
 now what should me do?
« Last Edit: July 28, 2009, 07:42:47 am by Joachim Müller »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Picture cant be Deleted
« Reply #1 on: July 26, 2009, 11:49:43 am »

Quote
i have deleted some albums from Ftp.
now Blank thumbnails are shown insted of these pictues
It's normal, coppermine cannot find the pictures if they are not on the server
Quote
when i delete these picture from the galley following error is shown "Directory 'albums/sports/80_Motocross__1920x1200/' is not writable, files can't be deleted"
make the directories writables changing CHMOD
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

hny1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Picture cant be Deleted
« Reply #2 on: July 27, 2009, 05:57:10 am »

i`hv applied 777 permission from ftp client on Album Directory. but it did not works .
im unable to delete the album from the gallery.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Picture cant be Deleted
« Reply #3 on: July 27, 2009, 08:04:28 am »

i have deleted some albums from Ftp.
That was stupid. Don't.


now Blank thumbnails are shown insted of these pictues.
That can be expected.

when i delete these picture from the galley following error is shown "Directory 'albums/sports/80_Motocross__1920x1200/' is not writable, files can't be deleted"
Restore the folder and file you deleted by FTP, then delete using coppermine's controls. If you can't do that, delete the database records directly from the database using a tool like phpMyAdmin as suggested in many threads already.

You almost certainly don't have a permission problem.
Logged

hny1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Picture cant be Deleted
« Reply #4 on: July 27, 2009, 11:40:06 am »

ok i have installed  "php my admin" and i enterd the data base.
but i dont know how to find pictures data from it .
plz help me.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Picture cant be Deleted
« Reply #5 on: July 27, 2009, 11:50:56 am »

We can not support you on the usage of the third party tool phpMyAdmin, especially if you ask your question that way without posting the needed details (read up board rules and do as suggested there! This is the last time that I will remind you of board rules). You need to find the proper record inside coppermine's pictures table that corresponds to the broken image that you deleted in error. Find the record and then delete it (just that single record). Remember to back up your database (by creating a dump) before messing with coppermine's core by editing the database it uses. You don't seem to be experienced enough to accomplish that.
Logged

hny1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Picture cant be Deleted
« Reply #6 on: July 27, 2009, 01:06:27 pm »

i got the solution.
im sorry . i`ll respect the rules in future.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.