Codeigniter 2.xx Error "core/Common.php" PHP Version 5.6.3 [FIXED] - Ilmu Komputer

Tentang komputer, tips, trik, artikel, tutorial!

Rabu, 11 Maret 2015

Codeigniter 2.xx Error "core/Common.php" PHP Version 5.6.3 [FIXED]

How to fix error "Only variable references should be Returned by reference" CodeIgniter 2xxx, Filename: core / Common.php.

Codeigniter 2.xx Error "core/Common.php" PHP Version 5.6.3 [FIXED]

Codeigniter 2.xx Error "core/Common.php" PHP Version 5.6.3 [FIXED]


A PHP Error was encountered,Message: Only variable references should be returned by reference,Filename: core/Common.php,Line Number: 257. When using php version 5.6.3, CodeIgniter displays an error message like this:

Severity: NoticeA PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257

How to fix


Open file system / core / Common.php find line 257,like this

return $_config[0] =& $config;


Replace with

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

I hope the issue Codeigniter 2.xx Error core Common.php is resolved

Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : Codeigniter 2.xx Error "core/Common.php" PHP Version 5.6.3 [FIXED]

2 komentar:

Berkomentarlah dengan baik dan sopan..
Terimah kasih sudah berkunjung