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