Welcome Guest, Not a member yet? Register   Sign In
Debug Exception crashing the app
#2

(This post was last modified: 11-03-2021, 06:03 AM by John_Betong.)

Check the error_reporting(); setting in the following file:

./app/Config/Boot/production.php

I don’t know and cannot check on my tablet if CodeIgniter4 redirects the error log file but it should show on phpinfo(); otherwise try the following:

PHP Code:
//Use ini_get to get the error_log directive.
$errorLogLocation ini_get('error_log');

//Print out the location of the error log.
echo 'Your error log is located at: ' $errorLogLocation

The error_log location can easily be modified by using the following:
PHP Code:
$newLog ini_set(‘error_log’“NEW-LOCATION.log’);
// BEWARE:
// $newLog may return a bool FALSE value if the file cannot be written 
Reply


Messages In This Thread
Debug Exception crashing the app - by tomasoma - 11-03-2021, 02:32 AM
RE: Debug Exception crashing the app - by John_Betong - 11-03-2021, 05:50 AM
RE: Debug Exception crashing the app - by kenjis - 11-03-2021, 07:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB