Advanced search  

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

Pages: [1]   Go Down

Author Topic: Can't delet album  (Read 3207 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.019 seconds with 19 queries.