问题描述
我对Joomla一无所知,但我只需要完成此操作即可.突然我的Joomla网站菜单没有显示.我在菜单管理器"->主菜单"->菜单项"下看不到任何内容.但是jos_menu表中有行.为什么不显示?
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?
推荐答案
好像php已升级到5.3,各种各样的问题都在出现.我通过更改以下内容解决了该问题:
Looks like the php was upgraded to 5.3 and all sorts of problems are cropping up. I resolved it by changing the following:
在yourjoomladirectory/libraries/joomla/html/html.php
in yourjoomladirectory/libraries/joomla/html/html.php
return call_user_func_array( array( $className, $func ), $args );
到
return call_user_func_array( array( $className, $func ), &$args );
以及在yourjoomla目录/modules/mod_mainmenu/helper.php
and in yourjoomladirectory/modules/mod_mainmenu/helper.php
function buildXML(&$params)
到
function buildXML($params)
希望这对某人有帮助.
这篇关于Joomla菜单未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!