Date: 12/01/99
- Next message: Edmunds, Keith: "[PHPLIB] Browser 'back' button"
- Previous message: Edmunds, Keith: "RE: [PHPLIB] errors after fresh install of phplib 7.2"
- Next in thread: Abdul Halim: "[PHPLIB] Auth.."
- Reply: Abdul Halim: "[PHPLIB] Auth.."
- Reply: Theodore Hope : "Re: [PHPLIB] errors after fresh install of phplib 7.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 9:41 +1100 1/12/99, Theodore Hope wrote:
> Warning: Uninitialized variable or array index or property (sid)
> in session.inc on line 396
> Warning: Uninitialized variable in session.inc on line 96
I had this problem too. I made a simple change to session.inc,
which seems to have fixed the problem.
This fix was hinted at a month or so ago on the list, but I have
not seen an explicit patch posted, so here goes.
...Richard.
--- /usr/src/phplib-7.2/php/session.inc Mon Oct 25 16:36:30 1999
+++ session.inc Sun Nov 21 22:04:20 1999
@@ -383,7 +383,7 @@
$this->name = $this->cookiename==""?$this->classname:$this->cookiename;
}
- function release_token(){
+ function release_token( $sid = "" ){
global $HTTP_COOKIE_VARS, $HTTP_GET_VARS, $HTTP_HOST, $HTTPS;
if ( isset($this->fallback_mode)
&& ( "get" == $this->fallback_mode )
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Edmunds, Keith: "[PHPLIB] Browser 'back' button"
- Previous message: Edmunds, Keith: "RE: [PHPLIB] errors after fresh install of phplib 7.2"
- Next in thread: Abdul Halim: "[PHPLIB] Auth.."
- Reply: Abdul Halim: "[PHPLIB] Auth.."
- Reply: Theodore Hope : "Re: [PHPLIB] errors after fresh install of phplib 7.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

