Problems moving site to another domain |
(09-06-2019, 02:14 PM)dave friend Wrote:(09-06-2019, 09:50 AM)pantheonride Wrote: I tried that and the blank screen started as soon as i included the first line from original script After replacing it with a fresh copy, the blank screen appears. From database.php it shows 'char_set' => 'utf8', is that correct? (09-06-2019, 07:21 PM)John_Betong Wrote: > I tried that and the blank screen started as soon as i included the first line from original script Sorry but I am a bit confused. Do you mean placing these lines in the original script 1 by 1 line at a time and checking for errors? declare(strict_types=1); error_reporting(-1); ini_set('display_errors', '1'); echo __line__; The blank screen appears when the line "declare(strict_types=1);" is included <?php define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development'); switch (ENVIRONMENT) { case 'development': declare(strict_types=1); error_reporting(-1); ini_set('display_errors', 1); echo __line__; die; but when I remove the line "declare(strict_types=1);" as below, the correct line number is displayed <?php define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development'); switch (ENVIRONMENT) { case 'development': error_reporting(-1); ini_set('display_errors', 1); echo __line__; die; Does it mean anything or is it normal? |
Welcome Guest, Not a member yet? Register Sign In |