kolab 3.1 / centos 6.5 - php roundcubemail errors - problem with calender entries disappearing

hoagie hoagie at todes.net
Thu Feb 13 23:57:27 CET 2014


Hi,

I have problems with my calender entries.
Whenever I add a calender entry via roundcubemail, it just stays visible
until I click on another page and return to the calender. entries are
always gone.

/var/log/apache/error_log shows the PHP-errors related to timezone settings:

1.) this happens whenever I click a link in roundcubemail (ex. settings,
files, inbox, calender, ...)

------
[error] [client x.x.x.x] PHP Warning:  strtotime(): 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 'CET/1.0/no DST' instead in
/usr/share/roundcubemail/program/lib/Roundcube/rcube_session.php on line
176, referer: https://www.example.com/roundcubemail/?_task=calendar

2.) whenever I create a calender entry, the following error is shown:

------
[error] [client x.x.x.x] PHP Fatal error:  Uncaught exception
'Exception' with message 'DateTime::__construct(): 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 'CET/1.0/no DST' instead' in
/usr/share/roundcubemail/plugins/calendar/drivers/kolab/kolab_calendar.php:221\nStack
trace:\n#0
/usr/share/roundcubemail/plugins/calendar/drivers/kolab/kolab_calendar.php(221):
DateTime->__construct('@1391986800')\n#1
/usr/share/roundcubemail/plugins/calendar/drivers/kolab/kolab_driver.php(754):
kolab_calendar->list_events('1391986800', '1392591600', NULL, 1,
Array)\n#2 /usr/share/roundcubemail/plugins/calendar/calendar.php(946):
kolab_driver->load_events('1391986800', '1392591600', NULL, 'Calendar',
1, 1392329443)\n#3 [internal function]: calendar->refresh(Array)\n#4
/usr/share/roundcubemail/program/lib/R in
/usr/share/roundcubemail/plugins/calendar/drivers/kolab/kolab_calendar.php
on line 221, referer: https://www.example.com/roundcubemail/?_task=calendar

kolab-freebusyd.log also shows:
----------
kolab-freebusyd(2156) KSystemTimeZonesPrivate::readConfig: readConfig():
local zone= "UTC"
kolab-freebusyd(2156) KSystemTimeZonesPrivate::readZoneTab: readZoneTab(
"/usr/share/zoneinfo/zone.tab" )
(23:45:02) commonconversion.cpp(42):    normalized  "Europe/Berlin"
--------------


I can reproduce this error on every calender (Personal, shared Calender)
- the entry always disappears.

Since I do not speak PHP i´d rather not mess around with the file
"/usr/share/roundcubemail/plugins/calendar/drivers/kolab/kolab_calendar.php"

I have verified that my system has the proper /etc/localtime set (i set
it to Europe/Vienna), and i have set the same timezone in /etc/php.ini
(date.timezone=Europa/Vienna)

It might not be related, but I also seem to have a SSL problem, but
authentication seems to work tough:

kolab-freebusyd.log shows:
-----------
(23:45:02) kolabjob.cpp(47):    starting kolab job:  "name at example.com"
 on  "localhost" : 993
(23:45:02) authenticationjob.cpp(35):   logging in as
"name at example.com"  using  "cyrus-admin"
kolab-freebusyd(2156) KTcpSocket::showSslErrors: "The host name did not
match any of the valid hosts for this certificate"
Initial SSL handshake failed. cipher.isNull() is false ,
cipher.usedBits() is 256 , the socket says: "Unknown error" and the list
of SSL errors contains 1 items.
kolab-freebusyd(2156) KIMAP::LoginJob::handleResponse: Capabilities
updated:  ("IMAP4rev1", "LITERAL+", "ID", "ENABLE", "ACL",
"RIGHTS=kxte", "QUOTA", "MAILBOX-REFERRALS", "NAMESPACE", "UIDPLUS",
"NO_ATOMIC_RENAME", "UNSELECT", "CHILDREN", "MULTIAPPEND", "BINARY",
"CATENATE", "CONDSTORE", "ESEARCH", "SORT", "SORT=MODSEQ",
"SORT=DISPLAY", "THREAD=ORDEREDSUBJECT", "THREAD=REFERENCES",
"ANNOTATEMORE", "LIST-EXTENDED", "WITHIN", "QRESYNC", "SCAN", "XLIST",
"URLAUTH", "URLAUTH=BINARY", "X-NETSCAPE", "AUTH=LOGIN", "AUTH=PLAIN",
"SASL-IR", "COMPRESS=DEFLATE", "IDLE")
kolab-freebusyd(2156) KIMAP::LoginJobPrivate::sasl_interact: sasl_interact
kolab-freebusyd(2156) KIMAP::LoginJobPrivate::sasl_interact:
SASL_INTERACT id: 16385
kolab-freebusyd(2156) KIMAP::LoginJobPrivate::sasl_interact:
SASL_CB_[USER|AUTHNAME]: ' "herwig.unterrichter at todes.net" '
kolab-freebusyd(2156) KIMAP::LoginJobPrivate::sasl_interact:
SASL_INTERACT id: 16386
kolab-freebusyd(2156) KIMAP::LoginJobPrivate::sasl_interact:
SASL_CB_[AUTHNAME]: ' "cyrus-admin" '
kolab-freebusyd(2156) KIMAP::LoginJobPrivate::sasl_interact:
SASL_INTERACT id: 16388
kolab-freebusyd(2156) KIMAP::LoginJobPrivate::sasl_interact:
SASL_CB_PASS: [hidden]
(23:45:02) authenticationjob.cpp(71):   authentication successful
------

but running 'openssl s_client -showcerts -connect localhost:993' shows
correctly my certificate issues for the right FQDN of the server
(www.example.com).


I found this entry in the mailing-list:
http://lists.kolab.org/pipermail/devel/2013-May/014325.html
but since I cannot the php it is not of help for me.

Any ideas what could be wrong?


Tnx.

Regards,
Hoagie


More information about the users mailing list