Joomla 1.5 menus not showing up in PHP 3
Menus not showing up in Joomla? Although this is rare issue, but can be easily fixed. If your menus are suddenly no longer showing up in you Joomla 1.5 website. When this happens, anything items published under the Menu Manager > Main Menu > Menu Items are not visible from the front-end. If this is the case, chances are there has been a change on your sever. If your website is hosted on a shared environment, you may not even be aware that changes have taken place.
The first thing to do: check if your PHP version has been upgraded to PHP 3. If so, this fix will solve your problem in most cases.
Step 1
Modify the file located libraries/joomla/html/html.php
by changing
Return call_user_func_array( array( $className, $func ), $args );
to
Return call_user_func_array( array( $className, $func ), &$args );
Step 2
Modify the file located modules/mod_mainmenu/helper.php
by changing
function buildXML(&$params)
to
function buildXML($params)
That should do it! Your menu(s) should once again appear on the front-end of your website.