Member
Member
aydensgrace   2009-08-19, 01:27
#1

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

Member
Member
ZeBoxx   2009-08-19, 14:02
#2

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

Member
Member
aydensgrace   2009-08-19, 14:43
#3

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

Administrator
Administrator
acrylian   2009-08-19, 16:35
#4

There is a plugin page on the admin backend.

Member
Member
aydensgrace   2009-08-19, 17:11
#5

alright, thank you so much!

Member
Member
KarlEngstrom   2009-11-14, 03:51
#6

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!

Administrator
Administrator
acrylian   2009-11-14, 10:08
#7

Are you sure that you really updated all files?

Member
Member
KarlEngstrom   2009-11-15, 19:57
#8

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

Thanks
K

Administrator
Administrator
acrylian   2009-11-15, 20:07
#9

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.

Member
Member
sbillard   2009-11-15, 21:47
#10

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.

Member
Member
KarlEngstrom   2009-11-16, 05:41
#11

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

Never mind

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