Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: sahi on March 05, 2012, 07:28:10 PM

Title: Calendar plugin
Post by: sahi on March 05, 2012, 07:28:10 PM
Hello,

Ive updated my roundcube installation to 0.7.1 and downloaded the 0.7.1 v1.7 plugin bundle.

When i activate the calendar plugin i get an error 500. I cannot find the problem. I did the following steps:

Alter tables 'events', 'events_cache' and 'events_caldav':
1. Field 'recurrence_id' must be type integer, length 10
2. Insert new field 'exdates' type text (accept null)


(*) calendar: Requires http_auth plugin!



don't know what to do with:

(*) calendar [new config values 'cal_tempdir', 'caldav_debug']



I also did the following for the google_contacts plugin:

If you are using addressbook related plugins:

You may get an ERROR 500 if the plugin is not bindend to task 'dummy'.
If so, bind these plugins to task 'dummy':

1. Open ./plugins//.php
2. Find: public $task
3. Add 'dummy' to var task f.e.: public $task = 'mail|addressbook|dummy';

Can somebody help me with the problem? It worked on 0.6 (don't remember what version)

Thanks
Title: Calendar plugin
Post by: SKaero on March 05, 2012, 09:13:05 PM
Whats in the RoundCube error log?
Title: Calendar plugin
Post by: sahi on March 06, 2012, 01:39:21 AM
Where can i see the roundcube error log?
Title: Calendar plugin
Post by: SKaero on March 06, 2012, 01:53:08 AM
/logs/errors
Title: Calendar plugin
Post by: sahi on March 06, 2012, 11:40:12 AM
The error in the Log is:

[06-Mar-2012 17:36:50] PHP Parse error:  syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ')' in /var/www/html/roundcubemail-0.7.1/plugins/calenda$
[06-Mar-2012 17:36:58] PHP Parse error:  syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ')' in /var/www/html/roundcubemail-0.7.1/plugins/calenda$
Title: Calendar plugin
Post by: rosali on March 06, 2012, 01:52:34 PM
Which PHP version do you use? I guess you use a version < 5.3. Update and you should be done.
Title: Calendar plugin
Post by: sahi on March 06, 2012, 03:09:10 PM
I have 5.2.13 installed but  ./build update shows 5.2.17 is available.
Thats also <5.3

But i'll update to 5.2.17 for now
Title: Calendar plugin
Post by: sahi on March 06, 2012, 03:28:45 PM
Found it

./build set php5_ver 5.3
./build update
./build php n


i'll update and try if the plugin works then!
Title: Calendar plugin
Post by: sahi on March 06, 2012, 03:43:34 PM
I got the calendar working. Thanks for helping me!



Now i get:

Misconfiguration: $rcmail_config["cal_tempdir"] = C:/yxz/htdocs/webmail/plugins/calendar/temp/ does not exist!

/temp does exist, but not on  C:/yxz/htdocs/webmail it is in /var/www/html/roundcube/plugins/calendar
Title: Calendar plugin
Post by: rosali on March 09, 2012, 12:29:34 AM
Configure the right path to cal_tempdir in calendar config!