Re: Problem to run createtables.php of DB_DataObject package

From: Date: Sat, 18 Dec 2004 02:24:21 +0000
Subject: Re: Problem to run createtables.php of DB_DataObject package
References: 1  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-16297@lists.php.net to get a copy of this message
Nicolas Moyroud wrote:
Hello, I send you this email because i have a big problem with DB_DataObject package. When i try to run the createtables.php script in order to create php classes with my db tables, i have the following error : DB_DataObject Error: DB Error: not found It's very strange because when i use the same dsn mysql://root@localhost/biblog with DB package it works perfectly. I don't use the same configuration that is used in DB_DataObjects examples. I work under Windows with an EasyPHP-like server : wamp. My PEAR directory is C:/Program Files/wamp/php/PEAR. Here is my ini file used with DB_DataObjects : [DB_DataObject] database => mysql://root@localhost/biblog ...........^^^^
This is an .ini file, not an associate array - remove the '>' Regards Alan
schema_location => C:\Program Files\wamp\www\BIBlog\DataObjects class_location => C:\Program Files\wamp\www\BIBlog\DataObjects require_prefix => DataObjects/ class_prefix => DataObjects_ I don't understand why it don't work !! I have created all directories and i have done all that is indicated in DB_DataObject documentation. Please help me if you can, cause i really want to use this package. Thanks, N.Moyroud


« previous php.pear.general (#16297) next »