error log codeigniter code example Example: display errors in codeigniter ini_set('display_errors', 1); inside config/database.php