• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Horde's calendar not working

jterry

Basic Pleskian
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,
 

Attachments

  • New Event.png
    New Event.png
    36 KB · Views: 12
  • Day.png
    Day.png
    24.6 KB · Views: 7
  • Month.png
    Month.png
    45.9 KB · Views: 10
Do you have any related error messages in /var/log/psa-horde/psa-horde.log ?
 
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 [email protected] [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.
 

Attachments

  • parallels-installation-log.txt
    16 KB · Views: 0
Try to define timezone directly in php.ini with something like

date.timezone = "Asia/Manila"
 
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,
 
Back
Top