[horde] horde.php and conf.php - db connect error
Eric Rostetter
eric.rostetter at physics.utexas.edu
Thu Aug 7 09:30:00 PDT 2003
Quoting Adrian DeBoer <stud_muffin_540 at yahoo.com>:
> Scenario #1:
>
> //$conf['auth']['params']['password'] = '*****';
> $conf['auth']['params']['password'] = 'horde';
>
> Error:
>
> A fatal error has occurred:
> DB Error: connect failed
> [line 108 of /var/www/html/horde/lib/Prefs/sql.php]
> Details have been logged for the administrator.
That means your auth worked, and your preferences failed. So that is
the correct $conf['auth'] setup, as I told you previously.
> Scenario #2:
>
> $conf['auth']['params']['password'] = '*****';
> //$conf['auth']['params']['password'] = 'horde';
>
> Error:
>
> A fatal error has occurred:
> Unable to connect to SQL server.
> [line 119 of /var/www/html/horde/lib/Auth/sql.php]
> Details have been logged for the administrator.
That tells you auth failed. So that is the wrong $conf['auth'] setup.
> Just imagine when we get this solved though!
Set up your $conf['prefs'] array like your $conf['auth'] array. Make sure
you created the preferences db tables.
> Adrian
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the horde
mailing list