Can't delete album directory Can't delete album directory
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Can't delete album directory

Started by glacious, March 15, 2004, 01:36:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

glacious

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

Joachim Müller

try chmod 755 (this depends on your server config). Also check possible safe_mode issues (refer to the documentation that comes with coppermine).

GauGau


Casper

Try this thread, if it is an empty user album you are trying to delete.
http://forum.coppermine-gallery.net/index.php?topic=4268
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

glacious

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

Joachim Müller

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