Select Page

If you happened encountered that PHP Error on your CodeIgniter application (eg fuelcms), then try this fix by milan.petrak in EllisLab’s forum :

return $_config[0] =& $config;

change into :

$_config[0] =& $config;
return $_config[0];

8 Comments

  1. Mahrizal

    Thanks

    For me , I change into :

    return $config;

    It works

    Reply
    • dewa

      Glad it works 🙂

      Reply
  2. Agung

    where i put this code ?

    Reply
    • dewa

      Hai,
      in FuelCMS, the file is “fuel/codeigniter/core/Common.php”, find at line 257
      in CodeIgniter 2.2.1, the file is “system/core/Common.php” but there’s no need to edit.

      Reply
  3. Thinesh

    Thanks for posting

    Reply
  4. banghaji

    nice article, it was work for me, thanks

    Reply
  5. Simon

    This is not working with me !!!

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *