From 945238f3ca59598ece86d54f513999bb62a6876a Mon Sep 17 00:00:00 2001 From: spetznas Date: Wed, 17 Jun 2026 19:21:04 +0200 Subject: [PATCH] debugging rsvp-submit.php --- public/authors/index.html | 4 ++-- public/de/sitemap.xml | 10 +++++----- public/en/sitemap.xml | 10 +++++----- public/index.html | 0 public/rsvp-submit.php | 5 +++-- static/rsvp-submit.php | 5 +++-- 6 files changed, 18 insertions(+), 16 deletions(-) mode change 100644 => 100755 public/index.html 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 '
'; }