Joomla menu not showing [closed]

南楼画角 提交于 2020-01-01 21:52:11

问题


I know nothing about Joomla, but I just need to get this done. Suddenly my Joomla site menu is not showing up. I cant see anything under the Menu Manager->Main Menu->Menu Items. But there are rows in the jos_menu table. Why isnt it showing up?


回答1:


Looks like the php was upgraded to 5.3 and all sorts of problems are cropping up. I resolved it by changing the following:

in yourjoomladirectory/libraries/joomla/html/html.php

return call_user_func_array( array( $className, $func ), $args );

to

return call_user_func_array( array( $className, $func ), &$args );

and in yourjoomladirectory/modules/mod_mainmenu/helper.php

function buildXML(&$params)

to

function buildXML($params)

Hope this helps someone.



来源:https://stackoverflow.com/questions/12293644/joomla-menu-not-showing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!