Joomla! 1.0.x and PHP 5.3 meltdown

por | 13 julio, 2011

Here is the story: if you happen to run Joomla! 1.0, which you should not but what the heck, you’ll run into some weird issues if there is PHP 5.3.x running on your server. Everything will work fine except for one thing – there will be no content at al on your web site. And no matter what you do content will be invisible. Since Joomla! 1.0.x is no longer being maintained you should either upgrade to Joomla! 1.5.x/1.6.x or apply this little hack below:

Replace:

$arguments = func_get_args();

with

$arguments = func_get_args();
$numargs = func_num_args();
for($i=1; $i < $numargs; $i++){
$arguments[$i] = &$arguments[$i];
}

in includes/Cache/Lite/Function.php. This should be OK till… well, till you upgrade. It’s not like they are going to fix it in Joomla! 1.0.

 

http://dev.modmancer.com/index.php/2010/05/23/joomla-1-0-x-and-php-5-3-meltdown/