Fwd: Re: [kronolith] mcal error

Brandon Knitter knitterb@blandsite.org
Mon, 15 Apr 2002 19:17:21 -0700


> Quoting Chuck Hagenbuch <chuck@horde.org>:
> > > 
> > > $conf['calendar']['driver'] = 'sql';
> > 
> > 'mcal', maybe?
> > 
> Such things make for a fatal error when loading the app.  I tried to drop-
> in 
> the cvs version of kronolith, and there was screaming and error messages. 
> I 
> think I'll spend some time later tonight installing horde, et. all. from 
> CVS 
> and seeing if that helps issues.  


What Chuck was saying is that mstore is only used with the mcal driver type.

Examples:

If you want to use mcal...
$conf['calendar']['driver'] = 'mcal';
$conf['calendar']['params']['driver'] = 'mstore';
$conf['calendar']['params']['username'] = 'username';
$conf['calendar']['params']['password'] = 'password';

If you want yo use sql...
$conf['calendar']['driver'] = 'sql';
$conf['calendar']['params']['phptype'] = 'pgsql';               // or mysql
$conf['calendar']['params']['hostspec'] = 'localhost';
$conf['calendar']['params']['username'] = 'username';
$conf['calendar']['params']['password'] = 'password';
$conf['calendar']['params']['database'] = 'database';
$conf['calendar']['params']['table'] = 'kronolith_events';


Note the two driver entries must be married as such:

     mcal -> mstore
     sql  -> pgsql
     sql  -> mysql

I think mcal has another storage mechanism, but I don't recall.  The sql type
can accept pgsql or mysql (postgresql or mySQL).


-- 
-bk