Answers.Body: <p>Turns out it was HHVM causing the issue. Switching back to 'normal' PHP made the problem disappear.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-20T13:53:18.950Z
Answers.LastActivityDate: 2016-06-20T13:53:18.950Z
Answers.UserDisplayName: Gaz
Body: <p>I'm currently seeing this in the PHP error logs:</p>
  
  <blockquote>
  <pre><code>Fatal error: Uncaught exception 'Craft\\HttpException' with message '' in
  /home/vagrant/htdocs/site/craft/app/controllers/TemplatesController.php:59\nStack
  trace:\n#0 (): Craft\\TemplatesController-&gt;actionRender()\n#1
  /home/vagrant/htdocs/site/craft/app/framework/web/actions/CAction.php(109):
  ReflectionMethod-&gt;invokeArgs()\n#2
  /home/vagrant/htdocs/site/craft/app/framework/web/actions/CInlineAction.php(47):
  CAction-&gt;runWithParamsInternal()\n#3
  /home/vagrant/htdocs/site/craft/app/framework/web/CController.php(308):
  CInlineAction-&gt;runWithParams()\n#4
  /home/vagrant/htdocs/site/craft/app/framework/web/CController.php(286):
  CController-&gt;runAction()\n#5
  /home/vagrant/htdocs/site/craft/app/framework/web/CController.php(265):
  CController-&gt;runActionWithFilters()\n#6
  /home/vagrant/htdocs/site/craft/app/framework/web/CWebApplication.php(284):
  CController-&gt;run()\n#7
  /home/vagrant/htdocs/site/craft/app/framework/web/CWebApplication.php(141):
  CWebApplication-&gt;runController()\n#8
  /home/vagrant/htdocs/site/craft/app/etc/web/WebApp.php(288):
  CWebApplication-&gt;processRequest()\n#9
  /home/vagrant/htdocs/site/craft/app/framework/base/CApplication.php(185):
  Craft\\WebApp-&gt;processRequest()\n#10
  /home/vagrant/htdocs/site/craft/app/index.php(62):
  CApplication-&gt;run()\n#11
  /home/vagrant/htdocs/site/public/index.php(19): include()\n#12 {main}
  </code></pre>
  </blockquote>
  
  <p>I have a <code>_404.html</code> template under <code>templates/</code> and the <code>errorTemplatePrefix</code> set to <code>_</code>.</p>
  
Tags: <error-templates>
Title: Why is Craft rendering a blank page instead of an error template?
ThreadText: # Why is Craft rendering a blank page instead of an error template?
  
  (Asked by: username_0 on 2016-06-20)
  
  I'm currently seeing this in the PHP error logs:
  
  > ```
  > Fatal error: Uncaught exception 'Craft\\HttpException' with message '' in
  > /home/vagrant/htdocs/site/craft/app/controllers/TemplatesController.php:59\nStack
  > trace:\n#0 (): Craft\\TemplatesController->actionRender()\n#1
  > /home/vagrant/htdocs/site/craft/app/framework/web/actions/CAction.php(109):
  > ReflectionMethod->invokeArgs()\n#2
  > /home/vagrant/htdocs/site/craft/app/framework/web/actions/CInlineAction.php(47):
  > CAction->runWithParamsInternal()\n#3
  > /home/vagrant/htdocs/site/craft/app/framework/web/CController.php(308):
  > CInlineAction->runWithParams()\n#4
  > /home/vagrant/htdocs/site/craft/app/framework/web/CController.php(286):
  > CController->runAction()\n#5
  > /home/vagrant/htdocs/site/craft/app/framework/web/CController.php(265):
  > CController->runActionWithFilters()\n#6
  > /home/vagrant/htdocs/site/craft/app/framework/web/CWebApplication.php(284):
  > CController->run()\n#7
  > /home/vagrant/htdocs/site/craft/app/framework/web/CWebApplication.php(141):
  > CWebApplication->runController()\n#8
  > /home/vagrant/htdocs/site/craft/app/etc/web/WebApp.php(288):
  > CWebApplication->processRequest()\n#9
  > /home/vagrant/htdocs/site/craft/app/framework/base/CApplication.php(185):
  > Craft\\WebApp->processRequest()\n#10
  > /home/vagrant/htdocs/site/craft/app/index.php(62):
  > CApplication->run()\n#11
  > /home/vagrant/htdocs/site/public/index.php(19): include()\n#12 {main}
  >
  > ```
  
  I have a `_404.html` template under `templates/` and the `errorTemplatePrefix` set to `_`.
  
  **Tags:** error-templates
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-06-20. Score: 1
  
  Turns out it was HHVM causing the issue. Switching back to 'normal' PHP made the problem disappear.
  
  
  ---
  
  