mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-18 10:51:23 +00:00
27 lines
804 B
Plaintext
27 lines
804 B
Plaintext
<%@ page class="Error500Page" %>
|
|
<%@ page baseClass="SessionHTTPRequestHandler" %>
|
|
<%@ page ctorArg="Session*" %>
|
|
<%@ header include="HTTPInterface/SessionHTTPRequestHandler.h" %>
|
|
<%!
|
|
#include <Poco/Net/HTTPResponse.h>
|
|
|
|
%>
|
|
<%
|
|
const char* pageName = "Error";
|
|
response.setStatusAndReason(Poco::Net::HTTPResponse::HTTP_INTERNAL_SERVER_ERROR);
|
|
Poco::AutoPtr<controller::User> user;
|
|
if(mSession) {
|
|
auto user = mSession->getNewUser();
|
|
}
|
|
%><%@ include file="include/header_old.cpsp" %>
|
|
<div class="grd_container">
|
|
<h2>Ein Fehler auf dem Server trat ein, der Admin bekam eine E-Mail.</h2>
|
|
<% if(mSession) { %>
|
|
<%= mSession->getErrorsHtmlNewFormat() %>
|
|
<% } %>
|
|
<% if(!user.isNull()) {%>
|
|
<%= user->getModel()->getErrorsHtmlNewFormat() %>
|
|
<% } %>
|
|
</div>
|
|
<%@ include file="include/footer.cpsp" %>
|