coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: CBFreeborn on May 16, 2006, 11:45:04 PM

Title: How to fix "critical error" - can't delete album
Post by: CBFreeborn on May 16, 2006, 11:45:04 PM
In the course of upgrading to 1.4.5 I seemed to have hosed one of my album directories. When I try to delete the album in order to rebuild it, I get the following notification:

     Directory 'albums/owen 10th/' is not writable, files can't be deleted'

What's interesting is that I can still see the thumbnails for this album but no normal images appear. I had changed the directory name from "owen 10th" to "owen_10th" but now I can't seem to find the original "owen 10th" directory.

Any suggestions on how to find/remove all traces of the original/new album directory/files so I can rebuild it?

Thanks// Chris Freeborn

Title: Re: How to fix "critical error" - can't delete album
Post by: CBFreeborn on May 18, 2006, 07:16:18 PM
I managed to fix this problem by turning on debug and digging a little deeper: I was fooled by the error description. It wasn't really an issue of getting "access" to the files; but rather it was that the directory for that album didn't exist. [I had managed to delete/rename during some maintenance activities under the covers.] By manually creating a dummy directory with the appropriate matching name in the general Albums directory, the standard delete function was happy and worked OK.

//Chris