All pastes #163285 Raw Edit

Someone

public php v1 · immutable
·published 2006-09-07 11:36 UTC
rendered paste body
Fatal error: printHeader() [<a href='function.printHeader'>function.printHeader</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &quot;Database&quot; 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 32THE 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 "<div id=\"menu\">";				if(isset($_SESSION['dbclass'])) 				{				 $mydb=$_SESSION['dbclass'];				 $mydb->link();				 printTextMenu($mydb->getGlobalFeatures(),"&nbsp | &nbsp");				}else			 	{				   echo "Welcome";					 }								echo "</div>";									  			}