forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: tcman on July 14, 2005, 09:26:21 am

Title: Critical Error when deleting album or pictures within album
Post by: tcman on July 14, 2005, 09:26:21 am
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
Title: Re: Critical Error when deleting album or pictures within album
Post by: Joachim Müller on July 14, 2005, 11:00:08 am
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.
Title: Re: Critical Error when deleting album or pictures within album
Post by: tcman on July 15, 2005, 05:19:10 am
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