Member
Member
danielsbrewer   04-09-2009, 12:09
#1

Hello,

I have just moved my gallery to a new server and I am trying to run zenphoto 1.2.6 with lighttpd. What I have found is that if I upload a new album by ftp and go to the front page, then this new album does not get a thumbnail produced for it. After I look inside the album the frontpage and thumbnails work fine.

Is anyone else having this problem?
Does anyone know how to fix it?

Administrator
Administrator
acrylian   04-09-2009, 12:39
#2

Any errors in the server log? What dimensions have the images? Also please see the troubleshooting article on our site for the topic.

Member
Member
danielsbrewer   04-09-2009, 13:25
#3

No errors in the server log

Images are 2480 × 1622 pixels

I have over 1GB of memory free normally so I hope it is not a memory issue. Anyway the thumbnails get created if I go to the album page, just the album thumbnail (random image thumbnail) doesn't get produced.

I had a read through the troubshooting article.

To debug further I tried to put some echo/print_r statements in getAlbumThumbImage(), but they don't appear on the webpage. What's the best way to debug?

Administrator
Administrator
acrylian   04-09-2009, 13:38
#4

The 1GB are attached to PHP as memory? Anyway, those images seem not to be that big.

Actually the thumb should be generated for hte album from the images within if not already done. Should work the same as with the image thumbs itself.

We have some functions for debugging.
http://www.zenphoto.org/documentation/functions/_functions-basic.php.html#functiondebugLog
http://www.zenphoto.org/documentation/functions/_functions-basic.php.html#functiondebugLogArray
http://www.zenphoto.org/documentation/functions/_functions-basic.php.html#functiondebugLogBacktrace
http://www.zenphoto.org/documentation/functions/_functions-basic.php.html#functiondebugLogVar

Member
Member
danielsbrewer   06-09-2009, 19:52
#5

"Actually the thumb should be generated for hte album from the images within if not already done. Should work the same as with the image thumbs itself."

That's what I thought and why I think its strange - I was wondering whether it could be a time out issue. Something along the lines that it tries to cache all the thumbnails in the album and so runs out of time. The gallery is running on a atom-based "nettop" so it certainly isn't the most powerful of machines.

I will try and do some debugging in the next few days - thanks for telling me the functions.

May also try and experiment with tweaking php.ini any suggestions on what would help there?

Many thanks

Administrator
Administrator
acrylian   07-09-2009, 08:01
#6

I don't know anything about the type of machine you are running. But you also could try to check if this is with specific images /albums only as corrup EXIF data is known to cause time outs as well.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.