forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: hny1 on July 26, 2009, 10:58:27 am

Title: [Solved]: Picture cant be Deleted
Post by: hny1 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?
Title: Re: Picture cant be Deleted
Post by: François Keller 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
Title: Re: Picture cant be Deleted
Post by: hny1 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.
Title: Re: Picture cant be Deleted
Post by: Joachim Müller 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.
Title: Re: Picture cant be Deleted
Post by: hny1 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.
Title: Re: Picture cant be Deleted
Post by: Joachim Müller 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.
Title: Re: Picture cant be Deleted
Post by: hny1 on July 27, 2009, 01:06:27 pm
i got the solution.
im sorry . i`ll respect the rules in future.