I'm currently running with PHP 5.3.4. I found that this should be compatible here https://joomla.stackexchange.com/questions/786/what-is-the-maximum-version-of-php-that-joomla-1-5-will-run
However I did have some PHP issues that I resolved with this link: Joomla menu not showing
After doing this I was able to see the menu items show up correctly for my site. However in the Menu Item Manager inside the Joomla admin the errors listed below are thrown when debugged. Menu items will not display at all and the list is blank. What is causing these errors to be thrown and not display my menu items in the Joomla Admin yet display on the website perfectly?
Warning: Parameter 4 to JHTMLMenu::treerecurse() expected to be a reference, value given in D:\\Inetpub\\wwwroot\\libraries\\joomla\\html\\html.php on line 87
Warning: array_slice() expects parameter 1 to be array, null given in D:\\Inetpub\\wwwroot\\administrator\\components\\com_menus\\models\\list.php on line 143
Warning: Invalid argument supplied for foreach() in D:\\Inetpub\\wwwroot\\administrator\\components\\com_menus\\models\\list.php on line 147 Notice: Only variable references should be returned by reference in D:\\Inetpub\\wwwroot\\administrator\\components\\com_menus\\views\\list\\view.php on line 198
Warning: Invalid argument supplied for foreach() in D:\\Inetpub\\wwwroot\\administrator\\components\\com_menus\\views\\list\\view.php on line 66
Sorry, what Joomla 1.5 version do you have?
Remember that only the 1.15.16+ are PHP 5.3 compatible
Look this Post Joomla 1.5 and PHP 5.3 with the same error on line:
libraries\\joomla\\html\\html.php on line 87
I think that you can try to replace the files with error with PhilETaylor version https://github.com/PhilETaylor/Joomla1.5.999
good Luck!
Credit to Ciro, by replacing the following files in my case resolved my issue. There was not a need to replace all Joomla files.
helper.php - found here modules\mod_mainmenu
html.php - found here libraries\joomla\html
view.php - found here administrator\components\com_menus\views\list
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.