服务器PHP升级后,我在Apache 2.0上使用PHP 5.6.2版本得到以下错误
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
然后更改core/Common.php
return $_config[0] =& $config
到
$_config[0] =& $config; return $_config[0];
这导致过多的重定向到一个站点,并得到302错误
in core/Common.php
将这行添加到第257行
return $_config[0];
我已经尝试它的工作为我当我升级我的codeigniter版本