ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Three-Tier Development with PHP 5
Subject:   Error! Help
Date:   2005-07-26 03:39:37
From:   xfactorx
Hello,


I tried out the tutorials and I had the following errors when I clicked on save and view. Here are the errors:



Notice: Constant DB_DATAOBJECT_FETCHMODE_ASSOC already defined in C:\php\pear\Db\DataObject.php on line 98


Notice: Constant DB_DATAOBJECT_INT already defined in C:\php\pear\Db\DataObject.php on line 108


Notice: Constant DB_DATAOBJECT_STR already defined in C:\php\pear\Db\DataObject.php on line 109


Notice: Constant DB_DATAOBJECT_DATE already defined in C:\php\pear\Db\DataObject.php on line 111


Notice: Constant DB_DATAOBJECT_TIME already defined in C:\php\pear\Db\DataObject.php on line 112


Notice: Constant DB_DATAOBJECT_BOOL already defined in C:\php\pear\Db\DataObject.php on line 113


Notice: Constant DB_DATAOBJECT_TXT already defined in C:\php\pear\Db\DataObject.php on line 114


Notice: Constant DB_DATAOBJECT_BLOB already defined in C:\php\pear\Db\DataObject.php on line 115


Notice: Constant DB_DATAOBJECT_NOTNULL already defined in C:\php\pear\Db\DataObject.php on line 118


Notice: Constant DB_DATAOBJECT_MYSQLTIMESTAMP already defined in C:\php\pear\Db\DataObject.php on line 119


Notice: Constant DB_DATAOBJECT_ERROR_INVALIDARGS already defined in C:\php\pear\Db\DataObject.php on line 133


Notice: Constant DB_DATAOBJECT_ERROR_NODATA already defined in C:\php\pear\Db\DataObject.php on line 134


Notice: Constant DB_DATAOBJECT_ERROR_INVALIDCONFIG already defined in C:\php\pear\Db\DataObject.php on line 135


Notice: Constant DB_DATAOBJECT_ERROR_NOCLASS already defined in C:\php\pear\Db\DataObject.php on line 136


Notice: Constant DB_DATAOBJECT_ERROR_INVALID_CALL already defined in C:\php\pear\Db\DataObject.php on line 137


Notice: Constant DB_DATAOBJECT_WHEREADD_ONLY already defined in C:\php\pear\Db\DataObject.php on line 143


Fatal error: Cannot redeclare class db_dataobject_overload in C:\php\pear\Db\DataObject.php(215) : eval()'d code on line 2


somebody help pls. Btw did anybody got this to work?