1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Horde's calendar not working

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by jterry, Aug 28, 2011.

  1. jterry

    jterry Basic Pleskian

    24
    23%
    Joined:
    Jan 22, 2004
    Messages:
    53
    Likes Received:
    0
    Hello,

    I have a problem with Plesk 10.3.1 in a CentOS 5.6 x86_64 box. This is running PHP5.3 and MySQL 5.5 (packaged by Plesk).

    Everything is up2date and double checked the horde packages "by hand" comparing versions with the ones in http://autoinstall.plesk.com/PSA_10.3.1/dist-rpm-RedHat-el5-x86_64/opt/horde/

    It consists in that calendar is not working (it appears blank), well not appears at all.

    When going to add a new entry, the form end in the "at" and show nothing more below that point.

    If i click Day or Week it appears blank, nothing more.

    Only on Month and Year view headings are shown, nothing more.

    I've attached pictures of these three samples.

    How can i fix this?

    Thanks
    Best,
     

    Attached Files:

  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Do you have any related error messages in /var/log/psa-horde/psa-horde.log ?
     
  3. jterry

    jterry Basic Pleskian

    24
    23%
    Joined:
    Jan 22, 2004
    Messages:
    53
    Likes Received:
    0
    Hello

    I forgot, the log is empty:

    drwxr-x--- 2 apache apache 4096 ago 27 04:03 .
    drwxr-xr-x 13 root root 4096 ago 29 04:03 ..
    -rw-r----- 1 apache apache 0 ago 27 04:03 psa-horde.log
    -rw-r--r-- 1 root root 194 ago 27 04:03 psa-horde.log.1.gz

    The gzipped one only contains a login error:

    cat psa-horde.log.1
    Aug 26 12:31:35 HORDE [error] [imp] FAILED LOGIN for xxxxxx@xxxxxx.xx [xxx.xxx.xxx.xxx] to {127.0.0.1:143 [imap/notls]} [pid 3137 on line 139 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]

    But found something in the error_log of httpd (several more):

    [Sun Aug 28 21:00:14 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Perms.php on line 462, referer: http://webmail.xxxxxxxx.xxx/kronolith/year.php
    [Sun Aug 28 21:00:16 2011] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead' in /usr/share/psa-horde/lib/Horde/Date.php:539\nStack trace:\n#0 /usr/share/psa-horde/lib/Horde/Date.php(539): DateTime->__construct()\n#1 /usr/share/psa-horde/lib/Horde/Date.php(501): Horde_Date->format('U')\n#2 /usr/share/psa-horde/kronolith/lib/Views/Month.php(142): Horde_Date->timestamp()\n#3 /usr/share/psa-horde/kronolith/month.php(35): Kronolith_View_Month->html()\n#4 {main}\n thrown in /usr/share/psa-horde/lib/Horde/Date.php on line 539, referer: http://webmail.xxxxxxxx.xxx/services/portal/sidebar.php
    [Sun Aug 28 21:00:16 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-pear/Log.php on line 169, referer: http://webmail.xxxxxxxx.xxx/kronolith/month.php
    [Sun Aug 28 21:00:16 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Notification.php on line 64, referer: http://webmail.xxxxxxxx.xxx/kronolith/month.php
    [Sun Aug 28 21:00:16 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Perms.php on line 455, referer: http://webmail.xxxxxxxx.xxx/kronolith/month.php
    [Sun Aug 28 21:00:16 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Perms.php on line 462, referer: http://webmail.xxxxxxxx.xxx/kronolith/month.php
    [Sun Aug 28 21:00:16 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-pear/Log.php on line 169, referer: http://webmail.xxxxxxxx.xxx/kronolith/month.php
    [Sun Aug 28 21:00:16 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Notification.php on line 64, referer: http://webmail.xxxxxxxx.xxx/kronolith/month.php

    Tryed to revert to "PHP 5" option and didn't work (the return to PHP5 option) with a long error. I've attached it.

    Best.
     

    Attached Files:

  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to define timezone directly in php.ini with something like

    date.timezone = "Asia/Manila"
     
  5. jterry

    jterry Basic Pleskian

    24
    23%
    Joined:
    Jan 22, 2004
    Messages:
    53
    Likes Received:
    0
    Yes!

    That worked. Thank you very much.

    Do you think i must open another thread for the change PHP (also happens with updates) error?

    Best,
     
Loading...