coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: glacious on March 15, 2004, 01:36:32 AM

Title: Can't delete album directory
Post by: glacious on March 15, 2004, 01:36:32 AM
Whenever i try to delete a folder/album, i get the error:

Directory '/albums/userpics/Gore 01-17-04/' is not writable, pictures can't be deleted

or somethimg similar.  I have actually went in and chmodded the folder itself as well as all pictures in it to 777 just to make sure.  Any ideas?

Thanks,

-Bill
Title: Can't delete album directory
Post by: Joachim Müller on March 15, 2004, 01:39:37 AM
try chmod 755 (this depends on your server config). Also check possible safe_mode issues (refer to the documentation that comes with coppermine).

GauGau
Title: Can't delete album directory
Post by: glacious on March 15, 2004, 01:43:38 AM
safe mode is off
http://pictures.fakechaos.net
Title: Can't delete album directory
Post by: Casper on March 15, 2004, 03:13:38 AM
Try this thread, if it is an empty user album you are trying to delete.
http://forum.coppermine-gallery.net/index.php?topic=4268
Title: Can't delete album directory
Post by: glacious on March 15, 2004, 05:29:41 AM
its not a user album, i have them disabled (althought for some reasons users can still post their own albums, *shrug*).

its a normal album, imported from CPG Nuke 2.2.x and now implemented into a CPG 1.2.1 installation.  I just had to rename one of the tables in the database and do a find/replace on the .sql backup file of the album database to change the directory names of the pictures since their location changed.

I also changed the album folder to / and userpics to userpics/ and the database has them set to be in albums/.... and albums/userpics... (where all the pictures actually are, since they were batch added from userpics folder).  

Thanks,

-Bill
Title: Can't delete album directory
Post by: Joachim Müller on March 15, 2004, 10:36:27 AM
I'm not sure why this happens, especially since you're not running a clean install, but a conversion from cpg_nuke. I suggest using phpMyAdmin to remove the database entries and ftp to remove the folders and files.

GauGau