Fatal error: printHeader() [function.printHeader]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Database" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in C:\Program Files\Apache Group\Apache2\htdocs\ECN99\Common\Functions\htmlfunctions.php on line 32 THE CODE --------- include('../Common/Classes/Database.php'); function printHeader($style='../gui/mainstyle.css', $name='ecn',$ajaxit='yes') { $sslclass; require_once('../Common/Classes/SLLists.class.php'); echo "
"; if(isset($_SESSION['dbclass'])) { $mydb=$_SESSION['dbclass']; $mydb->link(); printTextMenu($mydb->getGlobalFeatures(),"  |  "); }else { echo "Welcome"; } echo "
"; }