Author Topic: Calendar plugin  (Read 9822 times)

Offline sahi

  • Newbie
  • *
  • Posts: 9
Calendar plugin
« 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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Calendar plugin
« Reply #1 on: March 05, 2012, 09:13:05 PM »
Whats in the RoundCube error log?

Offline sahi

  • Newbie
  • *
  • Posts: 9
Calendar plugin
« Reply #2 on: March 06, 2012, 01:39:21 AM »
Where can i see the roundcube error log?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Calendar plugin
« Reply #3 on: March 06, 2012, 01:53:08 AM »
/logs/errors

Offline sahi

  • Newbie
  • *
  • Posts: 9
Calendar plugin
« Reply #4 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$

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #5 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.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline sahi

  • Newbie
  • *
  • Posts: 9
Calendar plugin
« Reply #6 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

Offline sahi

  • Newbie
  • *
  • Posts: 9
Calendar plugin
« Reply #7 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!

Offline sahi

  • Newbie
  • *
  • Posts: 9
Calendar plugin
« Reply #8 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
« Last Edit: March 06, 2012, 03:51:59 PM by sahi »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #9 on: March 09, 2012, 12:29:34 AM »
Configure the right path to cal_tempdir in calendar config!
Regards,
Rosali
__________________
MyRoundcube Project (commercial)