Problem with DB_DataObject Generator
| From: | Psycho Junkie | Date: | Wed, 26 Mar 2003 01:17:36 +0000 |
| Subject: | Problem with DB_DataObject Generator | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4426@lists.php.net to get a copy of this message | ||
Hi,
I'm very enamoured with the idea of the DB_DataObjects system. Unfortunately I've had a lot of trouble getting it all working!
I've finally gotten to the stage that when I run php.exe createTables.php ourdata.ini it doesn't crash, or lose things, or try to use the university's (out of date) PEAR package.
Unfortunately, however, when I run this command, all I get is:
CREATING FOR: mysql://cs2proje:xxxxxx@amos.bath.ac.uk/cs2proje
Then it returns to the command prompt and there don't seem to have been any visible classes created in response to the database investigation.
My ourdata.ini file looks like this:
[DB_DataObject]
; Required Configuration Options
database = mysql://cs2proje:xxxxxxx@amos.bath.ac.uk/cs2projeschema_location = /u/cs/2/cs2proje/Application/PEAR-1.0.1/DB/DataObject require_prefix = /u/cs/2/cs2proje/Application/PEAR-1.0.1/DB/DataObject
class_prefix = DataObject_ debug = 1 production = FALSE; Builder Configuration Options class_location = /u/cs/2/cs2proje/Application/PEAR-1.0.1/DB/DataObject extends = DB_DataObject extends_location= /u/cs/2/cs2proje/Application/PEAR-1.0.1 Anyone who has any help to offer, it would be hugely appreciated! PJ Computer Information Systems Student Second Year, Department of Computer Science University of Bath, UK _________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger