First of all, my web return blank white screen,after add error_reporting(E_ALL);
to index.php
the error is appear :
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
then, using this suggestion, i change system/core/common.php
file on line 257. But After change it, my web comeback to blank screen.
Please help me to solve this...
FYI, my index.php
:
define('ENVIRONMENT', 'production');
if (defined('ENVIRONMENT'))
{
switch (ENVIRONMENT)
{
case 'development':
error_reporting(E_ALL);
ini_set('display_errors', 1);
break;
case 'testing':
case 'production':
error_reporting(E_ALL);
break;
default:
exit('The application environment is not set correctly.');
}
}
I have tried to change ENVIRONMENT to development, but still face blank screen...