Kreshna
Karma: 0
|
How to run Mambo 4.5.3 on PHP 5.3.1 ? - 2011/05/02 18:25
I have a website which runs on Mambo 4.5.3, which runs fine on PHP 5.1.6
I plan to move the website to a new hosting, but the new hosting uses PHP 5.3.1. When I ran the website, I got the following error.
Warning: Parameter 2 to frontpage() expected to be a reference, value given in D ampphtdocsenincludesCacheLiteFunction.php on line 100
When I set the display_errors parameter to 'Off'. the error message disappeared. However, the website does not run normally. Several pics disappear, and some pages doesn't show either.
Furthermore, when I chechked the page source from Firefox, I found that certain PHP lines are not rendered properly. For example, in the new hosting PHP 5.3.1), these PHP lines are NOT properly rendered to HTML.
| Code: | /images/menu1.gif">
Latest News ...
/images/menu2.gif">
|
But PHP 5.1.6 never has problem at all,
You see, PHP 5.1.6 properly renders the $mosConfig_live_site PHP variable to http://www.mywebsite/en/, while PHP 3.1.6 does not.
Furthermore, when I opened the Mambo Admin page, all the icons disappear, as shown on the screenshot below.

FYI, the website runs fine on Mambo 5.16. For instance, the Mambo Admin page runs normal on PHP 5.1.6

I just don't have time to migrate the website to newer version of Mambo, or to Joomla. Is there any changes in Mambo that I should do?
Many thanks,
Post edited by: Kreshna, at: 2011/05/02 18:27
|