need help post install / symlinks for albums

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.

Comments

  • acrylian Administrator, Developer
    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).
  • `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.
  • 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
Sign In or Register to comment.