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

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

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