smartchicago / connect-chicago-locator

Search for and view information about places where you can use a computer for free in Chicago. Part of the Connect Chicago website.
locations.weconnectchicago.org
12 stars 13 forks source link

error_404 exceptions #6

Closed cgansen closed 11 years ago

cgansen commented 11 years ago

Via emailed exception

A NameError occurred in errors#error_404:

  undefined local variable or method `message' for #<ErrorsController:0x00000003d97800>
  app/controllers/application_controller.rb:14:in `render_error'

-------------------------------
Request:
-------------------------------

  * URL       : http://locations.weconnectchicago.org/sitemap.xml
  * IP address: 217.69.134.79
  * Parameters: {"controller"=>"errors", "action"=>"error_404", "not_found"=>"sitemap", "format"=>"xml"}
  * Rails root: /app
  * Timestamp : 2013-02-25 01:01:41 -0600

and

An ActionView::MissingTemplate occurred in errors#error_404:

  Missing template errors/error_404, application/error_404 with {:locale=>[:en], :formats=>[:xml], :handlers=>[:erb, :builder, :haml]}. Searched in:
  * "/app/app/views"
  * "/app/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views"
  * "/app/vendor/bundle/ruby/1.9.1/gems/twitter-bootstrap-rails-2.2.3/app/views"

  vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_view/path_set.rb:58:in `find'

-------------------------------
Request:
-------------------------------

  * URL       : http://locations.weconnectchicago.org/sitemap.xml
  * IP address: 217.69.134.79
  * Parameters: {"controller"=>"errors", "action"=>"error_404", "not_found"=>"sitemap", "format"=>"xml"}
  * Rails root: /app
  * Timestamp : 2013-02-25 01:01:40 -0600