Roundcube Community Forum

SVN Releases => Issues & Bugs => Topic started by: satvader on November 12, 2016, 10:25:25 PM

Title: Roundcube won't show messages after loading Kolab Calendar plugin
Post by: satvader on November 12, 2016, 10:25:25 PM
When I add "calendar" to config['plugins'] =  on roundcube config.inc.php 
roundcube won't show messages on the preview pane or open them on a window..

any help will be appreciated!
Title: Re: Roundcube won't show messages after loading Kolab Calendar plugin
Post by: JohnDoh on November 13, 2016, 05:28:11 AM
Check the Roundcube error log for more information
Title: Re: Roundcube won't show messages after loading Kolab Calendar plugin
Post by: satvader on November 13, 2016, 01:36:39 PM
I check the errors log and this message is multiple times as I been activating and deactivating the plugin many times,

[12-Nov-2016 18:53:28 America/Los_Angeles] PHP Fatal error:  Class 'Sabre\VObject\Property\Text' not found in /opt/roundcube/plugins/libcalendaring/libvcalendar.php on line 1386
Title: Re: Roundcube won't show messages after loading Kolab Calendar plugin
Post by: bmickler on January 10, 2018, 08:31:30 PM
Hi all, I'm also seeing this bug.

Analysis of the logs shows the same thing satvader is seeing. 

I've tried to comb through the code to track down what's going on but cannot figure it out.  Saw this with both roundcube 1.3.0 and 1.3.3.  Server is Unbuntu 16.04 / Apache 2

Tried the following and still no dice:

https://gitlab.com/kolab-roundcube-plugins/calendar/issues/10
Title: Re: Roundcube won't show messages after loading Kolab Calendar plugin
Post by: bmickler on January 10, 2018, 10:08:29 PM
FIXED!!! (for me, anyway).

My system contains some components that were manually installed rather than via install scripts.  I knew this was probably somehow causing the problems.

I stumbled onto this article (https://www.roundcubeforum.net/index.php?topic=24600.0) and tried mbadici's approach but it quickly became an endless cycle of trying to include some other file.  then I got some PHP fatal errors related to missing interfaces which could not easily be solved by just including another file.  a new approach was needed, but I liked the train of thought.

Anyway, to fix this issue I followed the installation instructions for sabre here:

   http://sabre.io/dav/install/

specifically, the line that says "To use it, just unzip it and include the autoload.php file in the vendor/ directory."

So, I just had to add a line at the top of my "<roundcube_installation_path>/plugins/libcalendaring/libvcalendar.php" to included this autoload.php file and the problem was solved.  yay
Title: Re: Roundcube won't show messages after loading Kolab Calendar plugin
Post by: nightflame on January 17, 2018, 03:32:05 AM
So, I just had to add a line at the top of my "<roundcube_installation_path>/plugins/libcalendaring/libvcalendar.php" to included this autoload.php file and the problem was solved.  yay

Yup that did the trick for me. Simple as that!

Thanks.
Title: Re: Roundcube won't show messages after loading Kolab Calendar plugin
Post by: marceloleaes on December 18, 2019, 09:32:26 PM
Hello, I have the same problem, everything works however when opening the email blank screen and trying to open in a tab error 500.

In error.log

PHP Fatal error: Class 'Saber \ VObject \ Property \ Text' not found in /var/www/clients/client1/web72/web/plugins/libcalendaring/libvcalendar.php on line 1451

Could you share the solution step by step?


FIXED!!! (for me, anyway).

My system contains some components that were manually installed rather than via install scripts.  I knew this was probably somehow causing the problems.

I stumbled onto this article (https://www.roundcubeforum.net/index.php?topic=24600.0) and tried mbadici's approach but it quickly became an endless cycle of trying to include some other file.  then I got some PHP fatal errors related to missing interfaces which could not easily be solved by just including another file.  a new approach was needed, but I liked the train of thought.

Anyway, to fix this issue I followed the installation instructions for sabre here:

   http://sabre.io/dav/install/

specifically, the line that says "To use it, just unzip it and include the autoload.php file in the vendor/ directory."

So, I just had to add a line at the top of my "<roundcube_installation_path>/plugins/libcalendaring/libvcalendar.php" to included this autoload.php file and the problem was solved.  yay