zenphoto forums » Installation Support

need help post install / symlinks for albums

(4 posts)
  • Started 1 year ago by Specter1981
  • Latest reply from Specter1981
  1. Specter1981

    Junior
    Joined: Feb '12
    Posts: 7

    Hello,

    I am trying to assess if zenphoto will work on my seagate nas (goflex home) where I've installed an archlinuxarm and lamp server. The installation worked ok almost out of the box, I fiddled a bit with the options and then I wanted to test how zenphoto shows my pictures. So I proceeded to symlink to one of my pictures folders. I then went to the overview section where zenphoto showed me the two folders and five files, but in the albums section I could only see broken images. I tried a different browser with a guest account and found broken images. Here's what my apache error log shows:

    script '/home/zenphoto/zp-core/setup_permissions_changer.php' not found or unable to stat, referer: http://mypage.net/poze/zp-core/setup.php?xsrfToken=98c721e57268107cbc826e9d0144ffbdc29bd7ed&chmod_permissions=2
    script '/home/zenphoto/zp-core/setup_permissions_changer.php' not found or unable to stat, referer: http://mypage.net/poze/zp-core/setup.php?xsrfToken=98c721e57268107cbc826e9d0144ffbdc29bd7ed&chmod_permissions=2
    script '/home/zenphoto/zp-core/setup_permissions_changer.php' not found or unable to stat, referer: http://mypage.net/poze/zp-core/setup.php?xsrfToken=98c721e57268107cbc826e9d0144ffbdc29bd7ed&chmod_permissions=2
    script '/home/zenphoto/zp-core/setup_permissions_changer.php' not found or unable to stat, referer: http://mypage.net/poze/zp-core/setup.php?xsrfToken=98c721e57268107cbc826e9d0144ffbdc29bd7ed&chmod_permissions=2
    script '/home/zenphoto/zp-core/setup_permissions_changer.php' not found or unable to stat, referer: http://mypage.net/poze/zp-core/setup.php?xsrfToken=98c721e57268107cbc826e9d0144ffbdc29bd7ed&chmod_permissions=2
    File does not exist: /home/zenphoto/page, referer: http://mypage.net/poze/zp-core/setup.php?checked&create=poze_options,poze_albums,poze_images,poze_comments,poze_administrators,poze_admin_to_object,poze_tags,poze_obj_to_tag,poze_captcha,poze_pages,poze_news2cat,poze_news_categories,poze_news,poze_menu,poze_plugin_storage,poze_search_cache&mod_rewrite=ON
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file\n in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/zp-core/admin-edit.php
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:  in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/zp-core/admin-edit.php
    PHP Warning:  imagecreatefromjpeg(): '/home/zenphoto/albums/2012/08_01_2012_CucerireaBraduluiAndra/IMG_0117.JPG' is not a valid JPEG file in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/zp-core/admin-edit.php
    File does not exist: /srv/http/favicon.ico
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file\n in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:  in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php
    PHP Warning:  imagecreatefromjpeg(): '/home/zenphoto/albums/2012/08_01_2012_CucerireaBraduluiAndra/IMG_0117.JPG' is not a valid JPEG file in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php
    File does not exist: /srv/http/favicon.ico
    File does not exist: /srv/http/favicon.ico
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file\n in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:  in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file\n in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:  in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file\n in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:  in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    PHP Warning:  imagecreatefromjpeg(): '/home/zenphoto/albums/2012/08_01_2012_CucerireaBraduluiAndra/IMG_0116.JPG' is not a valid JPEG file in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    PHP Warning:  imagecreatefromjpeg(): '/home/zenphoto/albums/2012/08_01_2012_CucerireaBraduluiAndra/IMG_0118.JPG' is not a valid JPEG file in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    PHP Warning:  imagecreatefromjpeg(): '/home/zenphoto/albums/2012/08_01_2012_CucerireaBraduluiAndra/IMG_0121.JPG' is not a valid JPEG file in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra
    File does not exist: /srv/http/favicon.ico
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file\n in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra&image=IMG_0116.JPG
    PHP Warning:  imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:  in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra&image=IMG_0116.JPG
    PHP Warning:  imagecreatefromjpeg(): '/home/zenphoto/albums/2012/08_01_2012_CucerireaBraduluiAndra/IMG_0116.JPG' is not a valid JPEG file in /home/zenphoto/zp-core/lib-GD.php on line 71, referer: http://mypage.net/poze/index.php?album=2012/08_01_2012_CucerireaBraduluiAndra&image=IMG_0116.JPG
    File does not exist: /srv/http/favicon.ico
    File does not exist: /srv/http/favicon.ico
    File does not exist: /srv/http/favicon.ico
    File does not exist: /srv/http/favicon.ico
    File does not exist: /srv/http/favicon.ico
    File does not exist: /srv/http/favicon.ico

    If anyone knows why this might be, please help. Thank you in advance.

    Posted 1 year ago #
  2. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,341

    Sorry, I admit to never have used symlinks. Did it work correctly without symlinks? Zenphoto stores all albums within the root /albums folder. You need to have folders (you cannot have images within /albums directly) within that can have images or further albums (your server space and the usability is the limit for levels).

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  3. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,766

    imagecreatefromjpeg() is a GD library function that is "loading" a jpeg file. The error message you got indicates that the file it loaded was corrupt. So I suspect that either symlinks are not supported somewhere in that library or that the data transfer is having problems.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  4. Specter1981

    Junior
    Joined: Feb '12
    Posts: 7

    Thank you for your messages. I tried the software with the classic methods of adding albums and photos and it works no problem.

    Unfortunatelly digging into php code is not really something I have time for - I did find something that seemed to be useful about this problem, but I just don't have the skills, time or patience for it:

    http://php.net/manual/en/function.imagecreatefromjpeg.php

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.