Error on Deleting Photos

I usually delete photos through FTP. But then I got this error when i tried to Delete Photos on the Admin Section.

Warning: unlink(/home/public_html/gallery/albums/X C V Klasmeyts/ScannedImage_11.jpg) [function.unlink]: Permission denied in /home/public_html/gallery/zen/classes.php on line 273

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/gallery/zen/classes.php:273) in /home/public_html/gallery/zen/admin.php on line 85

Can anyone suggest a Fix?

Thanks a lot in advance.

Dax

Comments

  • I have this same error on the previous versions. but til now it still not fix. :(
  • Had the same problem. A quick search in the forums revealed that you need to issue `chmod -R 777 albums/*`

    as explained by tris here: http://www.zenphoto.org/support/topic.php?id=739&replies=4
  • fixed. ty. :D
  • trisweb Administrator
    The problem was probably that you uploaded through FTP with your own user account, but didn't set the permissions on each file as writable by the server.

    In the new Admin I'll be sure to issue a better warning for permissions errors like that. Thanks!
  • I noticed that as well... i thought that i don't need to CHMOD the subfolders.
    anyways... i've sorted it out with your help. thanks a lot Tris! :D
Sign In or Register to comment.