#25755 [Csd]: DB_NestedSet MDB Support

From: Date: Tue, 07 Oct 2003 08:34:17 +0000
Subject: #25755 [Csd]: DB_NestedSet MDB Support
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22436@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: Closed Bug Type: PEAR related Operating System: Windows XP SP1 PHP Version: 4.3.2 New Comment: O.K. this didn't make sense at all. The standard answers don't fit for pear :] Please try the new released DB_NestedSet-1.3 beta. MDB support is back again. BTW pear now has it's own bug reporting system. Follow the link 'Package Bugs' (see http://pear.php.net/package/DB_NestedSet) to file a bug for pear. Previous Comments: ------------------------------------------------------------------------ [2003-10-07 04:22:18] datenpunk@php.net Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php ------------------------------------------------------------------------ [2003-10-06 03:48:05] datenpunk@php.net 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. ------------------------------------------------------------------------ [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 (#22436) next »