' . '' . '

Error

' . $message . '
' . '

This alternative error page is being displayed because the other couldn\'t be found or hasn\'t loaded yet.

'); } function fatal_error_handler() { if ($error = error_get_last()) { if ($error['type'] == E_ERROR) { if (function_exists('error')) { error('Caught fatal error: ' . $error['message'] . ' in ' . $error['file'] . ' on line ' . $error['line'], LOG_ERR); } else { basic_error_function_because_the_other_isnt_loaded_yet('Caught fatal error: ' . $error['message'] . ' in ' . $error['file'] . ' on line ' . $error['line'], LOG_ERR); } } } } function verbose_error_handler($errno, $errstr, $errfile, $errline) { global $config; if (error_reporting() == 0) return false; // Looks like this warning was suppressed by the @ operator. if ($errno == E_DEPRECATED && !$config['deprecation_errors']) return false; error(utf8tohtml($errstr), true, array( 'file' => $errfile . ':' . $errline, 'errno' => $errno, 'error' => $errstr, 'backtrace' => array_slice(debug_backtrace(), 1) )); }