#25755 [NEW]: DB_NestedSet MDB Support
| From: | simon dot hamilton at ntlworld dot com | Date: | Sun, 05 Oct 2003 12:50:55 +0000 |
| Subject: | #25755 [NEW]: DB_NestedSet MDB Support | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-22381@lists.php.net to get a copy of this message | ||
From: simon dot hamilton at ntlworld dot com
Operating system: Windows XP SP1
PHP version: 4.3.2
PHP Bug Type: PEAR related
Bug description: DB_NestedSet MDB Support
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 bug report at http://bugs.php.net/?id=25755&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25755&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25755&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25755&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25755&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25755&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25755&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25755&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25755&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25755&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25755&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25755&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25755&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25755&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25755&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25755&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25755&r=float