Trouble with DB_DataObject generator
| From: | mitchell perilstein | Date: | Mon, 23 Sep 2002 05:37:40 +0000 |
| Subject: | Trouble with DB_DataObject generator | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2364@lists.php.net to get a copy of this message | ||
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@enetis.net
www.enetis.net/~mitch
+1 (605) 574-2367