Re: [Phplib-users] Fatal error: page.inc on line 68
Brought to you by:
nhruby,
richardarcher
|
From: nathan r. h. <na...@ds...> - 2002-03-18 18:22:48
|
Correct :)
-n
------
nathan hruby
na...@ds...
------
On Mon, 18 Mar 2002, Layne Weathers wrote:
> > 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.
>
>
> _______________________________________________
> Phplib-users mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phplib-users
>
|