[typo] Getting null headers, "Application Error, Typo could not be reached."

Denis Lamotte dlamotte at bamboo.lu
Thu Oct 20 03:55:30 EDT 2005


open database.yml with a text editor that prevserve space. You must not 
have tab inside otherwise the YAML parser fails.

Lanfeust
Seth Rasmussen wrote:
> I've gone through this page: http://typo.leetsoft.com/trac/wiki/TroubleShooting
> 
> My database.yml file is accurate, permissions are correct, files
> formatted just to be sure... this is what's showing up in
> log/fastcgi.crash.log:
> 
> [20/Oct/2005:02:22:08 :: 30674] Dispatcher failed to catch:
> #28000Access denied for user 'root'@'localhost' (using password: NO)
> (Mysql::Error)
> 
> That is not the user specified in my database.yml file. Is it pulling
> that value from a default somewhere?
> 
> A full log entry:
> ---------------------
>   [20/Oct/2005:02:22:08 :: 30674] Dispatcher failed to catch:
> #28000Access denied for user 'root'@'localhost' (using password: NO)
> (Mysql::Error)
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/vendor/mysql.rb:452:in
> `read'
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/vendor/mysql411.rb:103:in
> `real_connect'
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in
> `mysql_connection'
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/query_cache.rb:52:in
> `send'
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/query_cache.rb:52:in
> `connection='
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:108:in
> `retrieve_connection'
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:239:in
> `connection'
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:622:in
> `columns'
>   /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:627:in
> `columns_hash'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/session/active_record_store.rb:71:in
> `setup_sessid_compatibility!'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/session/active_record_store.rb:44:in
> `find_by_session_id'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/session/active_record_store.rb:243:in
> `initialize'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/session/active_record_store.rb:243:in
> `silence'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/session/active_record_store.rb:243:in
> `initialize'
>   /usr/local/lib/ruby/1.8/cgi/session.rb:273:in `new'
>   /usr/local/lib/ruby/1.8/cgi/session.rb:273:in `initialize'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/cgi_process.rb:94:in
> `new'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/cgi_process.rb:94:in
> `session'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:737:in
> `assign_shortcuts'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:351:in
> `process'
>   /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:20:in
> `process_with_exception'
>   /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:34:in
> `dispatch'
>   /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:144:in
> `process_request'
>   /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:64:in
> `process!'
>   /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in
> `each_cgi'
>   /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each'
>   /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'
>   /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in
> `process!'
>   /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:21:in
> `process!'
>   dispatch.fcgi:24
> 
> --
> Seth Thomas Rasmussen
> http://sethrasmussen.com/
> 
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
> 
> 



More information about the Typo-list mailing list