Hi,
just updated my local installation from 1.4.34 to 1.4.35.
Now I have the following problem:
I have made 3 comments, they are still there.
But the tab "Latest 10 comments" in the backend shows nothing.
I have made 2 new comments (1 on a page and one on an image) - they are countet in the "Galerie Statistic" section in the backend.
But the "latest 10 comments" still shows nothing.
Any ideas what happens here ?
Ralf
Comments
Just made a comment on the live site:
http://www.pixel-wonders.de/natur/himmel/120912_kalle_004-bearbeitet.jpg.php
In the backend overview->Galerie Statistic block there is now shown "1 comment" which is right.
But the "Latest 10 comments" is empty here too.
And the live site was a fresh install with version 1.4.3.5.
So it was not the update - seems to be the version 1.4.3.5
No backup/restore - just a few images uploaded per ftp and a few pages created.
Cheers
Ralf
What does show on the overview page? Any errors reported in logs?
Notice the date - this was before I have made any comment.
This was right after the installation.
Maybe something went wrong during installation ?
{Tue, 04 Dec 2012 20:34:09 GMT} Zenphoto v1.4.3.5[11059]
Backtrace: NOTICE: Undefined index: comment_name_required in /var/www/web1133/html/zenphoto/zp-core/admin-options.php in Zeile 273
{Tue, 04 Dec 2012 20:34:09 GMT}
Backtrace: NOTICE: Undefined index: comment_email_required in /var/www/web1133/html/zenphoto/zp-core/admin-options.php in Zeile 274
Check your plugins to be sure the comment form one is enabled. (Of course it must be, otherwise how could you post a comment?)
Find also your server logs. Unfortunately not all PHP errors are trappable by Zenphoto, so may not show up in the debug log.
Backtrace: NOTICE: Undefined index: comment_email_required in /var/www/web1133/html/zenphoto/zp-core/admin-options.php in Zeile 274
I have just reproduced it. Doing a fresh install with version 1.4.3.4 locally. Commented one image - anything fine.
Updated to 1.4.3.5. the latest comments are gone.
got it !
Disable the "Zenphoto-news" Plugin and switch to the overview.
Latest comments will not be shown.
Enable the "zenphoto-news"plugin again - Latest comments are back again.
As far as I can see this happens only with the 1.4.3.5 version - i did not noticed this in 1.4.3.4.
Ralf
BUT, as I have said many times, find your server script error logs. If the RSS bug is the problem it will show up there.
And the error log of the local site is empty.
Will try the nightly built tomorrow.
@Ralf: You really should contact your host about the server log. This is an very important tool if hosting a system like Zenphoto yourself. All bigger hosts I know in Germany do offer that log. Some via their own backend and others as files via FTP. If you really have a host without access at all, you should consider about moving to another IMHO.
i have already contacted the hoster for the logs.
But I do not think it is a hoster issue, because I can reproduce it with my XAMPP Environment at home.
Clean install wit 1.4.34.
1 Album
1 Image
Commented the image and the comment is shown under "latest comments in the backend" with the zenphoto-news plugin disabled.
Running the update procedure to 1.4.3.5 and nothing is shown until I enable the news plugin.
Same with a fresh install with 1.4.3.5 - so it can not be the update.
Disabling the news plugin results in disappearung "Latest Comments".
Enabling the news-plugin "fixes" this.
Ralf
Fatal error: Call to undefined function shortenContent() in ..../htdocs/zp-trunk/zp-core/zp-extensions/comment_form/functions.php on line 159
Which had helped us to find the issue. So it is not directly the plugin that prevents or is connected to the dissapearance but everything after this error does.