Roundcube Community Forum

 

Roundcube calendar plugin not working

Started by pinemail11, April 20, 2010, 01:23:03 PM

Previous topic - Next topic

rosali

./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

Theet

#31
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...

dshepherd

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.

Theet

Quote from: dshepherd;31587You 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...

rosali

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

Theet

Quote from: rosali;31590Create 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...

Theet

Quote from: Theet;31596I 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....

rosali

What did you exactly put into the config file?

Anything in error log?
Regards,
Rosali

Theet

Quote from: rosali;31621What 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"

rosali

wrong:

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

Theet

#40
Quote from: rosali;31625wrong:

// 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?

rosali

There is something wrong with your setup. I'm not a visionary. Check your logs ...
Regards,
Rosali

Dronch

Why, when i add event expires till 10th date in calendar view event show till 11th date?

rosali

Regards,
Rosali

Dronch

Quote from: rosali;31653Maybe 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!