[Kolab-devel] Undefined class constant 'kolabformat::PartInProcess

Mihai Badici mihai at badici.ro
Tue Jan 22 21:52:03 CET 2019


Hello,

I tried to upgrade an older installation to roundcube 1.3.8 (only the
webmail).

It is a source install on slackware so I downloaded roundcube, I cloned

https://git.kolab.org/diffusion/LKX/
https://git.kolab.org/diffusion/RPK

Also I used sabre-io and PNL ( ldap3) but that's not important.

I have this error which seems to be calendar related:


Europe/Bucharest] PHP Fatal error:  Undefined class constant
'kolabformat::PartInProcess' in
/usr/share/roundcubemail-1.3.8/plugins/libkolab/lib/kolab_storage.php on
line 106

The constants are invoked in kolab_format_xcal.php and replacing this
file with an older version worked.

Seems to be related to the version of libkolabxml I installed.

If so, maybe will be a good idea to change the tag's schema in git
repo's to reflect the compatibility , ie the tag v5.0 in libkolabxml is
compatible to tag 5.0 in kolab-plugins  

Also there is an older issue in roundcube which can be easy fixed:

When running "composer install" I have

Your configuration does not allow connections to
http://plugins.roundcube.net/packages.json

The default configuration of composer do not allow me to use http;
changing to https fix the issue.


I still had to struggle with the older sabredav VObject issue ( There is
an autoload missing somewhere, so I needed to include manually some
files în libvcalendar.php ) .

In the end I managed to made it work but source install is a good test
for the fiability of the process.



More information about the devel mailing list