[dev] PostgreSQL setup

Jon Parise jon@horde.org
Sat, 23 Mar 2002 13:40:42 -0500


On Sat, Mar 23, 2002 at 04:18:03PM +0100, Jean-Michel POURE wrote:

> I am working on a CVS installation of Horde with a PostgreSQL database. 
> Basically, I would like to check compliance of Horde with PostgreSQL. 

> Warning: Undefined index: dsn in /var/www/pear/Log/sql.php on line 55
> Fatal error: Call to undefined function: query() in /var/www/pear/Log/sql.php 
> on line 114
> 
> $conf['log']['name'] = 'log_table';
> 
> Can anyone help me to implement database logs?

You're missing something like:

$conf['log']['dsn'] = 'pgsql://user@localhost/database';

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member