No thumbnails nor pictures visible

Hi,
I don't know what happened but my album stopped working properly yesterday. I didn't get reply from my admin if he changed anything on server so I don't know if this is a reason.
When you open an album no thumbnails are visible, when you enter to see photo it's not visible either until you click 'full size' link which links directly to photo, then it works ok. When in admin mode I choose to recreate thumbnails none are created. At /zp-core/setup.php I see no errors nor warnings regarding PHP or file permissions.
Any ideas what may be wrong?
Thanks,
Peter

Comments

  • It sounds like a memory issue. But I would have expected that any photos that had already been cached would still be visible. How about a link to the site. Maybe we can tell more by looking.
  • peper Member
    http://album.peper.eu.org which is redirection to http://dervish.wsisiz.edu.pl/~peper/gallery/

    I made stupid thing and cleared cache so I don't really have thumbnails right now.
  • acrylian Administrator, Developer
    What size (pixel x pixel) do your images have? If this is way beyond the 1000x1000 you might try to upload smaller ones. That way we could try to find out if it is a server memory issue.
  • peper Member
    Tried with smaller ones too. I talked to my admin, none of the important for zenphoto packages were updated lately, no limits are set on apache processes. My pictures are usually something like 1936x1296 (10Mpx resized by 50%) but it's not working even with 242x162

    I found strange thing, when I click at 'full image' I can see there is watermark text added to it, just 'Watermark'. In zenphoto settings I have "Watermark images" set to 'none' and both "Watermark thumbnails" to 'none' too.
  • acrylian Administrator, Developer
    Watermarked full size images are actually also cached but since you said you cleared the cache... Did you also clear the browser cache, that sometimes plays funny tricks.

    I don't know. Could you please run setup (zp-core/setup.php) and report if and what errors it reports?
  • peper Member
    It reports no error only warnings about .htaccess (but I'm not using mod_rewrite) and "PHP mbstring package Your internal characater set is ISO-8859-1" warning. I checked that on various browsers and and systems and everywhere it's not working.

    About watermarks - I think in settings set to 'none' it shouldn't place watermark at all. So it's strange it does. Where are settings like that kept? In database? How to check them? Maybe something is incorrectly set and that's the reason why it's not working?
  • You should check the nightly build as there have been some corrections in the handling of watermarking.
  • hey peper,

    I had the exact same symptoms. I use 1and1 as a web host, (ugh!) and found that the PHP server memory size is limited to 32mb. I have no idea how this translates into image quality or size, but I found that if I keep the file size of my pictures under 1.55mb I don't usually have a problem. Maybe you could ask your admin about PHP memory changes reciently. Or maybe the server is having some memory handling problems that they don't know about yet.

    Good luck
  • peper Member
    I'll ask my admin for temporary setting higher limit for memory but I don't think so. I tried it with smaller photos too and it haven't been working
  • peper Member
    No any other ideas?
  • peper Member
    Hello again,
    It's not a memory problem for sure. I got some apache logs from my admin and trying to guess what is wrong. Dervish is a server that is serving http, oceanic is server that have files on, a /home from oceanic is mounted in rw mode on dervish.

    Here are fragment of logs from server:

    [Mon Mar 16 04:14:12 2009] [error] [client 203.45.40.196] PHP Warning: chmod() [<a href='function.chm
    od'>function.chmod]: No such file or directory in /homei/informatyka/2002/ID/p/peper/public_html/g
    allery/zp-core/i.php on line 192, referer: http://dervish.wsisiz.edu.pl/~peper/gallery/
    [Mon Mar 16 04:14:12 2009] [error] [client 203.45.40.196] PHP Warning: chmod() [<a href='function.chm
    od'>function.chmod]: No such file or directory in /homei/informatyka/2002/ID/p/peper/public_html/g
    allery/zp-core/i.php on line 192, referer: http://dervish.wsisiz.edu.pl/~peper/gallery/
    [Mon Mar 16 04:14:12 2009] [error] [client 203.45.40.196] PHP Warning: imagejpeg() [<a href='function
    .imagejpeg'>function.imagejpeg]: Unable to open '/homei/informatyka/2002/ID/p/peper/public_html/ga
    llery/cache/Australia (2009)/Australia Day - 26.01.2009/20090126_080.JPG_w210_h59_cw210_ch59.jpg' for
    writing: No such file or directory in /homei/informatyka/2002/ID/p/peper/public_html/gallery/zp-core/f
    unctions-image.php on line 537, referer: http://dervish.wsisiz.edu.pl/~peper/gallery/
    [Mon Mar 16 04:14:13 2009] [error] [client 203.45.40.196] PHP Warning: chmod() [<a href='function.chm
    od'>function.chmod]: No such file or directory in /homei/informatyka/2002/ID/p/peper/public_html/g
    allery/zp-core/i.php on line 192, referer: http://dervish.wsisiz.edu.pl/~peper/gallery/
    [Mon Mar 16 04:14:13 2009] [error] [client 203.45.40.196] PHP Warning: chmod() [<a href='function.chm
    od'>function.chmod]: No such file or directory in /homei/informatyka/2002/ID/p/peper/public_html/g
    allery/zp-core/i.php on line 192, referer: http://dervish.wsisiz.edu.pl/~peper/gallery/
    [Mon Mar 16 04:14:13 2009] [error] [client 203.45.40.196] PHP Warning: imagejpeg() [<a href='function
    .imagejpeg'>function.imagejpeg]: Unable to open '/homei/informatyka/2002/ID/p/peper/public_html/ga
    llery/cache/New Zealand (2009)/Auckland/20090221_090.JPG_w210_h59_cw210_ch59.jpg' for writing: No such
    file or directory in /homei/informatyka/2002/ID/p/peper/public_html/gallery/zp-core/functions-image.p
    hp on line 537, referer: http://dervish.wsisiz.edu.pl/~peper/gallery/
    [Mon Mar 16 04:14:13 2009] [error] [client 203.45.40.196] PHP Warning: chmod() [<a href='function.chm
    od'>function.chmod]: No such file or directory in /homei/informatyka/2002/ID/p/peper/public_html/g
    allery/zp-core/i.php on line 192, referer: http://dervish.wsisiz.edu.pl/~peper/gallery/

    Any idas?
    Thanks
  • acrylian Administrator, Developer
    This looks like a permissions issue. Didn't setup complain about anyhting? Set all to 0777 or review the troubleshooting guide entry about the more secure settings (if possible on your server).
  • peper Member
    Tried, but no success :( My home dir is 0711, public_html is 0777, gallery subdir too, there is zenphoto installed. Inside albums (and all subfolders), backup, cache, cache_html are having 0777. so it should work. But somehow I can't even make a backup :(

    Failed to open /homei/informatyka/2002/ID/p/peper/public_html/gallery/backup/backup-2009_03_17-13_38_22.zdb for writing.

    Damn
  • You probably need to speak with your service provider on this. The PHP scripts are being prevented from accessing your files. That is some kind of security related problem.
Sign In or Register to comment.