Error feedback after uploading mobilephone photos

Hallo!

Sorry if I post into the wrong subforum, please move it if necessary.

I'm quite happy with ZP and the way it shows my pictures. Usually I upload photos from my digicam after shrinking them. That works fine for me.

When I'm uploding photos from my mobile phone they show the "No photo" sign and some warning lines:

`
Warning: getimagesize(/var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/albums/0305/05-03-09_1733.jpg) [function.getimagesize]: failed to open stream: Permission denied in /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/zp-core/class-image.php on line 238

Warning: getimagesize(/var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/albums/0305/05-03-09_1733.jpg) [function.getimagesize]: failed to open stream: Permission denied in /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/zp-core/functions.php on line 722
`
Can someone try to decipher those lines for me? I think it might be because the mobilephone photos have no meta-tags describing the correct size - or am I wrong?

Thanks in advance

Comments

  • These error messages always mean that the file security of your server operating system is not allowing Zenphoto access to the image. You need to relax the permissions on the files so that they are readable. Perhaps the software that uploads from your phone is making this decision to secure the files.
  • Uzh Member
    OK, maybe I'm rather slow in understanding. Is there something I can losen the reading/writing rights within the files? Or is that something I have to ask my webhoster?

    Well to upload the photos to the zenphoto-server I use the same program as for uploading the others. Or do you mean the one to upload them to my computer first?

    Georg

    ===
    Edit
    ===
    Hmmm, it seems to me there's something wrong with the php-security on my webhoster's side. When I try to upload a photo with the built-in uploader I get the error:

    `
    Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 10002 is not allowed to access /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/albums/0305 owned by uid 33 in /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/zp-core/admin-upload.php on line 68

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/zp-core/admin-upload.php:68) in /var/www/vhosts/georgs-bu.de/subdomains/julia/httpdocs/galerie/zp-core/admin-upload.php on line 80
    `
  • You will need to speak with your service provider about this. Maybe you can set the permissions on your album files and folders to 0777 and get things to work.
  • Uzh Member
    sbillard,

    Oh, I'm able to change the permissions - I put them from -rwxr-x---- to -rw-r--r-- and that did the trick. No need for bothering the provider - although I discussed it with him during lunch-break. He's a colleague of mine. Thanks for your kind help and patience - and your ability to put complicated facts to an easy language.

    Georg
Sign In or Register to comment.