I uploaded a new album onto Zen [using the standard theme that came with it]. The homepage comes up fine, but for some reason, when I click to open the album I get:
Fatal error: Call to undefined function getcommenterrors() in /home2/aydensgr/public_html/zenphoto/themes/stopdesign/album.php on line 15
Any ideas?
I'm using Firefox 3.0.13
Comments
http://www.zenphoto.org/support/topic.php?id=6005
With " comment_form v1.2.6 " disabled it throws the error "Fatal error: Call to undefined function getcommenterrors() in /xxxx/xxxxxxx/public_html/zenphoto/themes/stopdesign/album.php on line 15" which is as I see, related tothis line
`if (function_exists('getCommentErrors') && getCommentErrors()) {`
I'm just recently back into ZP but it seems there may be an 'else' statement lacking in the 'getCommentErrors' function? If I find it I'll pass what I find along. This affects me right now because the current project doesn't want comments enabled.
Thanks for all you're hard work there at ZP!
Thanks
K
`if (function_exists('getCommentErrors') && getCommentErrors()) {` should not be able to execute the getCommentErrors() call unless the function exists (as the test indicates.) So most likely something is set in your PHP that prevents early determination of the boolen evaluation.
Never mind