Hi there,
I updated Zenphoto to 1.2.3 yesterday, but I have been struggeling with the comments since then, I get an error message. Because some other people had problems with the comments after the update I've updated to nightly build 2009-02-10, but the problem still remains.
When trying to post a comment I get the message:
Fatal error: Call to undefined function: getalbumname() in /home/linkylog/domains/lauravink.nl/public_html/gallery/zp-core/functions.php on line 1041
This is the line:
$on = $receiver->getAlbumName() . " about " . $receiver->getTitle();
The same line gave me trouble at 1.2.3 and NB 2009-02-09.
I've have turned of the email notification in the admin panel.
I've also used other templates, no difference.
I'm not using any spam control, except captcha.
The comment IS posted though, but you are just not redirected back to the page.
My gallery can be found here:
http://lauravink.nl/gallerySomebody any suggestions?
Thanks in advance.
Laura
Comments
Fatal error: Call to undefined function: getalbumname() in /home/linkylog/domains/lauravink.nl/public_html/gallery/zp-core/functions.php on line 1041
Could it have something to do with Captcha?
`
default: // all image types
debugLog('post for '.$class);
$on = $receiver->getAlbumName() . " about " . $receiver->getTitle();
`
That is, insert the debugLog line. This will create a file `zp-core/debug-log.txt` that will have some information I need to understand what is going on here.
Post the contents of the resulting file.
Warning: fopen(/home/linkylog/domains/lauravink.nl/public_html/gallery/zp-core/debug_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/linkylog/domains/lauravink.nl/public_html/gallery/zp-core/functions-basic.php on line 684
Warning: fwrite(): supplied argument is not a valid stream resource in /home/linkylog/domains/lauravink.nl/public_html/gallery/zp-core/functions-basic.php on line 685
Warning: fclose(): supplied argument is not a valid stream resource in /home/linkylog/domains/lauravink.nl/public_html/gallery/zp-core/functions-basic.php on line 686
Fatal error: Call to undefined function: getalbumname() in /home/linkylog/domains/lauravink.nl/public_html/gallery/zp-core/functions.php on line 1042
Do I need to change permission/chmod somewhere?
The debug-log.txt only says:
post for album
I don't see if this is helpful for you, I hope it is!
By the way; still all testing comments do get posted, but I just get an error message after the post is sent.