title: Zend Framework - ErrorHandler does not seem to be working as expected
body: <p>This is my first experience using the Zend Framework. I am attempting to follow the <a href="http://framework.zend.com/docs/quickstart/introduction" rel="nofollow noreferrer">Quick Start</a> tutorial. Everything was working as expected until I reached the section on the <a href="http://framework.zend.com/docs/quickstart/create-an-error-controller-and-view" rel="nofollow noreferrer">Error Controller and View</a>. When I navigate to a page that does not exist, instead of receiving the error page I get the Fatal Error screen dump (in all it's glory):</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception'
    with message 'Invalid controller specified (error)' in
    /home/.fantasia/bcnewman/foo.com/library/Zend/Controller/Dispatcher/Standard.php:249
    Stack trace: #0
    /home/.fantasia/bcnewman/foo.com/library/Zend/Controller/Front.php(946):
    Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
    Object(Zend_Controller_Response_Http)) #1
    /home/.fantasia/bcnewman/foo.com/public/index.php(42):
    Zend_Controller_Front->dispatch() #2 {main} thrown in
    /home/.fantasia/bcnewman/foo.com/library/Zend/Controller/Dispatcher/Standard.php
    on line 249</p>
  </blockquote>
  
  <p>I do not believe this is caused by a syntax error on my part (a copied and pasted the example file's content from the tutorial) and I believe I have the application directory structure correct:</p>
  
  <pre><code>./application
  ./application/controllers
  ./application/controllers/IndexController.php
  ./application/controllers/ErrorHandler.php
  ./application/views
  ./application/views/scripts
  ./application/views/scripts/index
  ./application/views/scripts/index/index.phtml
  ./application/views/scripts/error
  ./application/views/scripts/error/error.phtml
  ./application/bootstrap.php
  ./public
  ./public/index.php
  </code></pre>
  
  <p>And finally, the <code>IndexController</code> and <code>index.phtml</code> view does work.</p>