diff --git a/public/authors/index.html b/public/authors/index.html index ef0a37a..7df1b7c 100755 --- a/public/authors/index.html +++ b/public/authors/index.html @@ -137,14 +137,14 @@ diff --git a/public/de/sitemap.xml b/public/de/sitemap.xml index a78d503..f5b26de 100755 --- a/public/de/sitemap.xml +++ b/public/de/sitemap.xml @@ -3,11 +3,6 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> http://markinstefan.xyz/de/authors/ - + http://markinstefan.xyz/de/categories/ http://markinstefan.xyz/authors/ + - http://markinstefan.xyz/categories/ ErrorInfo); - http_response_code(500); - echo 'An error occurred while sending the RSVP.'; + echo '
';
+    echo htmlspecialchars($mail->ErrorInfo);
+    echo '
'; } diff --git a/static/rsvp-submit.php b/static/rsvp-submit.php index 2219ab5..3dc58b0 100755 --- a/static/rsvp-submit.php +++ b/static/rsvp-submit.php @@ -204,6 +204,7 @@ EOD; error_log('RSVP mail error: ' . $mail->ErrorInfo); - http_response_code(500); - echo 'An error occurred while sending the RSVP.'; + echo '
';
+    echo htmlspecialchars($mail->ErrorInfo);
+    echo '
'; }