[horde] How to create a useracount

Chrigi Hartmann admin at webmeischter.ch
Thu Sep 11 04:07:54 PDT 2003


Hi Etienne

> > Required 'phptype' not specified in authentication configuration.
> >
> > [line 97 of /inetpub/www/html/horde/lib/Auth/sql.php]
> >
> > Details have been logged for the administrator.
>
> Look in horde/config/conf.php (or horde.php, depend on version) and make
> sure you have a line similar to :
>
> $conf['sql']['phptype'] = 'mysql';

In /pathtohtmldir/horde/config/horde.php i have this:

*********************************************************************
// What preferences driver should we use? Valid values are 'none'
// (meaning use system defaults and don't save any user preferences),
// 'session' (preferences only persist during the login), 'ldap',
// and 'sql'.
$conf['prefs']['driver'] = 'sql';

// Any parameters that the preferences driver needs. This includes
// database or ldap server, username/password to connect with, etc.
$conf['prefs']['params'] = array();

// This is an example configuration for a MySQL preference backend.
// The SQL script to setup the preference database is placed in
// horde/scripts/db/prefs.sql.
$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';
*********************************************************************


> > I installed pear1.1 Do I need a other one? horde is 2.2.3 and
> kronolith is
> > 1.1
>
> Have you got your pear from http://ftp.horde.org/pub/pear/ ?

No i haven't. But now i have installed pear from this link you gave me, and
i now don't have errors in test.php. my test.php is now green ;-) but the
login doesn't works...

> What do
> you have configured as include_path in /etc/php.ini ?

Nothing! i comment this in my php.ini. should i have to set a path here?

I have my configs public here:

www.swissboarder.ch/hordetrouble/horde-horde.txt
www.swissboarder.ch/hordetrouble/horde-prefs.txt
www.swissboarder.ch/hordetrouble/horde-registry.txt
www.swissboarder.ch/hordetrouble/kronolith-prefs.txt
www.swissboarder.ch/hordetrouble/kronloith-registry.txt

MySQL is running, the tables are inserted - i really don't know whats wrong
here, it's so strange...

Greets, chrigi hartmann




More information about the horde mailing list