How to fix "critical error" - can't delete album How to fix "critical error" - can't delete album
 

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]

Main Menu

How to fix "critical error" - can't delete album

Started by CBFreeborn, May 16, 2006, 11:45:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CBFreeborn

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


CBFreeborn

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