debugging rsvp-submit.php
This commit is contained in:
1 parent
2f1de8f764
commit
945238f3ca
6 files changed
+18
-16
No files matched your search
@@ -137,14 +137,14 @@
|
|||||||
|
|
||||||
|
|
||||||
<li class="navigation-item">
|
<li class="navigation-item">
|
||||||
<a href="/de/authors/">🇩🇪</a>
|
<a href="/ru/authors/">🇷🇺</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="navigation-item">
|
<li class="navigation-item">
|
||||||
<a href="/ru/authors/">🇷🇺</a>
|
<a href="/de/authors/">🇩🇪</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,6 @@
|
|||||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
<url>
|
<url>
|
||||||
<loc>http://markinstefan.xyz/de/authors/</loc>
|
<loc>http://markinstefan.xyz/de/authors/</loc>
|
||||||
<xhtml:link
|
|
||||||
rel="alternate"
|
|
||||||
hreflang="de"
|
|
||||||
href="http://markinstefan.xyz/de/authors/"
|
|
||||||
/>
|
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="en"
|
hreflang="en"
|
||||||
@@ -18,6 +13,11 @@
|
|||||||
hreflang="ru"
|
hreflang="ru"
|
||||||
href="http://markinstefan.xyz/ru/authors/"
|
href="http://markinstefan.xyz/ru/authors/"
|
||||||
/>
|
/>
|
||||||
|
<xhtml:link
|
||||||
|
rel="alternate"
|
||||||
|
hreflang="de"
|
||||||
|
href="http://markinstefan.xyz/de/authors/"
|
||||||
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>http://markinstefan.xyz/de/categories/</loc>
|
<loc>http://markinstefan.xyz/de/categories/</loc>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
|
|||||||
@@ -3,6 +3,11 @@
|
|||||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
<url>
|
<url>
|
||||||
<loc>http://markinstefan.xyz/authors/</loc>
|
<loc>http://markinstefan.xyz/authors/</loc>
|
||||||
|
<xhtml:link
|
||||||
|
rel="alternate"
|
||||||
|
hreflang="ru"
|
||||||
|
href="http://markinstefan.xyz/ru/authors/"
|
||||||
|
/>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="de"
|
hreflang="de"
|
||||||
@@ -13,11 +18,6 @@
|
|||||||
hreflang="en"
|
hreflang="en"
|
||||||
href="http://markinstefan.xyz/authors/"
|
href="http://markinstefan.xyz/authors/"
|
||||||
/>
|
/>
|
||||||
<xhtml:link
|
|
||||||
rel="alternate"
|
|
||||||
hreflang="ru"
|
|
||||||
href="http://markinstefan.xyz/ru/authors/"
|
|
||||||
/>
|
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>http://markinstefan.xyz/categories/</loc>
|
<loc>http://markinstefan.xyz/categories/</loc>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
|
|||||||
Regular → Executable
File mode changed.
@@ -204,6 +204,7 @@ EOD;
|
|||||||
|
|
||||||
error_log('RSVP mail error: ' . $mail->ErrorInfo);
|
error_log('RSVP mail error: ' . $mail->ErrorInfo);
|
||||||
|
|
||||||
http_response_code(500);
|
echo '<pre>';
|
||||||
echo 'An error occurred while sending the RSVP.';
|
echo htmlspecialchars($mail->ErrorInfo);
|
||||||
|
echo '</pre>';
|
||||||
}
|
}
|
||||||
@@ -204,6 +204,7 @@ EOD;
|
|||||||
|
|
||||||
error_log('RSVP mail error: ' . $mail->ErrorInfo);
|
error_log('RSVP mail error: ' . $mail->ErrorInfo);
|
||||||
|
|
||||||
http_response_code(500);
|
echo '<pre>';
|
||||||
echo 'An error occurred while sending the RSVP.';
|
echo htmlspecialchars($mail->ErrorInfo);
|
||||||
|
echo '</pre>';
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user