[Phplib-users] Problem with "user" feature
Brought to you by:
nhruby,
richardarcher
From: Manuel A. <mpa...@so...> - 2001-11-05 03:30:51
|
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... |