Can't delet album Can't delet 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

Can't delet album

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

Previous topic - Next topic

0 Members and 1 Guest 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.