PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Tree » Bug #7212

Fatal Error, Fix given

Details

Submitted2006-03-27 08:16 UTC
Fromcross at php dot net
Assigneddufuz
StatusDuplicate
PackageTree
PHP Version5.0.5
OSWin
Roadmaps(Not assigned)

Comments

[2006-03-27 08:16 UTC] cross at php dot net

Description:
------------
Quick Fix: Missing the $this->[methodName()] identifer

Test script:
---------------
$options = array('table'=>'sections','order' => 'sortOrder');
$sectionTree=Tree::setupDynamic('DBnested',$config['dsn'],$options);

Just change \Tree\Dynamic\DBnested.php:76
to be :

$this->Tree_Dynamic_DBnested( $dsn , $options );

I'd submit a patch, but its a one-liner ;P

Expected result:
----------------
Tree Object contructed and returned

Actual result:
--------------
Fatal error: Call to undefined function Tree_Dynamic_DBnested() in c:\wamp\php\PEAR\Tree\Dynamic\DBnested.php on line 76

[2006-07-26 10:03 UTC] dsp at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

[2007-02-21 14:32 UTC] riku dot tuominen at benchmarking dot fi

Still same bug left.