Re: LiveUser - Problems Can't get it to login (Can't view last post)
| From: | Hector Partidas | Date: | Fri, 07 Apr 2006 14:05:22 +0000 |
| Subject: | Re: LiveUser - Problems Can't get it to login (Can't view last post) | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23572@lists.php.net to get a copy of this message | ||
Well, i got it to work hehe! Sleep depravation doesn't help much when you're
going over new systems and code, the user wasn't enabled in the database so
it wouldn't log on lol...
On a serious note, perhaps you should add that as a bug, make it display a
msg to tell you that the user is disabled or what not.
I'm getting an a Critical Unknown Error now though. Turned debug off in the
conf array cuz i want to finish learning the library before delving into the
possible errors further.
I've been meaning to ask, the is_active field, it stores the Session ID of
the user, thought it meant if the account was active or not, infact if i set
the value to 0 the user can't log in, but when its active it sets the SESSID
to the field. Did you mean for it to work this way as a double safety
feature? as in, account is enabled and in use by 'SID'.
Another question, i've been looking over the sites and i find no reference
as to the use of the fields owner_user_id owner_group_id, what exactly do
they stand for or are meant to do?
On 4/7/06, Lukas Smith <lsmith@php.net> wrote:
>
> Hector Partidas wrote:
>
> > on line 1004 $containerNames = array_keys($this->_authContainers); for
> my
> > $conf, it returns 2 keys despite there is only 1 containers (working as
> > intended?)
>
> which two keys are returned?
>
> > After the foreach is done, on line 1048 if (!$this->isLoggedIn()) { --
> this
> > is where the problem comes in, before this line, $login == 1 post that
> it
> > returns false.
> >
> > I was reading over the login function and it doesn't set $this->_auth,
> so as
> > soon as it hits that line it boots me.
>
> the default passwordEncryptionMode is MD5, are the passwords in your
> database MD5'ed?
>
> > it does show the database_name but not over on the dsn array, not sure
> if
> > this affects the way it works. Can't come up with anything else.
>
> this looks correct .. the connected_database_name is set in the first
> query in the MDB2 mysql driver.
>
> regards,
> Lukas
>
>
--
Atentamente,
Héctor Partidas
Desarrollador
tuWebFacil.com