[kronolith] Connecting to Kronolith

Ryan Hairyes rhairyes@lee.k12.nc.us
Sat, 26 Jan 2002 23:27:36 -0500


Yes I do, the only thing that I changed is the table name.  And the table
does exist.  I actually copied and pasted the information into the configuration
file.


This is what I have in the conf.php file:
$conf['calendar']['driver'] = 'sql';
$conf['calendar']['params'] = array();
$conf['calendar']['params']['phptype'] = 'pgsql';
$conf['calendar']['params']['hostspec'] = 'lee.k12.nc.us';
$conf['calendar']['params']['username'] = 'horde';
$conf['calendar']['params']['password'] = '****'; <- not the real passwd of 
course ;)
$conf['calendar']['params']['database'] = 'horde';
$conf['calendar']['params']['table'] = 'kronolith_events';

Quoting Jan Schneider <jan@horde.org>:

> Zitat von Ryan Hairyes <rhairyes@lee.k12.nc.us>:
> 
> > Hello All,
> > 
> > I have this problem with Kronolith, this is what I get when I try to 
> > access the software:
> > 
> > 
> > object(db_error)(10) {
> >                     ["error_message_prefix"]=>
> >                     string(0) ""
> >                     ["error_prepend"]=>
> >                     string(0) ""
> >                     ["error_append"]=>
> >                     string(0) ""
> >                     ["mode"]=>
> >                     int(1)
> >                     ["level"]=>
> >                     int(1024)
> >                     ["code"]=>
> >                     int(-24)
> >                     ["message"]=>
> >                     string(24) "DB Error: connect failed"
> >                     ["debuginfo"]=>
> >                     string(0) ""
> >                     ["userinfo"]=>
> >                     string(139) " [nativecode=
> >                   Warning:  Unable to connect to PostgreSQL server: 
> > (null) in
> >                   /usr/share/php/pear-4.0.7RC3/DB/pgsql.php on line 114
> >                   ] ** Array"
> >                     ["callback"]=>
> >                     NULL
> >                   }
> >                  
> > [/usr2/www/html/horde_blah/kronolith/lib/Driver/sql.php:72]
> > 
> > 
> > I am also running Turba and IMP and they are all under the same database
> > and
> > connect correctly.  Any ideas on what I have done wrong?
> 
> Do you also use the same driver params in Kronolith as in Horde or Turba?
> 
> 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
> ::::::::::::::::::::::::::::::::::::::::::::::
> 
> -- 
> Kronolith mailing list: http://horde.org/kronolith/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org
>