[kronolith] Problem to add (save) a new event

Jan Schneider jan@horde.org
Wed, 17 Oct 2001 15:54:05 +0200


Zitat von Eric Piollet <eric.piollet@chpyr.aquisante.fr>:

> Help Help Please ! !!!!!
> I have the last PHP package, I've installed it 
> recompile PHP & Apache 
> Result  = Nothing
> 
> > > In conf.php when i choose 'sql' :
> > > I have when i want to save a new event :
> > > 
> > > Fatal error: Call to a member function on a non-object in
> > > /etc/httpd/htdocs/horde/kronolith/lib/Driver/sql.php on line 186
> > 
> > Sounds like your sql driver isn't set up correctly and it isn't connecting
> to 
> > your database.
> 
> 
> How can i configure the connection to my database ?
> Where is my problem ?

Try something like this in conf.php:

$conf['calendar']['params'] = array
('phptype'=>'mysql', 'hostspec'=>'localhost', 'username'=>'hordemgr', 'password'
=>'XXXXX', 'database'=>'horde', 'table'=>'kronolith_events');

Jan.

:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::