With preferences enabled in IMP, I can no longer log in.

Joe Jenkins joe@nowalls.com
Fri, 23 Mar 2001 15:21:15 -0700


Hey guys,

When I enable pref's in my conf file in IMP, the system no longer allows me 
to login... It just sits there for like 3 minutes then eventually gives a 
failure notice.

Just to be sure, I updated both horde and imp from CVS, and then updated 
php4 from CVS, rebuilt that, and apache as well.. Same results.. Nothing 
other than LOGIN FAILED in the IMP logs...

Checking apache logs, nothing unusual in errors, but in access i show:

216.x - - [23/Mar/2001:14:56:27 -0700] "GET /login.php HTTP/1.1" 200 4097
216.x - - [23/Mar/2001:14:58:30 -0700] "POST /redirect.php HTTP/1.1" 302 5
216.x - - [23/Mar/2001:14:58:31 -0700] "GET 
/login.php?reason=failed&imapuser=joe&server=imap HTTP/1.1" 200 4231
216.x - - [23/Mar/2001:14:58:31 -0700] "GET /horde/css.php?app=imp 
HTTP/1.1" 200 2275

redirect.php seems to be the page its hanging on, its the one the server 
sits and tries to load before finally returning with a login failure.  I 
know mysql is working great, as well when I load the test.php page, 
everything is working there too... Any ideas?  Other than this CVS 2.3.7 is 
working fine..

Joe Jenkins


/**
  ** Preference System Settings
  **/

// What preferences driver should we use? Valid values are 'none'
// (meaning use system defaults and don't save any user preferences),
// 'session' (preferences only persist during the login), 'ldap',
// and 'sql'
//
// $conf['prefs']['driver'] = 'none';

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

/**
  ** Preference System Settings
  **/

$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'hordemgr';
$conf['prefs']['params']['password'] = 'hordepass';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';