<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>500 Internal Server Error - Lolo Rally</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
text-align: center;
padding: 50px;
}
h1 {
color: #e74c3c;
font-size: 48px;
}
p {
font-size: 18px;
}
.location {
font-size: 16px;
margin-top: 20px;
color: #3498db;
}
.footer {
margin-top: 40px;
font-size: 14px;
color: #888;
}
</style>
</head>
<body>
<h1>500 Internal Server Error</h1>
<p>Oops! Something went wrong on our end. We are working to fix it.</p>
<p>In the meantime, please bear with us as we resolve the issue.</p>
<div class="location">
<p>CP5: <strong>(34.1085262, -118.2136785)</strong></p>
</div>
<div class="footer">
<p>© 2024 Lolo Rally. All Rights Reserved.</p>
</div>
<script>
// Simulating a server error by triggering a custom error message
function simulateError() {
try {
// Simulate a server-side error
throw new Error("Internal Server Error");
} catch (e) {
// Handle the error and show a custom message
document.body.innerHTML = `
<h1>500 Internal Server Error</h1>
<p>Oops! Something went wrong on our end. We are working to fix it.</p>
<p>In the meantime, please bear with us as we resolve the issue.</p>
<div class="location">
<p>CP5 - Mt Wash: <strong>(34.1085262, -118.2136785)</strong></p>
</div>
<div class="footer">
<p>© 2024 Lolo Rally. All Rights Reserved.</p>
</div>
`;
}
}
// Trigger the error simulation
simulateError();
</script>
</body>
</html>