Delete of albums/pictures does not work

Hello,

when I want to remove an existing album the followings error appears:

Warning: unlink(xxx/httpdocs/gallery/albums/united-campus/Domlogo_fur_internet.gif) [function.unlink]: Permission denied in /xxx/httpdocs/gallery/zen/class-image.php on line 99

Warning: unlink(xxx/httpdocs/gallery/albums/united-campus/DSC02120-sw.jpg) [function.unlink]: Permission denied in xxx/httpdocs/gallery/zen/class-image.php on line 99

Warning: unlink(xxx/httpdocs/gallery/albums/united-campus/img_001443003_premium.jpg) [function.unlink]: Permission denied in /srv/www/vhosts/united-campus.concept99.com/httpdocs/gallery/zen/class-image.php on line 99

Warning: unlink(/srv/www/vhosts/united-campus.concept99.com/httpdocs/gallery/albums/united-campus/img_001895204_normal.jpg) [function.unlink]: Permission denied in /srv/www/vhosts/united-campus.concept99.com/httpdocs/gallery/zen/class-image.php on line 99

Warning: unlink(/srv/www/vhosts/united-campus.concept99.com/httpdocs/gallery/albums/united-campus/Volvo-C30-4-moyenne.jpg) [function.unlink]: Permission denied in /srv/www/vhosts/united-campus.concept99.com/httpdocs/gallery/zen/class-image.php on line 99

Warning: rmdir(xxx.concept99.com/httpdocs/gallery/albums/united-campus/) [function.rmdir]: Directory not empty in xxx/httpdocs/gallery/zen/class-album.php on line 278

Warning: Cannot modify header information - headers already sent by (output started at xxx/httpdocs/gallery/zen/class-image.php:99) in xxx/httpdocs/gallery/zen/admin.php on line 75

Comments

  • kenoji Member
    How are you removing the album? Are you using just the admin functions?
  • Maxx Member
    yes
  • I had the same problem, Try making the parent folder writable by all.

    In my case I was trying to delete a picture in the album called motorbikes.
    Had to make the ~/zenphoto/albums/motorbikes writable by all. chmod 777 motorbikes

    Hope that helps.
  • Same problem on 1.2.2

    LOG :

    Warning: unlink(/home/livepa60/public_html/zenphoto/albums/live-painting-du-8-fevrier/Blue-hills.jpg) [function.unlink]: Permission non accordée in /home/livepa60/public_html/zenphoto/zp-core/class-album.php on line 864

    Warning: unlink(/home/livepa60/public_html/zenphoto/albums/live-painting-du-8-fevrier/Sunset.jpg) [function.unlink]: Permission non accordée in /home/livepa60/public_html/zenphoto/zp-core/class-album.php on line 864

    Warning: unlink(/home/livepa60/public_html/zenphoto/albums/live-painting-du-8-fevrier/Water-lilies.jpg) [function.unlink]: Permission non accordée in /home/livepa60/public_html/zenphoto/zp-core/class-album.php on line 864

    Warning: rmdir(/home/livepa60/public_html/zenphoto/albums/live-painting-du-8-fevrier/) [function.rmdir]: Le répertoire n'est pas vide. in /home/livepa60/public_html/zenphoto/zp-core/class-album.php on line 874

    Warning: Cannot modify header information - headers already sent by (output started at /home/livepa60/public_html/zenphoto/zp-core/class-album.php:864) in /home/livepa60/public_html/zenphoto/zp-core/admin.php on line 311

    Manual 777 on pictures doesnt work :s
  • Manual 777 on folders makes deletion able from admin panel.

    When i build un album, autogeneration of the folder name makes this folder unable to be deleted after. But manual generation of the name of the folder makes an album deletable. Does is works this way ?

    excuse my english pls :)
Sign In or Register to comment.