Latest comments in backend

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

  • Additional Info:
    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
  • I have just tested locally and it seems to work. I am using the nightly build but I doubt that would make any difference.

    What does show on the overview page? Any errors reported in logs?
  • Hi,

    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
  • Those errors are from "saving" comment options. But I do not see how they can occur unless there is a wrong version of the comment form plugin. Even that is unlikely since that part of the comment form has certainly not changed in the update.

    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.
  • This happens because the "mail" and "name" field are not selected after a fresh install. After I set the option to required I have the error in the log:
    Backtrace: NOTICE: Undefined index: comment_email_required in /var/www/web1133/html/zenphoto/zp-core/admin-options.php in Zeile 274
  • that will be the same problem. Make sure all the radio buttons are checked
  • Hi,

    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.
  • Sorry, but I have just done the same--install 1.4.3.2 and uprade to 1.4.3.5 nightly and all works. So I guess you will need to ferret out your server logs to see what failed.
  • Hi,
    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
  • You should try the nightly build. There is a problem with RSS that is fixed there. Zenphoto news does use RSS, so that could be the source of the problem.

    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.
  • Unfortunately I do not have access to the server log of the live site.
    And the error log of the local site is empty.

    Will try the nightly built tomorrow.
  • acrylian Administrator, Developer
    Actually the "zenphoto-news" plugin only displays the latest news from our site. It is not related to the display of the latest comments of your site itself and that display does not use RSS to my knowledge (unless I missed a change somehow of course).

    @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.
  • Hi Acrylian,

    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
  • acrylian Administrator, Developer
    Indeed I can reproduce this on my local MAMP install. If you had access/looked at your error log we would have found this error:
    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.
Sign In or Register to comment.