[horde] Re: Error: "Required 'phptype' not specified in
authentication configuration"
Devios McShady
devios at comcast.net
Wed Dec 3 21:03:51 PST 2003
So here is the less than stellar assistance I am receiving in the IRC channel, since a distinguished member has apparently told me exactly what to do and I am clueless:
I tell the channel that I've posted my problem here as recommended: http://article.gmane.org/gmane.comp.horde.user/6027
I get a reply that I've already been told that I should learn how to use google and this is a link to exactly what I need to do to fix my problem:
http://lists.horde.org/archives/chora/Week-of-Mon-20030120/003523.html
Based on what I posted from my horde.php file, this didn't make sense to me and I thought I had already done what the referenced page told me to do. I said this to the channel.
I got this reply: Devi0s: yes. you set your auth parameters to an empty array. You have *NO* configuration data for auth. I don't know why you expect it to work, and I don't know what else to tell you. (he's obviously a friendly guy)
So I figure that maybe I need to modify /var/www/zerocalm.com/htdocs/horde/lib/Auth/sql.php and add
$conf['prefs']['params']['phptype'] = 'mysql'; and $conf['prefs']['params']['phptype'] = 'mysql'; somehow. Trouble is that the file's embedded help does not say how or where to enter this kind of data - It only says that it is required.
Should anyone be able to translate the advice of my warm and happy helper so that my install will work, please help. I am close to giving up.
> Just after login, I get the following error:
>
> A fatal error has occurred:
> Required 'phptype' not specified in authentication configuration.
> [line 97 of /var/www/zerocalm.com/htdocs/horde/lib/Auth/sql.php]
> Details have been logged for the administrator.
>
> The last piece of help given to me in the IRC channel was that i should post the $conf['auth'] section of your conf.php to the mailing lists but i dunno where conf.php is and find doesn't produce it. I am guessing they meant horde.php.
>
> So here it goes:
>
> **
> ** Horde Authentication
> **/
> $conf['auth']['driver'] = 'sql';
> $conf['auth']['params'] = array();
> instructions.
> Additional Relevant Lines:
> $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'] = 'mypass';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
> $conf['sessionhandler']['params'] = array();
> $conf['sessionhandler']['params']['phptype'] = 'mysql';
> $conf['sessionhandler']['params']['hostspec'] = 'localhost';
> $conf['sessionhandler']['params']['username'] = 'horde';
> $conf['sessionhandler']['params']['password'] = 'mypass';
> $conf['sessionhandler']['params']['database'] = 'horde';
>
> Any help that you can provide is appreciated.
>
> - Devi0s
More information about the horde
mailing list