Intranet JournalThe new discussion forum for Intranet Journal readers. Leave comments and questions for IJ authors. Suggest story ideas and provide feedback.
I have been following this series and have been enjoying it so far. However, I was having issues with the last 2 code examples from Part 3, getting the error:
Call to a member function on a non-object in /var/www/html/cms/viewArticle.php
It looks as though the object is not being instantiated. I was able to get both code examples working by inserting the following after the require_once('./includes/dBconnector.php'); line:
// Create an instance of DbConnector
//$connector = new dBconnector();
Looking forward to the rest of the articles.
James
There was an error in the code in Part 3 of the article. We apologize for that.
New versions of the article and source code files have been posted to the site as of this morning (9/10/04), and everything should now be in working order.