Project

General

Profile

Actions

Defect #12861

closed

Internal Error 500 on "settings"

Added by Fr Tr over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I just finish the installation and logged with admin/admin but i can't acces some pages like "settings" or "my account" who display :

"Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error."

LOG :

ActionView::Template::Error (wrong number of arguments (2 for 1)):
3: <div class="box tabular settings">
4: <p><%= setting_select :ui_theme, Redmine::Themes.themes.collect {|t| [t.name, t.id]}, :blank => :label_default, :label => :label_theme ></p>
5:
6: <p><
= setting_select :default_language, lang_options_for_select(false) ></p>
7:
8: <p><
= setting_select :start_of_week, day_name(1),'1'], [day_name(6),'6'], [day_name(7),'7', :blank => :label_language_based ></p>
9: <
locale = User.current.language.blank? ? ::I18n.locale : User.current.language %>
lib/redmine/i18n.rb:95:in `languages_options'
app/helpers/application_helper.rb:974:in `lang_options_for_select'
app/views/settings/_display.html.erb:6:in `_app_views_settings__display_html_erb__461788729_23782066839480'
app/views/settings/_display.html.erb:1:in `_app_views_settings__display_html_erb__461788729_23782066839480'
app/views/common/_tabs.html.erb:24:in `_app_views_common__tabs_html_erb__882176323_23782067210460'
app/views/common/_tabs.html.erb:23:in `each'
app/views/common/_tabs.html.erb:23:in `_app_views_common__tabs_html_erb__882176323_23782067210460'
app/helpers/application_helper.rb:263:in `render_tabs'
app/views/settings/edit.html.erb:3:in `_app_views_settings_edit_html_erb__211667103_23782067224180'
app/controllers/settings_controller.rb:26:in `index'

VERSION :

RedHat 5.5
Ruby 1.8.7
RubyGems 1.8.24
Redmine 2.2.0
mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1

  • LOCAL GEMS ***

actionmailer (3.2.9)
actionpack (3.2.9)
activemodel (3.2.9)
activerecord (3.2.9)
activeresource (3.2.9)
activesupport (3.2.9)
arel (3.0.2)
builder (3.0.4, 3.0.0)
bundler (1.2.3)
coderay (1.0.8)
erubis (2.7.0)
fastercsv (1.5.5)
hike (1.2.1)
i18n (0.6.1)
journey (1.0.4)
jquery-rails (2.0.3)
json (1.7.5)
mail (2.4.4)
mime-types (1.19)
multi_json (1.5.0)
mysql (2.8.1)
net-ldap (0.3.1)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-openid (1.3.1)
rack-ssl (1.3.2)
rack-test (0.6.2)
rails (3.2.9)
railties (3.2.9)
rake (10.0.3)
rdoc (3.12)
ruby-openid (2.1.8)
sprockets (2.2.2)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.12)
tzinfo (0.3.35)


Files

revert-r10844.diff (2.17 KB) revert-r10844.diff Toshi MARUYAMA, 2013-01-16 14:06

Related issues

Related to Redmine - Feature #12475: Lazy loading of translation files for faster startupClosedJean-Philippe Lang

Actions
Related to Redmine - Defect #13491: Update RedmineInstall about support of ruby-1.8.7 (or not) in Redmine 2.2+Closed

Actions
Actions

Also available in: Atom PDF