Our site is ads supported. Please disable your ad blocker and reload the page. Thank you!

Joomla 1.0 and PHP 5.3

1 1 1 1 1 Joomla 1.0 and PHP 5.35.00Rating 4.98 (225 Votes)

Although Joomla 1.0 is no longer supported, there still are vast humber of sites running on that CMS. If you need to transfer Joomla 1.0.x site to webhosting with PHP 5.3.x, you may consider doing the following patches:

Edit configuration.php, and change:
$mosConfig_error_reporting = '-1';
to
$mosConfig_error_reporting = '0';


In the file /includes/Cache/Lite/Function.php  change line №92
$result = call_user_func_array(array($class, $method), $arguments);
to
$result = call_user_func_array(array($class, $method), &$arguments);


and line 100:
$result = call_user_func_array($target, $arguments);
to
$result = call_user_func_array($target, &$arguments);


And make another patch of file includes/joomla.php :
$params =& new mosParameters( $my->params, $file, 'component' );
to
$params = new mosParameters( $my->params, $file, 'component' );

Source: joomlaforum.ru

You have no rights to post comments

Monday the 19th.