1
예외 추적과 같은 오류가 점점 오전 :
--> stack level too deep
--> /var/www/html/mysite.com/mysiteweb/mysite/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/base.rb:86:in `include?'
--> /var/www/html/mysite.com/mysiteweb/mysite/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/base.rb:86:in `first_column_to_exist'
--> /var/www/html/mysite.com/mysiteweb/mysite/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/base.rb:86:in `each'
확실하지 왜 이런 일이. 많은 것을 검색 한 결과 많은 사람들이이 오류를 발견했습니다. 그러나 이것이 왜 일어나는지 확실하지 않습니다.
내 authlogic 플러그인 버전 2.1.6
내가 할 다른 시나리오 다른 경우
--> stack level too deep
--> /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
--> /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
--> /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
에서이 같은 오류는 같은 :
Exception Traces:
-----------------
--> ActionView::TemplateError (stack level too deep) on line #39 of app/views/users/view.html.erb:
36: <% if table_exists?(subform.form_type.tableize) %>
37: <% if (current_user and (current_user.id.to_i == @user.id.to_i or user_permission(current_user.id, 7).to_i == 1 or user_permission(current_user.id, 7).to_i == 2 or user_permission(current_user.id, 7).to_i == 3)) or (current_kiosk_user != nil) %>
38: <% unless @subforms_user_info[subform] %>
39: <%= render_component :controller => subform.form_type.tableize, :action => "new", :params => {"user_id" => @user.id.to_s, "form_id" => subform.parent_id.to_s, "layout" => "false", :subform_id => subform.id.to_s} %>
40: <% else %>
41: <%= render_component :controller => subform.form_type.tableize, :action => "edit", :id => @subforms_user_info[subform].id.to_s, :params => {"user_id" => @user.id.to_s, "form_id" => subform.parent_id.to_s, "layout" => "false", :subform_id => subform.id.to_s} %>
42: <% end %>
app/controllers/application_controller.rb:34:in `current_user_session'
app/controllers/application_controller.rb:34:in `send'
app/controllers/application_controller.rb:34:in `current_user_session'
app/controllers/application_controller.rb:40:in `current_user'
app/controllers/application_controller.rb:138:in `handle_exception'
app/controllers/application_controller.rb:12:in `__bind_1331263727_565111'
exceptional (2.0.32) lib/exceptional/integration/rails.rb:14:in `rescue_action'
app/views/users/view.html.erb:39
app/views/users/view.html.erb:10:in `each'
app/views/users/view.html.erb:10
app/controllers/users_controller.rb:690:in `view'
사람이 근본 원인을 설명해 주시겠습니까 이 문제의 나는 그것을 정확히 파악할 수 없다. 정확하게 이것의 원인이 무엇인지.
작성한 컨트롤러 코드를 제공 할 수 있습니까? – ssri