Project

General

Profile

Defect #10135

Updated by Jean-Philippe Lang almost 13 years ago

Hi 

 I have migrated my    Redmine 1.0.2 to 1.2.1. Everything was good and the migrate DB generated no error or warming, 
 For the testing purpose i ran the redmine in webrick 
 The login page appear and I can login, but the next page got a 500.html error with the folling log. 

 Please help me its urgent 

 Thanks 
 Shahul 

 ERROR LOG IS: 

 <pre> 
 ActionView::TemplateError (can't convert Fixnum into String) on line #43 of app/views/layouts/base.rhtml: 
 40:           <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: 
 41:           <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> 
 42:           <% end %> 
 43:           <%= render_project_jump_box %> 
 44:       </div> 
 45:       <% end %> 
 46:      

     app/helpers/application_helper.rb:233:in `render_project_jump_box' 
     app/helpers/application_helper.rb:250:in `project_tree_options_for_select' 
     app/models/project.rb:664:in `project_tree' 
     app/models/project.rb:660:in `each' 
     app/models/project.rb:660:in `project_tree' 
     app/helpers/application_helper.rb:260:in `project_tree' 
     app/helpers/application_helper.rb:242:in `project_tree_options_for_select' 
     app/helpers/application_helper.rb:232:in `render_project_jump_box' 
     app/views/layouts/base.rhtml:43:in `_run_rhtml_app47views47layouts47base46rhtml' 
     /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' 
     /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' 
     /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' 
     /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' 
     /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' 
     /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' 
     /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' 
     /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' 
     /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' 
     /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' 

 </pre> 

Back