Member
Member
HannesE   2010-04-11, 14:32
#1

Hi out there!

I occur the following problem: On some pictures ZenPhoto stops listing thumbnails. This happens in the front-end as well as in the back-end. I could brake it down to some photos which produce the problem, but wasn't able to figure out what they have in common what makes ZP break.

I just upgraded to 1.2.9

To troubleshoot I deleted the cache folder of the affected albums and let "refresh database" run. Which, by the way, ran into a blank page when finished.

The affected pictures are private but it would be OK for me to email them to a developer if that makes sense.

Any ideas / suggestions / known bug?

Cheers,
Hannes

Member
Member
kagutsuchi   2010-04-11, 16:03
#2

What do you mean that the thumbnails stop being listed? Do you mean that they're not displaying? If that's the case, check to make sure that the all of the thumbnails are being generated correctly in the cache directory.

This entry in the troubleshooting guide might be useful (and the one below it): http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#11

Member
Member
Blue Dragonfly   2010-04-11, 16:12
#3

I had a similar issue with thumbnailing some large (4000x3000) images. The server error log indicated a memory problem, so I added this line to the beginning of the lib-GD.php file in /zp-core:

ini_set("memory_limit", "128M");

This was just before the line:

// force UTF-8

Of course, I have 8GB memory on this machine, so that was no big deal to just bump it up. I'm not sure if that value would be appropriate for your situation.

Once ImageMagick is implemented, this shouldn't be a problem anyway, if I understand correctly.

Member
Member
kagutsuchi   2010-04-11, 16:14
#4

ImageMagick will still potentially have memory issues, depending on your server, but it at least will not be tied to Apache's memory.

Member
Member
HannesE   2010-04-12, 13:36
#5

Hey guys,

thanks for the replies.
The thumbnail is created. As I mentioned I also deleted it and let ZP recreate it.
Here's a screenshot of a broken Gallery: http://easycaptures.com/8734129156
It just stops iterating over the thumbnails before the broken picture. When I delete that picture from the "albums" folder it continues iterating and lists all pictures just fine. Then also the CSS looks good and not broken.
The affected pictures are not as big as Blue Dragonflys. They are the same size as all other pictures.

Is there any chance to debug this?

Thanks and Cheers,
Hannes

Administrator
Administrator
acrylian   2010-04-12, 13:41
#6

So what does your server's error log say?

Member
Member
sbillard   2010-04-12, 20:32
#7

There is also an image debugging setting--see the define [b]DEBUG_IMAGE[/b] in functions-basic.php. But first check your server logs.

Member
Member
HannesE   2010-04-13, 14:51
#8

Guys thanks again. I moved my gallery to a different Webserver were I have access to the logs. It was indeed a memory problem in the sanyo.php and I had to increase it to 2048m!!!

[code]
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 1275200001 bytes) in .../zenphoto/zp-core/exif/makers/sanyo.php on line 136,
[code]

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