" . gettext("Unfortunately we have detected a programming bug.") . "
";
echo gettext("Would you like to submit the programming debug logs to the pfSense developers for inspection?") . "";
echo "";
echo "" . gettext("Please double check the contents to ensure you are comfortable sending this information before clicking Yes.") . "
";
echo "
";
echo gettext("Contents of crash reports") . ":
";
echo "";
echo "
";
echo "" . gettext(" - Submit this to the developers for inspection");
echo "" . gettext(" - Just delete the crash report and take me back to the Dashboard");
echo "";
echo "";
}
$pgtitle = array(gettext("Diagnostics"),gettext("Crash reporter"));
include('head.inc');
$crash_report_header = "Crash report begins. Anonymous machine information:\n\n";
$crash_report_header .= php_uname("m") . "\n";
$crash_report_header .= php_uname("r") . "\n";
$crash_report_header .= php_uname("v") . "\n";
$crash_report_header .= "\nCrash report details:\n";
exec("/usr/bin/grep -vi warning /tmp/PHP_errors.log", $php_errors);
?>