[imp] Receivin error during login

Jason Cohen kryojenik at steltek.com
Wed Dec 18 21:11:11 PST 2002


Never mind. I figured it out. The prefs section in config/horde.php
didn't have an example for pgsql so I guessed. I needed a
[prefs][parms][port] line. My pgsql example now looks like this:

$conf['prefs']['params']['phptype'] = 'pgsql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = '****';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['port'] = '5432'; //This is the line I was
missing.
$conf['prefs']['params']['table'] = 'horde_prefs';

-----Original Message-----
From: imp-bounces@lists.horde.org [mailto:imp-bounces@lists.horde.org]
On Behalf Of Jason Cohen
Sent: Wednesday, December 18, 2002 8:32 PM
To: imp@lists.horde.org
Subject: [imp] Receivin error during login

I am new to most of the tools related to horde and imp. I just finished
migrating from qmail + squirrelmail to postfix + horde/imp.

I am running Mandrake 9.0 postgresql for the prefs back-end and most
everything seems to be working, prefs are saved in the database I can
read email. However, when I attempt to login I get the following:

Notice: Undefined index: port in /usr/lib/php/pear/DB/pgsql.php on line
94

Warning: Cannot add header information - headers already sent by (output
started at /usr/lib/php/pear/DB/pgsql.php:94) in
/var/www/horde/imp/redirect.php on line 84

I then hit refresh and everything seems to operate as normal.

I have been digging around and can't find anything related to this error
nor can I seem to find any logs that might point me in the correct
direction. 

I have never used postgresql, pear, or gotten into php until this week.
I am continuing to read and search for this and learn PHP on the way. I
was hoping someone could point me in the right direction to either
narrow my search or fix the problem.

Jason



-- 
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org




More information about the imp mailing list