Check your php log. I believe I was getting a similar error and reported a ticket which has since been fixed with the nightly. I reported the php error though, so you might want to see if your error log shows the same as I reported here:
http://www.zenphoto.org/trac/ticket/1775