Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Can't delet album  (Read 3212 times)

0 Members and 1 Guest are viewing this topic.

BIG

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Can't delet album
« on: February 18, 2006, 09:39:06 pm »

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.
« Last Edit: February 19, 2006, 05:13:22 am by Nibbler »
Logged

Nibbler

  • Guest
Re: Can't delet album
« Reply #1 on: February 18, 2006, 09:53:42 pm »

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

BIG

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Can't delet album
« Reply #2 on: February 18, 2006, 10:16:50 pm »

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.
Logged

Nibbler

  • Guest
Re: Can't delet album
« Reply #3 on: February 18, 2006, 10:23:20 pm »

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

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

Change it to

Code: [Select]
//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.
Logged

BIG

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Can't delet album
« Reply #4 on: February 19, 2006, 04:50:24 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.