jameschambers Posted May 26, 2006 Share Posted May 26, 2006 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.phpI got the error;Call to a member function on a non-object in /directory/index.php/ on line 8As 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 appreciatedCheers Quote Link to comment https://forums.phpfreaks.com/topic/10541-php-error/ Share on other sites More sharing options...
poirot Posted May 26, 2006 Share Posted May 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/10541-php-error/#findComment-39309 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.