ZenphotoCMS Forum
Fatal error: Call to undefined function Question - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Fatal error: Call to undefined function Question (/thread-5706.html)



Fatal error: Call to undefined function Question - aydensgrace - 2009-08-19

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




Fatal error: Call to undefined function Question - ZeBoxx - 2009-08-19

see this thread:
http://www.zenphoto.org/support/topic.php?id=6005




Fatal error: Call to undefined function Question - aydensgrace - 2009-08-19

Alright, so how do I go about enabling the plugin?




Fatal error: Call to undefined function Question - acrylian - 2009-08-19

There is a plugin page on the admin backend.




Fatal error: Call to undefined function Question - aydensgrace - 2009-08-19

alright, thank you so much!




Fatal error: Call to undefined function Question - KarlEngstrom - 2009-11-14

This is still an issue with the zenphoto-2009-11-12-trunk build as far as I can tell. I'm redoing a site based on the stoppeddesign and now converting to stopdesign because of a long overdue upgrade.

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!




Fatal error: Call to undefined function Question - acrylian - 2009-11-14

Are you sure that you really updated all files?




Fatal error: Call to undefined function Question - KarlEngstrom - 2009-11-15

Just to make sure, I'm running the zenphoto-2009-11-14-trunk today, will post later on results.

Thanks
K




Fatal error: Call to undefined function Question - acrylian - 2009-11-15

There is no else needed as there is nothing else if the function does not exist. I could not reproduce it with the svn and the stopdesign theme.




Fatal error: Call to undefined function Question - sbillard - 2009-11-15

What version of PHP are you using? the statement
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.




Fatal error: Call to undefined function Question - KarlEngstrom - 2009-11-16

all clean now, apparently the cp didn't get it all...

Never mind