Jump to content

PHP error


jameschambers

Recommended Posts

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

Cheers
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.