[imp] IMP and Postgres

Stacy J. Dunkle sdunkle at pennswoods.net
Thu Apr 10 18:16:58 PDT 2003


Hey all,

 Trying to get Horde/IMP to store preferences in a local postgres database.

 I followed all of the instructions, ran all of the required scripts, etc., 
but I get this error upon logging in to Horde:

A fatal error has occurred:
DB Error: connect failed
[line 108 of /usr/local/apache/htdocs/hordetest/lib/Prefs/sql.php]
Details have been logged for the administrator.

 Here is the setup section for it in horde.php:

$conf['prefs']['driver'] = 'sql';

// Any parameters that the preferences driver needs. This includes
// database or ldap server, username/password to connect with, etc.
$conf['prefs']['params'] = array();

// This is an example configuration for a MySQL preference backend.
// The SQL script to setup the preference database is placed in
// horde/scripts/db/prefs.sql.
$conf['prefs']['params']['phptype'] = 'pgsql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = 'pass';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

Any help would be appreciated.

Thanks!
Stace

-- 
Stacy J. Dunkle
Network Engineer,
Pennswoods.net






More information about the imp mailing list