[kronolith] base.php problem
Joggelichopf
joggelichopf@hotmail.com
Thu, 22 Aug 2002 16:08:01 +0200
Hello All!!!
I show up with an old already discussed problem. Even tough it's discussed I
couldn't find usful help.
The 'Warnig' that turns into a 'Fatal Error' is written below. I installed
Horde 2.1, Imp 3.1 and the latest stable release of Kronolith. The CSV
Version did ot resolve my problem so I tried it again with the latest stable
release. Did anybody find a solution to resolve this Problem? Is it only an
issue of MYSQL users? By the way, I do not have MCAL installed but the PHP
engine is compiled to support it. I guess I don't need it, because I'd like
to use only MYSQL to store the data. The account management shold work via
the IMAP driver. Is it an authentication problem?
As you all see, I have a lot of questions. Some of them were never mentioned
in the history of troubleshooting this problem. Possibly the matter es well.
I'm looking forward to see this 'Post Thread' ending in a solution for MYSQL
users.
Many thanks
--raffi
-------------------------------------------------------
Warning: Undefined index: calendar in
/home/www/web7/html/horde/kronolith/lib/base.php on line 70
Warning: Undefined index: calendar in
/home/www/web7/html/horde/kronolith/lib/base.php on line 70
Fatal error: Call to a member function on a non-object in
/home/www/web7/html/horde/kronolith/lib/base.php on line 71
---------------------------------------------------------------
/**
** Calendar Driver Settings
**/
// What calendar backend is being used? Right now, the only options are
// 'mcal' and 'sql', but others may appear at some point in the future.
$conf['calendar']['driver'] = 'sql';
// What MCAL driver is being used? 'mstore' is the local file driver,
// and is the only one with extensive testing. There is also an ICAP
// driver, and theoretically an ICAP server, but Kronolith has not
// been tested with them.
//$conf['calendar']['params']['driver'] = 'sql';
// The mstore driver requires a username and a password that is in
// /etc/mpasswd in order to access local calendars.
//$conf['calendar']['params']['username'] = '';
//$conf['calendar']['params']['password'] = '';
This is an example configuration for an sql driver, in this case MySQL.
$conf['calendar']['params']['phptype'] = 'mysql';
$conf['calendar']['params']['hostspec'] = 'localhost';
$conf['calendar']['params']['username'] = 'horde21';
$conf['calendar']['params']['password'] = 'horde21';
$conf['calendar']['params']['database'] = 'horde21';
$conf['calendar']['params']['table'] = 'kronolith_events';
-----------------------------------------------------------------------
---------from horde/config/registry.php ----------------------------
$this->applications['kronolith'] = array(
'fileroot' => dirname(__FILE__) . '/horde/kronolith',
'webroot' => $this->applications['horde']['webroot'] . '/kronolith',
'icon' => $this->applications['horde']['webroot'] .
'/kronolith/graphics/kronolith.gif',
'name' => _("Calendar"),
'allow_guests' => false,
'show' => true
);