Can't delet album Can't delet album
 

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

Can't delet album

Started by BIG, February 18, 2006, 09:39:06 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

BIG

I went to delete an album and this is what I got. Directory 'albums/New_Folder/' is not writable, files can't be deleted

I checked the permissions and even deleted the folder and I go back no pictures and I still can't delete the album even with the folder not being there. I hope I posted in the correct area, if not I am sorry. Would updating to 4.3 fix my issues.

Nibbler

No such version as 4.3. Re-create the folder, make sure it is writable and then delete it via Coppermine's interface.

BIG

I did that and it did not work, I meant 1.4.3 as I have 1.4.2 right now. I deleted the folder and then went to coopermine  but it would not let me. I can upload photos to the folder can also go delete them but I cant via coppermine.

Nibbler

OK then, if you are sure the directory is writable then disable that check in delete.php


if (!is_writable($dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['directory_ro'], htmlspecialchars($dir)), __FILE__, __LINE__);


Change it to

//if (!is_writable($dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['directory_ro'], htmlspecialchars($dir)), __FILE__, __LINE__);


Then you'll need to clean up any stray files manually via FTP.

BIG

Thank you for your help. I am am new at this but after I thought about what you said I kinda figured it out. 


What you told me fixed my issue.   Problem Solved.

Thanks again.