[horde] Configuring Horde for MySQL

James Van Sickle gothbert at spamcop.net
Thu May 1 07:58:37 PDT 2003


I added the following variables from the horde.php file into the Auth class 
under the auth.php file.

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

When I try to login to Horde now, I get the following error message.  I moved 
my variables from the Auth.php file to sql.php, but got the same results.

Parse error: parse error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in /usr/local/www/horde/lib/Auth.php on line 23

Fatal error: Undefined class name 'auth' 
in /usr/local/www/horde/lib/Registry.php on line 634

-James

--- René_Lund_Jensen <lundeman at tbkol.dk> wrote:
> 
> 
> James Van Sickle wrote:
> > Hey
> > 
> >    I recently installed Horde on a FreeBSD server, and am working on 
> > configuring it for a MySQL database.  I setup the SQL parameters in the 
> > horde.php file under section "Preference System Settings."  When I try to
> log I 
> > get the following message however:
> 
> Try to setup the SQL parameters in the Authentication Section too.
> 
> > A fatal error has occurred:
> > Required 'phptype' not specified in authentication configuration.
> > [line 96 of /usr/local/www/horde/lib/Auth/sql.php]
> > Details have been logged for the administrator.
> > 
> > Any assistance would be greatly appreciated.
> 
> René Jensen
> 




More information about the horde mailing list