question about phptype - thks

P150 - EiTheL Corp. p150 at
Sat Nov 24 08:52:26 PST 2001

Hi there!

i just downlaoded and installed latest CVS Horde/IMP/Turba.

Im using it agains mysql.

I setup in horde.php:

 ** Horde Authentication

// Which users should be treated as administrators (root, super-user)
// by Horde?
$conf['auth']['admins'] = array();

// What backend should we use for authenticating users to Horde? Valid
// options are currently 'imap', 'ldap', 'mcal', 'sql', and 'ftp'.
$conf['auth']['driver'] = 'sql';

// An array holding any parameters that the Auth object will need to
// function correctly. For IMAP, this is the server name, port,
// protocol, etc.
$conf['auth']['params'] = array();

Then under 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'] = 'user';
$conf['prefs']['params']['password'] = 'pass';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

Then i go in user table in horde db and i add manually user and pass.

Then i go to i log in as user / pass i typed in
table and it shows:

object(pear_error)(10) {
  string(0) ""
  string(0) ""
  string(0) ""
  string(65) "Required 'phptype' not specified in authentication
  string(0) ""
[/usr/local/apache/htdocs/horde/lib/Auth/sql.php : 87]

Whats wrong please?

Another question is, how i have to add and manage horde users? i have to
type in table by hand?

thks in advance.

More information about the horde mailing list