PEAR::DB_DataObject Overload-ERRMSG
| From: | Verona Busch | Date: | Wed, 23 Jun 2004 04:22:10 +0000 |
| Subject: | PEAR::DB_DataObject Overload-ERRMSG | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13260@lists.php.net to get a copy of this message | ||
Hi,
i'm new to PEAR. You might can help me with this. :-)
My configuration:
W2K-Server
Apache/2.0.49 (Win32)
PHP/4.3.6 (CGI/not modulversion)
mySQL 3.23.49
PEAR::Packages
DB 1.6.1
DB_DataObject 1.6.1
DB_DataObject_FormBuilder 0.9.0
DB_NestedSet 1.3.4
DB_QueryTool 0.10.1
DB_Table 0.18
I did some tables with phpmyadmin and tried to create the classes with DB::DataObject::createTable.php. Wonderful! Good Work!
But there seem to be some problems. Mayby cause of "Wi..." Sorry, of "Not-Linux". The filename of the classes are all build with uppercase. The require_once()-paths in all autogenerated table-classes is wrong. It allways tells ('DB/DataObject.php). In my case that's wrong so i changed it to require_once('PEAR/DB/DataObject.php').
Whenever I require more than one new table, i get following error message:
Cannot redeclare class db_dataobject_overload in ...Pear\DB\DataObject.php on line 183
The other thing is, that I don't know how to get a listed table just like phpmyadmin does. Isn't there a tutorial how this PEAR::Packages could be combined to get a nice output, input and changing Frontend in HTML or XHTML?
Thanks