I keep getting this error. Any ideas as to why this is happening? I
am running r977 (don't have time to update).
================================
NameError in Admin/content#new
undefined local variable or method `logger' for JabberNotify:Class
RAILS_ROOT: /home/sudarkoff/sites/typo
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/lib/jabber_notify.rb:17:in `send_message'
#{RAILS_ROOT}/app/models/article.rb:140:in `send_notification_to_user'
#{RAILS_ROOT}/app/models/article.rb:130:in `send_notifications'
#{RAILS_ROOT}/app/models/article.rb:129:in `send_notifications'
#{RAILS_ROOT}/app/controllers/admin/content_controller.rb:98:in
`tidy_up_and_notify'
#{RAILS_ROOT}/app/controllers/admin/content_controller.rb:88:in
`new_or_edit'
#{RAILS_ROOT}/app/controllers/admin/content_controller.rb:22:in `new'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/base.rb:853:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/filters.rb:332:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/rescue.rb:82:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/base.rb:369:in
`process_without_session_management_support'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/session_management.rb:116:in `process'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in
`dispatch'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:
141:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:
53:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in
`each_cgi'
/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-1.0.0/lib/fcgi_handler.rb:
52:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:
22:in `process!'
#{RAILS_ROOT}/public/dispatch.fcgi:24
#{RAILS_ROOT}/lib/jabber_notify.rb:17:in `send_message'
#{RAILS_ROOT}/app/models/article.rb:140:in `send_notification_to_user'
#{RAILS_ROOT}/app/models/article.rb:130:in `send_notifications'
#{RAILS_ROOT}/app/models/article.rb:129:in `send_notifications'
#{RAILS_ROOT}/app/controllers/admin/content_controller.rb:98:in
`tidy_up_and_notify'
#{RAILS_ROOT}/app/controllers/admin/content_controller.rb:88:in
`new_or_edit'
#{RAILS_ROOT}/app/controllers/admin/content_controller.rb:22:in `new'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/base.rb:853:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/filters.rb:332:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/rescue.rb:82:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/base.rb:369:in
`process_without_session_management_support'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/session_management.rb:116:in `process'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in
`dispatch'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:
141:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:
53:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in
`each_cgi'
/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-1.0.0/lib/fcgi_handler.rb:
52:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:
22:in `process!'
#{RAILS_ROOT}/public/dispatch.fcgi:24
Request
Parameters: {...}
Show session dump
---
:user: !ruby/object:User
attributes:
name: ************
notify_via_jabber: "1"
notify_via_email: "1"
notify_watch_my_articles:
id: "1"
notify_on_comments: "1"
jabber: ************
login: ************
password: ************
email: ************
notify_on_new_articles: "1"
notify_contents:
flash: !map:ActionController::Flash::FlashHash {}
:return_to:
Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
================================
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list