coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: geek on August 11, 2006, 09:32:06 AM

Title: Can't delete Albums
Post by: geek on August 11, 2006, 09:32:06 AM
Some files and albums can not be deleted.  When I try to delete an album with broken links I get the following error:

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

File: /home/nscsc2/public_html/gallery/delete.php - Line: 98

In the debug I have:

in 0 seconds - Album set : ; Meta set: ;USER:
------------------
Array
(
    [ID] => a4ff4d4e402b22ffa4ed1f02048c8273
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
Title: Re: Can't delete Albums
Post by: Stramm on August 11, 2006, 09:39:00 AM
you probably have deleted pics in that album(s) with your FTP client. Has been asked before and the solution(s) posted several times

you can either recreate the folders and put the pics back by ftp. Then delete them using the coppermine delete facility. Or you can go into your database using your db tool and delete all the entries for the files you removed.
Title: Re: Can't delete Albums
Post by: Joachim Müller on August 11, 2006, 02:53:10 PM
Quote from: geek on August 11, 2006, 09:32:06 AM
Directory 'albums/userpics/10005/' is not writable, files can't be deleted
Error message should be obvious.
In the future, don't post debug_output unless a supporter requests it.