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:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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 1 Guest 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.