hmm, looks like request.raw_post is nil. I've just committed a fix (add
PS. CCed to list
> /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `send!'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `call'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:441:in `run'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:716:in
> `run_before_filters'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:695:in
> `call_filters'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:689:in
> `perform_action_without_benchmark'
> /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
> `perform_action_without_rescue'
> /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
> `perform_action_without_rescue'
> /vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in
> `perform_action_without_caching'
> /vendor/rails/actionpack/lib/action_controller/caching.rb:678:in
> `perform_action'
> /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/q uery_cache.rb:33:in
> `cache'
> /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
> /vendor/rails/actionpack/lib/action_controller/caching.rb:677:in
> `perform_action'
> /vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send'
> /vendor/rails/actionpack/lib/action_controller/base.rb:524:in
> `process_without_filters'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:685:in
> `process_without_session_management_support'
> /vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in
> `process'
> /vendor/rails/actionpack/lib/action_controller/base.rb:388:in `process'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:177:in
> `handle_request'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:119:in
> `dispatch'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:116:in
> `synchronize'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:116:in
> `dispatch'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:132:in
> `dispatch_cgi'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:11:in
> `dispatch'
> /vendor/rails/railties/lib/fcgi_handler.rb:101:in `process_request'
> /vendor/rails/railties/lib/fcgi_handler.rb:149:in `with_signal_handler'
> /vendor/rails/railties/lib/fcgi_handler.rb:99:in `process_request'
> /vendor/rails/railties/lib/fcgi_handler.rb:77:in `process_each_request'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
> /vendor/rails/railties/lib/fcgi_handler.rb:76:in `process_each_request'
> /vendor/rails/railties/lib/fcgi_handler.rb:50:in `process!'
> /vendor/rails/railties/lib/fcgi_handler.rb:24:in `process!'
> dispatch.fcgi:24
> Rendering /home/enricot/enki/public/500.html (500 Error)
> rendering section "request"
> rendering section "session"
> rendering section "environment"
> rendering section "backtrace"
> Sent mail:
> From: Exception Notifier <exception.notif...@default.com>
> To: enrico.teo...@gmail.com
> Subject: [ERROR] dashboard#show (NoMethodError) "undefined method `+'
> for nil:NilClass"
> Mime-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> A NoMethodError occurred in dashboard#show:
> undefined method `+' for nil:NilClass
> [RAILS_ROOT]/app/controllers/admin/base_controller.rb:13:in `hash_request'
> -------------------------------
> Request:
> -------------------------------
> * URL : http://enki.teotti.com/admin
> * IP address: 115.128.7.29
> * Parameters: {"action"=>"show", "controller"=>"admin/dashboard"}
> * Rails root: /home/enricot/enki
> -------------------------------
> Session:
> -------------------------------
> * session id: "f0479824faea5712630bbdab07079994"
> * data: {"flash"=>{}}
> -------------------------------
> Environment:
> -------------------------------
> * DOCUMENT_ROOT : /home/enricot/enki/public/
> * FCGI_ROLE : RESPONDER
> * GATEWAY_INTERFACE : CGI/1.1
> * HTTP_ACCEPT :
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> * HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7
> * HTTP_ACCEPT_ENCODING: gzip,deflate
> * HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
> * HTTP_CONNECTION : keep-alive
> * HTTP_COOKIE :
> __utma=195874601.4157923228474945000.1218633964.1220275344.1220357243.9;
> __utmz=195874601.1219328078.3.2.utmcsr=twitter.com|utmccn=(referral)|utmcmd =referral|utmcct=/agenteo;
> _enki_session=f0479824faea5712630bbdab07079994
> * HTTP_HOST : enki.teotti.com
> * HTTP_KEEP_ALIVE : 300
> * HTTP_USER_AGENT : Mozilla/5.0 (Macintosh; U; Intel Mac OS X
> 10.5; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0
> * PATH :
> /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
> * QUERY_STRING :
> * RAW_POST_DATA :
> * REDIRECT_STATUS : 200
> * REDIRECT_URL : /admin
> * REMOTE_ADDR : 115.128.7.29
> * REMOTE_PORT : 49186
> * REQUEST_METHOD : GET
> * REQUEST_URI : /admin
> * SCRIPT_FILENAME : /home/enricot/enki/public/dispatch.fcgi
> * SCRIPT_NAME : /dispatch.fcgi
> * SERVER_ADDR : 75.126.218.152
> * SERVER_ADMIN : webmas...@enki.teotti.com
> * SERVER_NAME : enki.teotti.com
> * SERVER_PORT : 80
> * SERVER_PROTOCOL : HTTP/1.1
> * SERVER_SIGNATURE : <address>Apache/2.2.4 (Unix) mod_ssl/2.2.4
> OpenSSL/0.9.7a DAV/2 mod_auth_passthrough/1.8 mod_bwlimited/1.4
> SVN/1.4.3 PHP/5.2.1 Server at enki.teotti.com Port 80</address>
> * SERVER_SOFTWARE : Apache/2.2.4 (Unix) mod_ssl/2.2.4
> OpenSSL/0.9.7a DAV/2 mod_auth_passthrough/1.8 mod_bwlimited/1.4
> SVN/1.4.3 PHP/5.2.1
> * Process: 21853
> * Server : edwards
> -------------------------------
> Backtrace:
> -------------------------------
> [RAILS_ROOT]/app/controllers/admin/base_controller.rb:13:in `hash_request'
> [RAILS_ROOT]/app/controllers/admin/base_controller.rb:17:in
> `require_login_or_enki_hash'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:469:i n
> `send!'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:469:i n
> `call'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:441:i n
> `run'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:716:i n
> `run_before_filters'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:695:i n
> `call_filters'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:689:i n
> `perform_action_without_benchmark'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 68:in
> `perform_action_without_rescue'
> /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 68:in
> `perform_action_without_rescue'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in
> `perform_action_without_caching'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/caching.rb:678:i n
> `perform_action'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapter s/abstract/query_cache.rb:33:in
> `cache'
> [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:i n
> `cache'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/caching.rb:677:i n
> `perform_action'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:524:in
> `send'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:524:in
> `process_without_filters'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:685:i n
> `process_without_session_management_support'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session_manageme nt.rb:123:in
> `process'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:388:in
> `process'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:17 7:in
> `handle_request'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:11 9:in
> `dispatch'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:11 6:in
> `synchronize'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:11 6:in
> `dispatch'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:13 2:in
> `dispatch_cgi'
> [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:11 :in
> `dispatch'
> [RAILS_ROOT]/vendor/rails/railties/lib/fcgi_handler.rb:101:in
> `process_request'
> [RAILS_ROOT]/vendor/rails/railties/lib/fcgi_handler.rb:149:in
> `with_signal_handler'
> [RAILS_ROOT]/vendor/rails/railties/lib/fcgi_handler.rb:99:in `process_request'
> [RAILS_ROOT]/vendor/rails/railties/lib/fcgi_handler.rb:77:in
> `process_each_request'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each'
> /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
> [RAILS_ROOT]/vendor/rails/railties/lib/fcgi_handler.rb:76:in
> `process_each_request'
> [RAILS_ROOT]/vendor/rails/railties/lib/fcgi_handler.rb:50:in `process!'
> [RAILS_ROOT]/vendor/rails/railties/lib/fcgi_handler.rb:24:in `process!'
> dispatch.fcgi:24
> I've included all the log. The NoMethodError (undefined method `+' for
> nil:NilClass): sounds very weird to me. Have you got any suggestion
> about what to check?
> Cheers,
> Enrico