[kronolith] Connecting to Kronolith

Jan Schneider jan@horde.org
Sun, 27 Jan 2002 17:32:33 +0100


Zitat von Ryan Hairyes <rhairyes@lee.k12.nc.us>:

> 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
> > >                   }

Hm, the configuration looks good. Did you try to set error_reporting to 
E_ALL to see if there are any warnings that could give a hint what's going 
wrong?

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
::::::::::::::::::::::::::::::::::::::::::::::