[Kolab-devel] Caldav Problems

Daniel Morlock daniel.morlock at gmail.com
Wed May 28 10:19:50 CEST 2014


Hi Josef,

the default config in the repository is indeed out-dated. I will replace 
that with a config that is compatible to Roundcube 1.0.1. In the 
meantime, you can try to use the following snippet as config:

<?php
     $config['calendar_driver'] = array("caldav", "ical");
     $config['calendar_default_view'] = "agendaWeek";
     $config['calendar_timeslots'] = 2;
     $config['calendar_first_day'] = 1;
     $config['calendar_first_hour'] = 6;
     $config['calendar_work_start'] = 6;
     $config['calendar_work_end'] = 18;
     $config['calendar_event_coloring'] = 0;

     $config['calendar_crypt_key'] = "put here some random key";

     $config['calendar_caldav_debug'] = false;
     $config['calendar_ical_debug'] = false;

     if (file_exists(RCUBE_CONFIG_DIR . '/' . $_SERVER["HTTP_HOST"] . '/' 
. basename(__FILE__))) {
         include_once(RCUBE_CONFIG_DIR . '/' . $_SERVER["HTTP_HOST"] . 
'/' . basename(__FILE__));
     }

?>

Please note that if no Kolab Groupware is involved, you cannot add the 
"kolab" calendar driver to $config['calendar_driver']. This causes the 
"required kolabformat" error you posted above.

Regards,
Daniel.


On 2014-05-28 09:51, Josef Tschiggerl wrote:
> Hi all,
> 
> I am currently trying to get the CALDAV plugin(s) for Roundcube
> working on my webserver (Using Roundcube 1.0.1, no Kolab Groupware
> involved).
> Looks like I am having difficulties getting the latest and correct
> version of the necessary files from
> https://gitlab.awesome-it.de/kolab/roundcube-plugins
> 
> What I did so far:
> # git clone https://gitlab.awesome-it.de/kolab/roundcube-plugins.git
> plugins-caldav
> # cd plugins-caldav
> # git checkout roundcubemail-plugins-kolab-caldav-3.1.11-r1
> 
> After that I added "$config['calendar_driver'] = array("kolab",
> "caldav", "ical");" to config.inc.php
> (config.inc.php header says "Version 0.7-beta", is that correct?)
> It's a bit odd that all other settings/variables in this file start
> with "$rcmail_config" instead of "$config"
> 
> In addition I applied the three .sql files for caldav, ical and
> calendar - no problems.
> 
> Upon adding a new caldav calendar in Roundcube I get some serious php
> warnings/errors in the logs:
> 
> May 28 09:48:31 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:31 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:31 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:32 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET /?_task=calendar)
> May 28 09:48:46 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET
> /?_task=calendar&_action=calendar&action=form-new&driver=caldav&_=1401263312288)
> May 28 09:48:49 sunrise roundcube: PHP Error: required kolabformat
> module not found (GET
> /?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_uids=274%2C280%2C281&_last=1401263268&_action=refresh&_remote=1&_unlock=loading1401263328858&_=1401262187819)
> May 28 09:49:13 sunrise roundcube: PHP Error: required kolabformat
> module not found (POST
> /?_task=calendar&_action=calendar?_task=&_action=)
> May 28 09:49:13 sunrise roundcube: PHP Fatal error:  Class
> vobject_location_property contains 3 abstract methods and must
> therefore be declared abstract or implement the remaining methods
> (Sabre\VObject\Property::getValueType,
> Sabre\VObject\Property::setRawMimeDirValue,
> Sabre\VObject\Property::getRawMimeDirValue) in
> /var/www/mail.tschiggerl.name/plugins/libcalendaring/libvcalendar.php
> on line 1061
> 
> (I read through the
> http://lists.kolab.org/pipermail/devel/2014-February/014878.html
> postings but it didn't help me :( )
> 
> Could you please point me in the right direction - I am stuck :(
> 
> _______________________________________________
> devel mailing list
> devel at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/devel


More information about the devel mailing list