Re: [phpslash-users] 0.65-pre1 problems?
Brought to you by:
joestewart,
nhruby
From: Joe S. <jo...@be...> - 2002-03-13 15:16:38
|
This is a phplib problem with newer versions of php. I don't think the phplib-7.4-pre1 has this problem. See one of the previous discussions for patching phplib-7.2c or d. http://marc.theaimsgroup.com/?l=phpslash&m=100877016913831&w=2 67: if (is_object($user)) { I guess this needs to be added to faq and upgrading doc. Joe On Wed, Mar 13, 2002 at 05:54:47PM +0800, Sam Williams wrote: > Just downloaded 6.5-pre1 for a new site, and run into a small problem... > the page_close() function causes a Fatal error: Call to a member > function on a non-object in ./phplib-7.2d/php/page.inc on line 68. > > > 61: function page_close() { > 62: global $sess, $user; > 62: > 64: if (isset($sess)) { > 65: $sess->freeze(); > 67: if (isset($user)) { > 68: $user->freeze(); > 69: } > 70: } > 71: } > > Any idea why this is happening? Rest of the site seems to be running > fine... > > Thanks, > > Sam. > > |