#25755 [Opn->Csd]: DB_NestedSet MDB Support
| From: | datenpunk@php.net | Date: | Tue, 07 Oct 2003 08:22:18 +0000 |
| Subject: | #25755 [Opn->Csd]: DB_NestedSet MDB Support | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22435@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
+Status: Closed
Bug Type: PEAR related
Operating System: Windows XP SP1
PHP Version: 4.3.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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