#25755 [Opn]: DB_NestedSet MDB Support

From: Date: Mon, 06 Oct 2003 07:48:05 +0000
Subject: #25755 [Opn]: DB_NestedSet MDB Support
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22391@lists.php.net to get a copy of this message
ID: 25755 Updated by: datenpunk@php.net Reported By: simon dot hamilton at ntlworld dot com Status: Open Bug Type: PEAR related Operating System: Windows XP SP1 PHP Version: 4.3.2 New Comment: MDB support is broken in the 1.x branch. This is because some recent changes in MDB and DB_NestedSet. This is also mentioned at http://oss.webcluster.at. We will do our best to get this fixed for 1.3 which is about to be released. If the fix implies an API change the next version with MDB support will be 2.0. This release will work with the soon to be released MDB 2.0 then. Previous Comments: ------------------------------------------------------------------------ [2003-10-05 08:50:55] simon dot hamilton at ntlworld dot com Description: ------------ When I change the driver from DB to MDB, I get the following message as detailed below. DB_NestedSet v.1.2.4 MDB v.1.1.3 Reproduce code: --------------- $treeNodes = $this->nestedSet->getAllNodes(true, true, array( 'cols' => 'table.url, table.url_text' )); // render output $options = array( 'structure' => $treeNodes, 'textField' => 'url_text', 'linkField' => 'url', 'options' => array('icon' => 'folder.gif', 'expandedIcon' => 'folder-expanded.gif') ); $this->output =& DB_NestedSet_Output::factory($options, 'TreeMenu'); Expected result: ---------------- A DHTML tree Menu (works fine using DB rather than MDB) Actual result: -------------- Fatal error: Call to undefined function: quote() in E:\.....\libs\pear\DB\NestedSet.php on line 613 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25755&edit=1

« previous php.pear.dev (#22391) next »