Joomla! 1.0.x and PHP 5.3 meltdown

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.

Tags: , ,

43 Responses to "Joomla! 1.0.x and PHP 5.3 meltdown"

  • Pete says:
  • nico says:
  • Anom WIjaya says:
  • Victor says:
  • Jos says:
  • Nathan says:
  • Dennis says:
  • Jibster says:
  • wiebe says:
  • ffault says:
  • ThankYou! says:
  • selli69 says:
  • Jodil Davis says:
  • yorch says:
  • Russ says:
  • James says:
  • firman says:
  • Giorgos says:
  • reeg99 says:
  • Dann says:
  • Eddie says:
  • hiceman says:
  • Colin Mercer says:
  • Frederic says:
  • Koo says:
  • pieter says:
  • Joe says:
  • JamieL says:
  • SchellcomAT says:
  • ArcAngle says:
  • Octootje says:
  • roger says:
  • george says:
  • Hugh says:
  • Josh says:
  • Dan says:
  • Silvia says:
  • Wojtas says:
  • Ken Lyle says:
  • Francesco says:
  • Баже says:
Leave a Comment