SV: [horde] Again: Login problem

Flemming Christensen fc at dsidata.dk
Mon Aug 26 03:34:42 PDT 2002


You have setup the array for prefs .. which will keep the user preference in a mysql database.
You also need to setup the array for auth .. 

This is what you need:

$conf['auth']['driver'] = 'sql';
$conf['auth']['params'] = array();
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'horde';
$conf['auth']['params']['password'] = 'secret';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';

$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'] = 'secret';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

--
Flemming Christensen


-----Oprindelig meddelelse-----
Fra: Paul van der Vlis [mailto:paul at vandervlis.nl]
Sendt: 26. august 2002 10:23
Til: horde at lists.horde.org
Emne: [horde] Again: Login problem


Hello ,

For a few weeks I've posted here a question, but nobody answered..
I try it again:

I have installed Horde 2.1 and Kronolith 1.0 on a Linux machine with 
MySQL. When I login I get the following error:
---
A fatal error has occurred:
Required 'phptype' not specified in authentication configuration.
[line 89 of /usr/local/httpd/htdocs/horde/lib/Auth/sql.php]
Details have been logged for the administrator.
---

But I did specify the variabele "phptype"!
This are my settings in horde.php (I did not change something else):
----
$conf['auth']['driver'] = 'sql';
$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'] = 'secret';
$conf['prefs']['params']['database'] = 'horde';
//$conf['prefs']['params']['table'] = 'horde_prefs';
$conf['prefs']['params']['table'] = 'horde_users';
----

In Kronolith's conf.php, I am also using sql:
$conf['calendar']['driver'] = 'sql';

I made tables in MySQL for Horde and Kronolith, and I made a Horde user 
with a md5-password.

I did already remove everything and install it again, but the problem 
stays the same. What can I do to find-out what's wrong??

With regards,
Paul van der Vlis.




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


More information about the horde mailing list