Hi
I following the instructions.
I try to upgrade IP from 1.5 to 1.6 but /index.php/setup show empty page.
Run PHP 8.1
Hi
I following the instructions.
I try to upgrade IP from 1.5 to 1.6 but /index.php/setup show empty page.
Run PHP 8.1
Empty page means an exception or parse error has occurred.
The error_reporting settings are set to a way that you canbot see the errors, usually because you’ve set the “environment” to “production”.
If you cannot see any errors in the logs, clear the logs and regenerate your blank page, it should show your parse error.
Only do this if you cannot find the parse error in your logs:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
It means you have to go to https://your-site.com/index.php?CI_ENV=development
(and you can probably even set it in your ipconfig.php, which is better)
In the end you’ll need this setting in your php.ini:
ini_set('display_errors', 1);
But that can all be done by setting the environment to development