Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Bug #1782 Call to undefined function: writeOutput()
Submitted: 2004-07-04 02:05 UTC
From: mail at hinnerk dot info Assigned:
Status: Bogus Package: HTML_TreeMenu
PHP Version: 4.3.4 OS: Win XP
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 47 + 23 = ?

 [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


 [2005-03-02 02:27 UTC] richard
The function exists, and without calling it I fail to see how the menu is being displayed.