Roundcube Community Forum

 

Calendar plugin

Started by sahi, March 05, 2012, 07:28:10 PM

Previous topic - Next topic

sahi

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

SKaero

Whats in the RoundCube error log?

sahi

Where can i see the roundcube error log?

SKaero


sahi

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$

rosali

Which PHP version do you use? I guess you use a version < 5.3. Update and you should be done.
Regards,
Rosali

sahi

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

sahi

Found it

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


i'll update and try if the plugin works then!

sahi

#8
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

rosali

Configure the right path to cal_tempdir in calendar config!
Regards,
Rosali