Joomla 1.0.15 & PHP 5.3+ quick fix

    Written by Alexis Nominé on . Posted in Joomla

    My host has decided to take the move to php 5.3. It causes a "little" problem with the websites powered by Joomla 1.0: content disappears everywhere! Here is a simple solution to fix it:

    Open /includes/Cache/Lite/Function.php and replace at line 74:

    $arguments = func_get_args();

    with:

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