For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > January 2005 > DB_DataObject not creating tables









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DB_DataObject not creating tables
Larry Garfield

2005-01-17, 8:56 pm

Greetings, all. I'm trying out DB_DatObject for the first time. I've
read through the docs and followed the instructions listed, but running
into a problem. Specifically, when I try to run createTables.php I get
a function error.

From the PEAR/DB/DataObject directory:

$ php4 createTables.php ../../../db_dataobject.ini
db_dataobject_generator : 0 : CREATING FOR gmdarchive

db_dataobject_generator : 0 : calling generatedefinitions

Fatal error: Call to a member function on a non-object in
/usr/share/php/DB/DataObject/Generator.php on line 132

I checked, and line 132 of Generator.php is just a }. Thoughts on what
the problem could be?

PHP Version: 4.3.10
OS: Linux 2.6.10
DB_DataObject version: 1.7.2

Any help greatly appreciated.

--
Larry Garfield AIM: LOLG42
larry@garfieldtech.com ICQ: 6817012

"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
idea, which an individual may exclusively possess as long as he keeps it
to himself; but the moment it is divulged, it forces itself into the
possession of every one, and the receiver cannot dispossess himself of
it." -- Thomas Jefferson
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com