Help - Pear DB_DataObjects
| From: | Pauline Johnston | Date: | Thu, 20 Feb 2003 14:02:53 +0000 |
| Subject: | Help - Pear DB_DataObjects | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3861@lists.php.net to get a copy of this message | ||
Hello
I would really appreciate some help with the configuration & installation of
Pear DB_DataObjects.
When I run:
...\php4\php.exe createTables.php db.ini
I get this
X-Powered-By: PHP/4.2.2
Content-type: text/html
<br />
<b>Fatal error</b>: Call to undefined function:
getstaticproperty() in <b>c:\...\php4\pear\DB\DataObject.php</b> on line
<b>1787</b><br />
My db.ini file looks like this:
[DB_DataObject]
database = mysql://xxx:xxx@./db
schema_location = /.../DataObjects
class_location = /.../DataObjects
require_prefix = DataObjects/
class_prefix = DataObjects_
I didn't understand what you were meant to do with example 2 shown at
http://pear.php.net/manual/en/packages.database.db-dataobject.configuration.
php as it doesn't explain...
Any help gladly received!
thanks,
Pauline