Hello,
I have some problems setting up the calendar Plugin, maybe I'm just too stupid right now ;-)
What I did:
1. Copied the calendar folder into the plugin directory of Roundcube
2. Copied the jqueryui plugin into the plugin directory of Roundcube
3. Updated the plugin section in config/main.inc.php
// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array('jqueryui', 'contextmenu', 'calendar');
4. Updated the database using the script in /SQL (mysql.sql) -> The database entries were created correctly.
5. Renamed the file config.inc.php.dist to config.inc.php and set the backend-mode to "database":
// backend type (dummy, database), see README
// Note: "dummy" is only for demonstrating basic functionality.
$rcmail_config['backend'] = "database";
6. Made the directory /temp writeable
After doing this, I cannot use Roundcube anymore as it is showing a blank page.
The url .../?_task=dummy&_action=plugin.calendar_tests is showing a blank page too.
Is there anything I did wrong?
Kind regards
#1- Which Roundcube/Calendar Plugin Version are you running?
#2- Are there entries in Roundcube's error log?
Hello rosali,
Thank you for your answer,
currently I'm running Roundcube 0.6 and the jquery calendar version 4.9 - 13.09.2011.
Here the extract from the error log:
Quote[07-Oct-2011 20:03:47] PHP Fatal error: Call to undefined method calendar::require_plugin() in /www/htdocs/w00dada4/FeralFox/Roundcube/plugins/calendar/calendar.php on line 81
//Edit:
When I comment out that line everything works fine :)
// Edit 2:
Not that fine, unfortunately; I cannot find any way how to add new entries
Quote[08-Oct-2011 00:02:12] PHP Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /www/htdocs/w00dada4/FeralFox/Roundcube/plugins/calendar/program/class.http.php on line 711
[08-Oct-2011 00:09:14 +0200]: PHP Error: No handler found for action plugin.calendar_syncEventsundefined in /www/htdocs/w00dada4/FeralFox/Roundcube/program/include/rcube_plugin_api.php on line 292 (GET /?_task=dummy&_remote=1&_action=plugin.calendar_syncEventsundefined&_=1318025354842&_unlock=0)
[08-Oct-2011 00:10:12 +0200]: PHP Error: No handler found for action plugin.calendar_syncEventsundefined in /www/htdocs/w00dada4/FeralFox/Roundcube/program/include/rcube_plugin_api.php on line 292 (GET /?_task=dummy&_remote=1&_action=plugin.calendar_syncEventsundefined&_=1318025414846&_unlock=0)
[08-Oct-2011 00:11:07 +0200]: PHP Error: No handler found for action plugin.calendar_renewundefined in /www/htdocs/w00dada4/FeralFox/Roundcube/program/include/rcube_plugin_api.php on line 292 (GET /?_task=dummy&_remote=1&_action=plugin.calendar_renewundefined&_=1318025470077&_unlock=0)
[08-Oct-2011 00:12:07 +0200]: PHP Error: No handler found for action plugin.calendar_syncEventsundefined in /www/htdocs/w00dada4/FeralFox/Roundcube/program/include/rcube_plugin_api.php on line 292 (GET /?_task=dummy&_remote=1&_action=plugin.calendar_syncEventsundefined&_=1318025528062&_unlock=0)
[08-Oct-2011 00:13:09 +0200]: PHP Error: No handler found for action plugin.calendar_syncEventsundefined in /www/htdocs/w00dada4/FeralFox/Roundcube/program/include/rcube_plugin_api.php on line 292 (GET /?_task=dummy&_remote=1&_action=plugin.calendar_syncEventsundefined&_=1318025588067&_unlock=0)
[08-Oct-2011 00:17:54 +0200]: PHP Error: No handler found for action plugin.calendar_syncEventsundefined in /www/htdocs/w00dada4/FeralFox/Roundcube/program/include/rcube_plugin_api.php on line 292 (GET /Roundcube/?_task=dummy&_remote=1&_action=plugin.calendar_syncEventsundefined&_=1318025875884&_unlock=0)
[08-Oct-2011 00:18:58] PHP Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /www/htdocs/w00dada4/FeralFox/Roundcube/plugins/calendar/program/class.http.php on line 711
[08-Oct-2011 00:19:58 +0200]: PHP Error: No handler found for action plugin.calendar_syncEventsundefined in /www/htdocs/w00dada4/FeralFox/Roundcube/program/include/rcube_plugin_api.php on line 292 (GET /Roundcube/?_task=dummy&_remote=1&_action=plugin.calendar_syncEventsundefined&_=1318026000179&_unlock=0)
Since Roundcube 0.6 there is no need to register 'jqueryui' plugin.
But it looks like you are not running Roundcube 0.6.
The method require_plugin has been introduced in Roundcube 0.6. Your first error log states that this method does not exist. You could cross check if the following section exists in ./program/include/rcube_plugin.php:
Line: 88
/**
* Attempt to load the given plugin which is required for the current plugin
*
* @param string Plugin name
* @return boolean True on success, false on failure
*/
public function require_plugin($plugin_name)
{
return $this->api->load_plugin($plugin_name);
}
My fault, I used a version of Roundcube that I've installed a few weeks ago, so it still was version 0.5.1.
I updated Roundcube and everything works well now.
Thank you very much for your help!