logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Trouble with DB_DataObject generator: msg#00145

Subject: Trouble with DB_DataObject generator
Hi folks, I'm trying to do this:

   php4 /usr/share/pear/DB/DataObject/createTables.php 
`pwd`/pear-data-object.ini

and I get this:

    <b>Warning</b>:  Invalid argument supplied for foreach() in
    <b>/usr/share/pear/DB/DataObject/Generator.php</b> on line <b>91</b><br />
    DONE

My .ini says:

   [DB_DataObject] 
   database    = mysql://xxxuser:xxxpassword@localhost/xxxdb
   schema_location = /home/mitch/public_html/staff/DataObjects
   class_location  = /home/mitch/public_html/staff/DataObjects
   require_prefix  = DataObjects/
   class_prefix    = DataObjects_

I'm using PHP 4.2.2 on Debian Linux, mysql debian package version 3.23.52-2, 
and some of 
the related PEAR versions:

   // $Id: DB.php,v 1.13 2002/07/02 15:19:49 cox Exp $
   // $Id: DataObject.php,v 1.26 2002/09/10 04:34:06 alan_k Exp $
   // $Id: PEAR.php,v 1.47 2002/07/21 07:04:45 ssb Exp $

Thanks for any hints!
-- 
 Mitchell Perilstein
 mitch@xxxxxxxxxx
 www.enetis.net/~mitch
 +1 (605) 574-2367


-- 
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>