Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/284.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Joomla 1.5.3不会在菜单项管理器中显示菜单项_Php_Joomla1.5 - Fatal编程技术网

Php Joomla 1.5.3不会在菜单项管理器中显示菜单项

Php Joomla 1.5.3不会在菜单项管理器中显示菜单项,php,joomla1.5,Php,Joomla1.5,我目前使用的是PHP5.3.4。我发现这里应该是兼容的 但是,我确实遇到了一些PHP问题,我通过此链接解决了这些问题: 完成此操作后,我能够看到我的站点的菜单项正确显示。但是,在Joomla admin中的菜单项管理器中,调试时会抛出下面列出的错误。菜单项将完全不显示,列表为空。是什么原因导致这些错误被抛出,并没有在Joomla管理员中显示我的菜单项,但却完美地显示在网站上 警告:JHTMLMenu::treerecurse()的参数4应为引用,其值在第87行的D:\Inetpub\wwwroo

我目前使用的是PHP5.3.4。我发现这里应该是兼容的

但是,我确实遇到了一些PHP问题,我通过此链接解决了这些问题:

完成此操作后,我能够看到我的站点的菜单项正确显示。但是,在Joomla admin中的菜单项管理器中,调试时会抛出下面列出的错误。菜单项将完全不显示,列表为空。是什么原因导致这些错误被抛出,并没有在Joomla管理员中显示我的菜单项,但却完美地显示在网站上

警告:JHTMLMenu::treerecurse()的参数4应为引用,其值在第87行的D:\Inetpub\wwwroot\libraries\joomla\html\html.php中给出

警告:array\u slice()要求参数1为array,在第143行的D:\Inetpub\wwwroot\administrator\components\com\u menus\models\list.php中给出空值

警告:第147行的D:\Inetpub\wwwroot\administrator\components\com\u menus\models\list.php中为foreach()提供的参数无效注意:第198行的D:\Inetpub\wwwroot\administrator\components\com\u menus\views\list\view.php中的引用只能返回变量引用


警告:为第66行的D:\Inetpub\wwwroot\administrator\components\com\u menus\views\list\view.php中的foreach()提供的参数无效

请记住,只有1.15.16+与PHP5.3兼容

在第行查看此帖子时出现相同错误:

第87行的
libraries\joomla\html\html.php

我认为您可以尝试用PhilETaylor版本替换错误文件


祝你好运

这要归功于Ciro,在我的案例中,通过替换以下文件解决了我的问题。没有必要替换所有Joomla文件

helper.php - found here modules\mod_mainmenu 
html.php - found here libraries\joomla\html 
view.php - found here administrator\components\com_menus\views\list

修订标题和提出的问题。希望它更清楚。使用Joomla 1.5.3版运行,这应该与我读到的PHP5.3.4兼容。Joomla 1.5.3?我认为最后一个稳定的版本是Joomla!1.5.26... 尝试用Philletaylor替换文件,首先替换
libraries\joomla\html\html.php
以查看警告是否为hiddenOk,因此我替换了以下文件:helper.php-found here modules\mod_main menu html.php-found here libraries\joomla\html view.php-found here administrator\components\com_menus\views\list,解决了我的问题。谢谢你的帮助!我很高兴知道一切都好!我的网站也没有列出菜单项,你能帮我一些想法吗。