Jump to content


PHP error

  • Please log in to reply
1 reply to this topic

#1 jameschambers

  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 26 May 2006 - 09:45 PM

I'm working on a basic CMS as covered in the book PHP and MySQL Web Development by Luke Welling and Laura Thomson, hoping to adapt it to what I need.

But when I uploaded the code (it was inlcuded with the book on CD) and went to index.php
I got the error;

Call to a member function on a non-object in /directory/index.php/ on line 8

As I guess the code they supplied with the book is fine I'm assuming it's something to do with the server set up. It is running PHP Version 4.4.1.

Any help much appreciated


#2 poirot

  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 26 May 2006 - 10:04 PM

Chances are you failed to include some file. I don't think it's related to the server.

Just see what's on line 8. There's probably something like $something->else() or whatever.
~ D Kuang

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users