#55 problem in page.inc

closed-invalid
None
5
2002-03-20
2001-11-16
No

phplib-7.2d , 7.2c (I upgraded to see if the upgrade
would fix the problem)

I just upgraded from PHP 4.0.4 to php 4.0.6

On my PHPSlash site I would get the following on the
bottom of each page:

Fatal error: Call to a member function on a non-object
in /usr/share/phplib/page.inc on
line 68

I am temporarily using the following patch which masks
the problem, but I suspect something else is not
properly happening at this point.

--- page.inc Wed Jul 12 14:22:35 2000
+++ /usr/share/phplib/page.inc Thu Nov 15 22:54:52 2001
@@ -64,7 +64,7 @@

if (isset($sess)) {
$sess->freeze();
- if (isset($user)) {
+ if (isset($user) && isset($user->freeze)) {
$user->freeze();
}
}

Discussion

  • Richard Archer

    Richard Archer - 2002-03-20
    • assigned_to: nobody --> layne_weathers
    • status: open --> closed-fixed
     
  • Anonymous - 2002-03-20
    • status: closed-fixed --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks