How do I remove references to a non-existing album/userpic/ directory? How do I remove references to a non-existing album/userpic/ directory?
 

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 do I remove references to a non-existing album/userpic/ directory?

Started by doctorjellybean, August 11, 2007, 05:32:33 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

doctorjellybean

Due to a server meltdown, I had to re-upload Coppermine and connect to the existing database. There are references to a pic in a gallery which doesn't exist. When I (or the owner) try to delete the non-existing picture, we get the following message:

Directory 'albums/userpics/10002/' is not writable, files can't be deleted

The directory 10002 doesn't exist, so I guess thats why we get that message. Can it be solved by uploading another pic into that gallery/album, or by creating an empty 10002 folder? Or is there a different solution?

Thank you.

Nibbler

Either create an empty folder or search the board for the workaround.

doctorjellybean

I created an empty 10002 folder, and it did the trick. Thank you.

I did perform a search, and the results appeared to focus on permissions. My permissions are correct, as I performed it myself.