Joomla menu not showing(Joomla 菜单未显示)
问题描述
我对 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 );
在 yourjoomladirectory/modules/mod_mainmenu/helper.php
and in yourjoomladirectory/modules/mod_mainmenu/helper.php
function buildXML(&$params)
到
function buildXML($params)
希望这对某人有所帮助.
Hope this helps someone.
这篇关于Joomla 菜单未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Joomla 菜单未显示
基础教程推荐
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01
- 如何在 PHP 中的请求之间持久化对象 2022-01-01
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 在多维数组中查找最大值 2021-01-01
- Libpuzzle 索引数百万张图片? 2022-01-01
- 超薄框架REST服务两次获得输出 2022-01-01