An unhandled error occured.

\n"; if ($display_errors) { $message .= '
'; $message .= 'Fatal error: Uncaught exception '.get_class($e).'
'; $message .= 'Message: '.$e->getMessage().'
'; $message .= '
'.(str_replace(FCPATH, "./", $e->getTraceAsString())).'
'; $message .= 'thrown in '.$e->getFile().' on line '.$e->getLine().'
'; $message .= '
'; } else { $message .="

More information can be found in syslog or by enabling display_errors.

"; } error_log($e); $message = "$message"; include APPPATH."/errors/error_general.php"; } set_exception_handler('_actual_exception_handler'); /** * Checks for a fatal error, work around for set_error_handler not working on fatal errors. */ function check_for_fatal() { $error = error_get_last(); if ($error["type"] == E_ERROR) { _actual_exception_handler(new ErrorException( $error["message"], 0, $error["type"], $error["file"], $error["line"])); } } register_shutdown_function("check_for_fatal"); /* * -------------------------------------------------------------------- * LOAD THE BOOTSTRAP FILE * -------------------------------------------------------------------- * * And away we go... * */ try { ob_start(); require_once BASEPATH.'core/CodeIgniter.php'; ob_end_flush(); } catch (Exception $e) { ob_end_clean(); foreach (headers_list() as $header) { $key = explode(":", $header)[0]; header_remove($key); } _actual_exception_handler($e); echo "Usage peak: ".format_bytes(memory_get_peak_usage()); } /* End of file index.php */ /* Location: ./index.php */