[horde] Help with login problem

Admin-Stress meerkapot at yahoo.com
Thu Jan 30 06:42:41 PST 2003


Yes, here is my auth configuration in horde.php :

$conf['auth']['driver'] = 'imap';
$conf['auth']['params'] = array();
$conf['auth']['params']['dsn'] = '{localhost/imap:143}INBOX';

I changed the prefs to $conf['prefs']['driver'] = 'session';
And, imp is now working fine, at least I can send and read email. But I knew that I can NOT save
the preferences with this setting. So, I still need to save the preferences to mysql database.

Thanks for helping me.

kapot

--- "Charles E. Robinson III" <crobins at proexam.org> wrote:
> Do you have $conf['auth']['driver'] in your config, if so please include in
> your next post.
> 
> example:
> $conf['auth']['driver'] = 'imap';
> 
> C.Robinson
> 
> -----Original Message-----
> From: horde-bounces at lists.horde.org
> [mailto:horde-bounces at lists.horde.org]On Behalf Of Admin-Stress
> Sent: Thursday, January 30, 2003 9:16 AM
> To: horde at lists.horde.org
> Subject: [horde] Help with login problem
> 
> 
> Hi, maybe this is old question, but I cant find any resources.
> 
> I installed:
> - horde 2.2
> - imp 3.1
> - php 4.3.0
> - redhat 8.0
> 
> imap and pop3 are working fine, I can access it via mail client (mutt and
> outlook express).
> 
> But, when I login into imp, I got this error :
> 
> A fatal error has occurred:
> 
> DB Error: connect failed
> 
> [line 108 of /var/www/vhost/example.com/htdocs/horde/lib/Prefs/sql.php]
> 
> Details have been logged for the administrator.
> 
> I review ../config/horde.php for mysql details :
> 
> $conf['prefs']['driver'] = 'sql';
> $conf['prefs']['params'] = array();
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'horde';
> $conf['prefs']['params']['password'] = 'horde';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
> 
> And I can connect to mysql like this :
> 
> # mysql -D horde -h localhost -u horde -p
> 
> With password=horde
> 
> Here is line 108 of sql.php :
> 
>             /* Connect to the SQL server using the supplied parameters. */
>             include_once 'DB.php';
>             $this->db = &DB::connect($this->params, true);
>             if (DB::isError($this->db)) {
> 108--->         Horde::fatal($this->db, __FILE__, __LINE__);
>             }
> 
> I checked pear DB module, and it's installed :
> 
>    # pear install DB
>    DB already installed
> 
> 
> Please help me, this is my frist time installing imp.
> 
> Thanks in advance,
> kapot
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the horde mailing list