Question about Auth
| From: | Odile Bénassy | Date: | Sat, 07 May 2005 13:03:37 +0000 |
| Subject: | Question about Auth | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19102@lists.php.net to get a copy of this message | ||
Hello,
I have been using PEAR::Auth in an educational project and it was working well, 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_****), but contains only «
_authsession|N; »
- I noticed that the constructor Auth_Container_DB($dsn) is called when the login form is displayed,
but not afterwards, when you actually login; constructor Auth($storageDriver, $options =
'', $loginFunction = '', $showLogin = 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 $Revision: 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,
--
Odile Bénassy, développeuse de logiciels libres
Odile Bénassy, libre software developer
gpg: 6333 33AF 1AA4 5A64 3870 33BC 4247 DC1D BDEB B4AA