For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2005 > Question about Auth









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Question about Auth
Odile Bénassy

2005-05-07, 3:56 pm

Hello,

I have been using PEAR::Auth in an educational project and it was working w=
ell, yet now users can't login.

More details
- I get no error message even if I enable ERROR_ALL and DISPLAY_ERRORS
- $this -> session exists but stays empty even after login, so checkAuth() =
(in Auth.php) returns false
- a session file is well created on the server (/var/lib/php4/sess_****), b=
ut contains only =AB _authsession|N; =BB
- I noticed that the constructor Auth_Container_DB($dsn) is called when the=
login form is displayed, but not afterwards, when you actually login; cons=
tructor Auth($storageDriver, $options =3D '', $loginFunction =3D '', $showL=
ogin =3D true) is called all the times (twice for the login form, only once=
when you login)
- I noticed, too, that function _connect($dsn) is never called


Can you help ?

Of course I haven't changed the Auth code. (only upgraded). @version $Revis=
ion: 1.93 $
I haven't changed my own code
I might have changed a (PHP) configuration file on the server

Thanks in advance for your help,

--=20
Odile B=E9nassy, d=E9veloppeuse de logiciels libres
Odile B=E9nassy, libre software developer
gpg: 6333 33AF 1AA4 5A64 3870 33BC 4247 DC1D BDEB B4AA


=20
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com