[Solar-talk] auth
Jeff Surgeson
webdev at 3hex.com
Fri Jul 28 07:33:01 PDT 2006
> > With new Solar_Auth if display errors are on and auth fails (wrong
> > pass/user) it generates the following notice/warnings, this did not have
> > with ver 19
> >
> > Notice: Undefined variable: err
> > in /var/www/localhost/htdocs/library/Solar/Auth.php on line 314
> >
> > Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot
> > send session cookie - headers already sent by (output started
> > at /var/www/localhost/htdocs/library/Solar/Auth.php:314)
> > in /var/www/localhost/htdocs/library/Solar/Auth.php on line 428
>
> Hi, Jeff. I've seen this once and have some questions:
>
> - which php version are you using?
I am running a Gentoo based system with PHP Version 5.1.4-pl1-gentoo on my
local and PHP Version 5.1.2 on my remote server
> - have you tried to re-authenticate after a long time away? this
> happened after you hit F5 or what?
The auth still works as it is supposed to, validates, expires, idles etc etc.
With html errors set to on in my php ini (only in dev not production) I was
getting those warnings/notices. However with errors switched off as you would
in a production enviroment you would not get them and auth works as it always
has, I also noticed that earlier versions did not display these
notices/warnings.
My point was just to let Paul know that I got them as he has just made a lot
of changes to Auth etc with all the new adapter stuff etc and thought that he
might not be aware that it was now generating those notices/warnings.
I dont think any are critical by any means but I also know Paul likes to keep
things clean. :-)
--
Jeff Surgeson
More information about the solar-talk
mailing list