PEAR is archived and read-only

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

Home » HTML » HTML_TreeMenu » Bug #1782

Call to undefined function: writeOutput()

Details

Submitted2004-07-04 02:05 UTC
Frommail at hinnerk dot info
StatusBogus
PackageHTML_TreeMenu
PHP Version4.3.4
OSWin XP
Roadmaps(Not assigned)

Comments

[2004-07-04 02:05 UTC] mail at hinnerk dot info

Description:
------------
Please excuse me if this has already been solved.

After installing TreeMenu via Package Management
(version 1.19 being shown there), the file
TreeMenu.php (which states it is 1.18 in its header)
Line 644 calls JS writeOutput method which isnt defined
in the js source file.

Works fine after commenting out the line.

Reproduce code:
---------------
calling code: (line 644)
$html .= sprintf("\n\t%s.writeOutput();", $menuObj);

Expected result:
----------------
No JS error

Actual result:
--------------
Error: objTreeMenu_1.writeOutput is not a function
Source File: REMOVED
Line: 150