[horde] Horde and MySQL problem

Adam Kuklycz adamk at mcservices.com.au
Sat May 8 15:36:41 PDT 2004


Yep the passwords match!


-----Original Message-----
From: Thomas O'Brien [mailto:thomas at creativebusinessystems.com] 
Sent: Sunday, 9 May 2004 2:41 AM
To: 'Adam Kuklycz'
Cc: horde at lists.horde.org
Subject: RE: [horde] Horde and MySQL problem

I use CVS HEAd so maybe this is a stupid question, but... Did you specify a
new password in the mysql_create.sql before executed it?

Just a thought


-----Original Message-----
From: horde-bounces at lists.horde.org [mailto:horde-bounces at lists.horde.org]
On Behalf Of Adam Kuklycz
Sent: Saturday, May 08, 2004 5:12 AM
To: horde at lists.horde.org
Subject: [horde] Horde and MySQL problem

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
above...

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
cases!!

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

Thanks!
Adam Kuklycz


--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail:
horde-unsubscribe at lists.horde.org






More information about the horde mailing list