Re: [Phplib-users] Fatal error: page.inc on line 68
Brought to you by:
nhruby,
richardarcher
|
From: Layne W. <la...@if...> - 2002-03-18 17:59:15
|
> Hi phplib-users,
>
> I'm using PhpSlash as framework for my application.
> (thanks for the tip in this list ;-)
>
> Now, I have an error on every page with the description
> Fatal error: Call to a member function on a non-object
> in c:\dipl\phplib\php\page.inc on line 68.
>
> I checkt nearly erverything around but the error ist
> still on botton on every page, caused from the final
> page_close on the page.
>
> The application ist however full functioning...
I'm going to guess that PHPSlash does not use the user class and that you
have used a variable $user in your code. This bug has been around for a
while. On line 68 change
if(isset($user)) {
to
if(is_object($user)) {
Layne Weathers
Ifworld Inc.
|