Critical Error when deleting album or pictures within album Critical Error when deleting album or pictures within 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

Critical Error when deleting album or pictures within album

Started by tcman, July 14, 2005, 09:26:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tcman

Hi,

I'm trying to delete an album and it is giving me "Critical Error....Directory 'albums/2005_0402_my_retirement/' is not writable, files can't be deleted".  I made sure the chmod is 777 on this folder for everything, but still getting error.  Also getting same error when trying to delete some pictures in same album that are not displaying. Instead of displaying picture, just the filename displays.   I am able to delete pictures that display correctly in this album.  Other albums seem to be fine.  Any ideas on how to correct this problem?

Thank you in advance,
tcman

Joachim Müller

you mustn't delete files that exist in your coppermine database by FTP, but you should use the controls built into coppermine. Restore the pics as they were, then use coppermine's user interface to delete them, as only this method will remove both the files and the db entry. This has been asked before, for details, search the forum.
Another possible reason is your server setup: you might need other permissions than 777. Try 755 for example.

tcman

Yes, I deleted the files using ftp.  Anyway, I went into mysql and deleted the album and the pictures manually and now everything is ok.
Thanks for the advice.

tcman