<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged wsod</title>
<link>https://www.question2answer.org/qa/tag/wsod</link>
<description>Powered by Question2Answer</description>
<item>
<title>An error in the emails translations file causes WSOD</title>
<link>https://www.question2answer.org/qa/2712/an-error-in-the-emails-translations-file-causes-wsod</link>
<description>I had an error in the qa-lang-emails.php (missing comma).&lt;br /&gt;
&lt;br /&gt;
This causes the following line in qa_lang_base to fail silently, causing in turn a White Screen of Death: &lt;br /&gt;
&lt;br /&gt;
$phrases=@include $directory.'qa-lang-'.$group.'.php'; // can tolerate missing file or directory&lt;br /&gt;
&lt;br /&gt;
The fact that the translation file was corrupted is of course my bug, but would it be possible to fail in a more informative way? &lt;br /&gt;
&lt;br /&gt;
I realize that it might mean you can't simply use php parser to include the language files (e.g. here &lt;a href=&quot;http://stackoverflow.com/questions/1527364/php-robust-include-to-handle-errors&quot; rel=&quot;nofollow&quot;&gt;http://stackoverflow.com/questions/1527364/php-robust-include-to-handle-errors&lt;/a&gt;). &lt;br /&gt;
&lt;br /&gt;
Maybe another format for the language files will anyway be better?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/2712/an-error-in-the-emails-translations-file-causes-wsod</guid>
<pubDate>Wed, 22 Sep 2010 05:46:47 +0000</pubDate>
</item>
</channel>
</rss>