Hello,
Thanks again for this nice app.
After upgrading to the latest version (from 1.4.4.5 to 1.4.5.9), I am running into some troubles. One of my albums does not load and often times the gallery just crashes and stops loading.
The album 2014 was loading fine before the upgrade and the app was running ok.
The only error message I see is
2014/04/03 10:07:25 [error] 30424#0: *174929 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1989085313 bytes) in /[...]/zenphoto/zp-core/zp-extensions/class-video/getid3/getid3.php on line 1663" while reading upstream, client: [ip], server: [address], request: "GET /index.php?album=2014 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "[address]", referrer: "
http://[address]/"
2014/04/03 10:26:56 [error] 11591#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 1989085313 bytes) in /[...]/zenphoto/zp-core/zp-extensions/class-video/getid3/getid3.php on line 1663" while reading upstream, client: [ip], server: [address], request: "GET /index.php?album=2014 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "[address]", referrer: "
http://[address]/"
I increased the memory_limit in php from 128M to 1024M, but I am not sure this is the best thing I could do. The album in question does contain big video files - 2 GB files recorded with a gopro hero 2 at 50 fps. There are other albums that contain such files and they have no problem though. Any idea what is causing this?
Thanks,
Iancu
Comments
Thank you for taking the time to answer. I looked at my zenphoto settings and could not find what you said.
There are two plugins that could be connected to what you said:
-class-video (http://www.zenphoto.org/news/class-video) --> does not contain settings for metadata parsing/reading
-jplayer (I see you are the author - thumbs up!) --> I disabled these two settings, since I couldn't figure if anything else was what you meant: Audio poster (Videothumb) and Poster (Videothumb)
I also went into options -> image and disabled everything for meta data. Will test in a short while and report back.
Thanks,
Iancu
Sorry to report but the changes I've made haven't helped. I need to find how to disable the metadata for videos. Will keep searching.
Best regards,
Iancu
So I've found this thread http://www.zenphoto.org/support/topic.php?id=908680#post-1288714 where the solution is to disable some metadata fields from options -> image -> metadata. As I said above, I disabled all of them but still run into the same error. Any other solution?
Thanks,
Iancu
Disabling the meta fields is the actual correct thing to do. I can only suggest to try the 1.4.6 beta. I do remember this bug but it then is fixed in 1.4.6 only.
Thanks a bunch for the time and advice. For now I increased the memory size to 2048M and will get back to this after the stable version of 1.4.6 will come out.
Best regards,
Iancu