[horde] again phptype problem
Spool
mailing at rl-pc.com
Wed Jul 23 16:19:50 PDT 2003
----- Original Message -----
From: "Chuck Hagenbuch" <chuck at horde.org>
To: <horde at lists.horde.org>
Sent: Wednesday, July 23, 2003 7:04 PM
Subject: Re: [horde] again phptype problem
> Quoting Spool <mailing at rl-pc.com>:
>
> > I try that because you saw that line blow away all those settings and I
> > would try something.
>
> Alright, let's back up here.
>
> You had this:
>
> $conf['auth']['params']['phptype'] = 'mysql';
> $conf['auth']['params']['hostspec'] = 'localhost';
> $conf['auth']['params']['username'] = 'horde';
> $conf['auth']['params']['password'] = 'horde';
> $conf['auth']['params']['database'] = 'horde';
> $conf['auth']['params']['table'] = 'horde_users';
>
> ... which is all fine. That's what you want there. Then you had this:
>
> // An array holding any parameters that the Auth object will need to
> // function correctly.
> $conf['auth']['params'] = array();
>
> Look at that line. It might help to realize that the first 6 lines are
> equivalent to this:
>
> $conf['auth']['params'] = array('phptype' => 'mysql',
> 'hostspec' => 'localhost
> ... etc.
>
> So you assign the params array, and then you replace it with an empty
array.
> That's why things don't work. Just remove this line:
> $conf['auth']['params'] = array();
>
> -chuck
OOOOKKK I understand :D
Sry im not a coder.
Now my error is fix. but when I type my login/pass , I clic login and it
does not occur anything and my password disapear... no error message nothing
in the log.
I tryed again my database by phpmyadmin and it work
Thanks again
More information about the horde
mailing list