[horde] Horde and MySQL problem

Adam Kuklycz adamk at mcservices.com.au
Sat May 8 05:11:39 PDT 2004

Hi all

I've been working on an upgrade to horde/imp/turba/kronolith today and
trying to upgrade the versions to current.  My production setup of horde is
getting old and I'm keen to get some nice new features up and running.

This time around I am trying to get horde 2.2.5 installed and using the
MySQL database that is running on the local machine.

However everytime I try to log in a user, it keeps showing up as:

Required 'phptype' not specified in authentication configuration.

[line 97 of /pub/web/horde/lib/Auth/sql.php]

Details have been logged for the administrator.

So I checked horde.php and ensured the following (after reading this list
time and time again):

$conf['auth']['driver'] = 'sql';
$conf['auth']['params'] = array();

And in preferences section -->

$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';

With that, it didn't work.  I used the mysql_create.sql file to create the
database and tables and double checked them against the configs as mentioned

So digging deeper I tried uncommenting -->

$conf['sessionhandler']['params'] = array();
$conf['sessionhandler']['params']['phptype'] = 'mysql';
$conf['sessionhandler']['params']['hostspec'] = 'localhost';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = 'horde';
$conf['sessionhandler']['params']['database'] = 'horde';

Obviously replacing the password with something other than horde in all

Can anyone please help me with this problem?  What am I missing here?

Adam Kuklycz

More information about the horde mailing list