Author Topic: Roundcube calendar plugin not working  (Read 63415 times)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Roundcube calendar plugin not working
« Reply #30 on: November 30, 2010, 10:48:29 AM »
./plugins/calendar/config/config.inc.php[.dist]

// backend type (dummy, database), see README
// Note: "dummy" is only for demonstrating basic functionality.
$rcmail_config['backend'] = "dummy"; <--- replace this with database and create the database table (use suitable script in SQL folder).
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Theet

  • Jr. Member
  • **
  • Posts: 42
suitable script in SQL folder
« Reply #31 on: November 30, 2010, 11:42:47 AM »
Quote from: rosali;31584
./plugins/calendar/config/config.inc.php[.dist]

// backend type (dummy, database), see README
// Note: "dummy" is only for demonstrating basic functionality.
$rcmail_config['backend'] = "dummy"; <--- replace this with database and create the database table (use suitable script in SQL folder).

I have done this, but what name I have to give the backend?

"events"  does'nt work for example What is the name of the database?
If I give the database the name "database" then I get a server error...

I have also used the suitable PostgreSQL script in the SQL folder of the calendar.

I have read the README but I don't know what to do...
« Last Edit: November 30, 2010, 12:18:06 PM by Theet »

Offline dshepherd

  • Jr. Member
  • **
  • Posts: 87
Roundcube calendar plugin not working
« Reply #32 on: November 30, 2010, 12:09:37 PM »
You will need to use the name of your main RC database for the 'backend' variable. Then create the events table in this database using the relevant file in the SQL folder for your database type.

Offline Theet

  • Jr. Member
  • **
  • Posts: 42
Name of the database
« Reply #33 on: November 30, 2010, 12:19:53 PM »
Quote from: dshepherd;31587
You will need to use the name of your main RC database for the 'backend' variable. Then create the events table in this database using the relevant file in the SQL folder for your database type.


The name of the database is "roundcubemail"
In this database I have import the "events"

If I do this and rename "dummy" into "roundcubemail" then I see nothing when I try to login IMAP...

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Roundcube calendar plugin not working
« Reply #34 on: November 30, 2010, 02:20:53 PM »
Create in database roundcubemail the table events and set backend to database. Maybe you have problems because you are on postgresql. It is coded for mysql. postgresql script is a contribution of users. I don't use postgresql.

Which RC version do you use? Notice, it requires 0.5 beta.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Theet

  • Jr. Member
  • **
  • Posts: 42
Backend en RC version
« Reply #35 on: December 01, 2010, 04:04:33 AM »
Quote from: rosali;31590
Create in database roundcubemail the table events and set backend to database. Maybe you have problems because you are on postgresql. It is coded for mysql. postgresql script is a contribution of users. I don't use postgresql.

Which RC version do you use? Notice, it requires 0.5 beta.


I use now RC 0.5 beta. I have to look for possibilities how to make the database as backend. I'll be back for details...

Offline Theet

  • Jr. Member
  • **
  • Posts: 42
Backend PostgreSQL
« Reply #36 on: December 02, 2010, 08:28:54 AM »
Quote from: Theet;31596
I use now RC 0.5 beta. I have to look for possibilities how to make the database as backend. I'll be back for details...


The database "roundcubemail" seems to be the backend, with table "events",
but if I setup this in the config.inc.php file, then I will nothing see and I
could not login to roundcube v0.5 anymore....

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Roundcube calendar plugin not working
« Reply #37 on: December 02, 2010, 08:57:31 AM »
What did you exactly put into the config file?

Anything in error log?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Theet

  • Jr. Member
  • **
  • Posts: 42
Roundcube calendar plugin not working
« Reply #38 on: December 02, 2010, 10:04:01 AM »
Quote from: rosali;31621
What did you exactly put into the config file?

Anything in error log?

Please see the attachements (jpg = view database and php = config file)

If I change dummy into roundcubemail then I see nothing after login roundcubemail.
If I change roundcubemail back to dummy then it will be back to original "read only calendar"

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Roundcube calendar plugin not working
« Reply #39 on: December 02, 2010, 10:21:28 AM »
wrong:

// backend type (dummy, database), see README
// Note: "dummy" is only for demonstrating basic functionality.
$rcmail_config['backend'] = 'database'; //not roundcubemail here!!!
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Theet

  • Jr. Member
  • **
  • Posts: 42
Server Fout
« Reply #40 on: December 02, 2010, 11:37:57 AM »
Quote from: rosali;31625
wrong:

// backend type (dummy, database), see README
// Note: "dummy" is only for demonstrating basic functionality.
$rcmail_config['backend'] = 'database'; //not roundcubemail here!!!

I have changed "roundcubemail" in "database" and I can login to roundcube!
But for the calendar roundcube gives the sign "Server Fout" (server error).
I think this is about the calendar, because mail is working now!

I also connot insert new appointments, so it looks like the events table is not yet reachable for
the plugin? what to do?
« Last Edit: December 02, 2010, 11:40:32 AM by Theet »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Roundcube calendar plugin not working
« Reply #41 on: December 02, 2010, 01:59:40 PM »
There is something wrong with your setup. I'm not a visionary. Check your logs ...
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Dronch

  • Newbie
  • *
  • Posts: 7
Roundcube calendar plugin not working
« Reply #42 on: December 03, 2010, 04:48:20 AM »
Why, when i add event expires till 10th date in calendar view event show till 11th date?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Roundcube calendar plugin not working
« Reply #43 on: December 03, 2010, 05:09:27 AM »
Maybe this bug is fixed: Check Downloads - myroundcube - Project Hosting on Google Code (beta version).
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Dronch

  • Newbie
  • *
  • Posts: 7
Roundcube calendar plugin not working
« Reply #44 on: December 03, 2010, 05:35:20 AM »
Quote from: rosali;31653
Maybe this bug is fixed: Check Downloads - myroundcube - Project Hosting on Google Code (beta version).
I cant use new version of calendar. Because after install this new version i see only white screen instead of login page. How to fix problem with Expires in old version? Thanks!