Project

General

Profile

redmine 1.1 upgrade 2.5 but error 500 on the page "New issue", "Calendar" " Gantt" and "Issues"

Added by Mathieu M about 10 years ago

Hi,

I'm sorry to my approximate english.

I had upgrade my version "Redmine 1.0" to "Redmine 2.5"

The new version Redmine

Settins
Server version: Apache/2.2.22
mysql Ver 14.14 Distrib 5.5.38
Rails 4.1.6
ruby 1.9.3p194

It's possible to access wiki and post the new page but it's not possible to access "Calendar", "Gantt" and "Issues" and "New issue".
I get an error 500 with the logs

Started GET "/projects/equipeinfo/issues/gantt" for x.x.x.x at 2014-10-24 13:4
0:19 +0200
Processing by GanttsController#show as HTML
  Parameters: {"project_id"=>"equipeinfo"}
  Current user: username(id=8)
Completed 500 Internal Server Error in 122.5ms

NameError (undefined local variable or method `options' for #<IssueQuery:0xae961
b4>):
  app/models/issue_query.rb:106:in `draw_relations='
  app/models/issue_query.rb:120:in `build_from_params'
  app/helpers/queries_helper.rb:175:in `retrieve_query'
  app/controllers/gantts_controller.rb:36:in `show'

Calendar

Started GET "/projects/equipeinfo/issues/calendar" for x.x.x.x at 2014-10-24 1
3:40:36 +0200
Processing by CalendarsController#show as HTML
  Parameters: {"project_id"=>"equipeinfo"}
  Current user: username(id=8)
Completed 500 Internal Server Error in 139.1ms

NameError (undefined local variable or method `options' for #<IssueQuery:0xd352e
a8>):
  app/models/issue_query.rb:106:in `draw_relations='
  app/models/issue_query.rb:120:in `build_from_params'
  app/helpers/queries_helper.rb:175:in `retrieve_query'
  app/controllers/calendars_controller.rb:42:in `show'

I'dont found this issue.

Could you please to help me ?


Replies (1)

RE: redmine 1.1 upgrade 2.5 but error 500 on the page "New issue", "Calendar" " Gantt" and "Issues" - Added by Martin Denizet (redmine.org team member) about 10 years ago

Hello Matthieu,
I don't know if it's your error or not but Redmine 2.5.x uses Rails 3.2 and not Rails 4.
cheers,

    (1-1/1)