RE: [Phplib-users] Problem with "user" feature
Brought to you by:
nhruby,
richardarcher
From: Taylor, S. <Ste...@uk...> - 2001-11-05 08:57:55
|
Not sure what is causing this. Try calling var_dump($user) just before you call the page_close = function? Does this tell you anything? -Stewart. -----Original Message----- From: Manuel Aristaran [mailto:mpa...@so...] Sent: 05 November 2001 03:24 To: php...@li... Subject: [Phplib-users] Problem with "user" feature Hello... I've run into a quite interesting problem.... None of the scripts on the system use the "user" feature, every = page_open()=20 call on them look like this: page_open(array("sess" =3D> "Gili_Session")); That is, i only use sessions :). But there's a script that complains = about=20 calling a function on a non-object variable when i call page_close(). = the=20 error occurs in page.inc line 68. function page_close() { global $sess, $user; if (isset($sess)) { $sess->freeze(); if (isset($user)) { $user->freeze(); <-- LINE 68 } } } isset($user) should yield non-true, as i don't use the user feature. There aren't any variables called $user on my scripts, as this might = look=20 like two variables are clashing on a same namespace or something. Can anyone give me any pointer? this problem (bug?) is really annoying. Manuel Aristar=E1n mpa...@so... _______________________________________________ Phplib-users mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phplib-users |