Re[4]: [PEAR] DB_DataObject_FormBuilder can't be created
| From: | Steve Clay | Date: | Fri, 17 Jun 2005 14:54:58 +0000 |
| Subject: | Re[4]: [PEAR] DB_DataObject_FormBuilder can't be created | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19662@lists.php.net to get a copy of this message | ||
Friday, June 17, 2005, 9:29:25 AM, Justin Patrin wrote:
> What's your error reporting set to?
using error_reporting (E_ALL); Apache shows no error, Windows shows no
error, but PHP is completely dying, no commands after
$fg =& DB_DataObject_FormBuilder::create($do);
do /anything/.
In desperation, I'm pasting the source:
------------------------------------------------
define('DB_DATAOBJECT_NO_OVERLOAD', 1);
require_once "DB/DataObject.php";
$config = parse_ini_file('DataObject_class.ini',TRUE);
foreach($config as $class=>$values) {
$options = &PEAR::getStaticProperty($class,'options');
$options = $values;
}
require_once "DataObjects/Alz_resources.php";
$do =& new DataObjects_Alz_resources();
$do->get(1);
echo $do->name; // works!
require_once "DB/DataObject/FormBuilder.php";
$fg =& DB_DataObject_FormBuilder::create($do); // dead!
echo 1; // nothing
---------------------------------------------------
INSTALLED PACKAGES:
===================
PACKAGE VERSION STATE
Archive_Tar 1.3.1 stable
Console_Getopt 1.2 stable
DB 1.7.6 stable
DB_DataObject 1.7.13 stable
DB_DataObject_FormBu 0.17.1 beta
ilder
Date 1.4.3 stable
HTML_QuickForm 3.2.4pl1 stable
HTML_Table 1.5 stable
Mail 1.1.4 stable
Net_SMTP 1.2.3 stable
Net_Socket 1.0.1 stable
PEAR 1.1 stable
PHPUnit 1.2.3 stable
XML_Parser 1.0.1 stable
XML_RPC 1.0.4 stable
Steve
--
http://mrclay.org/ : http://frenchhorns.mrclay.org/