<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<title>500 Internal Server Error</title>
<style type="text/css">
<!--/* <![CDATA[ */
body {
background: #c0c0c0;
}
a { text-decoration: underline }
a:hover { text-decoration: none }
a:visited { color: #00f }
h2 { color: #f00; }
th { vertical-align: top; text-align: right; }
td { color: #00f; }
.content {
background: #fff;
margin: 10px;
border: 1px solid #000;
padding: 0px 20px;
}
.message {
color: #00f;
padding: 10px;
background-color: #ffffe0;
border-top: solid 2px #c0c0c0;
border-bottom: solid 2px #c0c0c0;
font-style: italic;
}
.error {
font-weight: bold;
margin: 15px;
}
.itemhidden { display: none; }
.itemshown { display: inline; }
/* ]]> */-->
</style>
<script type="text/javascript">//<![CDATA[
function make_blank() {
document.form1.comments.innerHTML = "";
}
function toggleview (id1,id2) {
var obj1 = document.getElementById(id1);
var obj2 = document.getElementById(id2);
(obj1.className=="itemshown") ? obj1.className="itemhidden" : obj1.className="itemshown";
(obj1.className=="itemshown") ? obj2.innerHTML="tell us what you were doing at the time" : obj2.innerHTML="tell us what you were doing at the time";
}
//]]></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div class="content">
<h2>500 Internal Server Error</h2>
<p class="error">An error has occurred - incident number [% incident %]</p>
<p class="message">[% message %]</p>
<p>Relevant details have already been logged, but if you want to
<a id="toggleform" href="javascript:toggleview('form','toggleform')">
tell us what you were doing at the time
</a> it might help us determine the cause more accurately and fix the
problem more easily.
</p>
<div id="form" class="itemhidden">
<hr />
<form method="post" action="/script/cgi/crash_reporter.cgi"
enctype="multipart/form-data" name="form1">
<input type="hidden" name="incident" value="[% incident %]" />
<input type="hidden" name="message" value="[% message %]" />
<table>
<tr>
<th>Name:</th>
<td><input type="text" name="name" size="40" /> [optional]</td>
</tr>
<tr>
<th>Contact telephone number:</th>
<td><input type="text" name="tel" size="40" /> [optional]</td>
</tr>
<tr>
<th>Email address:</th>
<td><input type="text" name="email" size="40" /> [optional]</td>
</tr>
<tr>
<th>Summary:</th>
<td>
<textarea name="comments" rows="10" cols="60"
onclick="make_blank();">Describe your circumstances here. What were you trying to do?</textarea>
</td>
</tr>
</table>
<p align="center">
<input type="submit" name=".submit" value="Submit" />
</p>
</form>
<hr />
</div>
<p>
Or, you can contact us at [% settings.service_telno %] with
reference incident number [% incident %]
</p>
[% IF mail_messsage %]
<p>An attempt to alert the administrator by email appears to have failed:
[% mail_message %]
</p>
[% END %]
</div>
</body>
</html>