Redmine 500 Error when creating New user / Visiting My account
Added by Rupesh Helwade over 11 years ago
Hello,
I installed redmine (2.3.1.stable) and have just applyied a patch
(5458-use_time_in_issue_start_and_due_date_2.3_stable.diff).
Functionality defined in patch is working.
But I noticed that I am getting following error when I go to ->
1. Create new user from admin (user created when redmine was installed) login
2. When I click on My Account.
Can anyone please help.
Regards,
Rupesh Helwade
PS: production.log shows
Started GET "/redmine/users/new" at 2013-08-19 16:10:19 +0530
Processing by UsersController#new as HTML
Current user: admin (id=1)
Rendered users/_form.html.erb (3.7ms)
Rendered users/new.html.erb within layouts/admin (5.0ms)
Completed 500 Internal Server Error in 10ms
ActionView::Template::Error (can not load translations from /opt/Redmine/apps/redmine/htdocs/config/locales/cs.yml, expected it to return a hash, but does not):
9: <p><%= f.text_field :firstname, :required => true ></p>
10: <p><= f.text_field :lastname, :required => true ></p>
11: <p><= f.text_field :mail, :required => true ></p>
12: <p><= f.select :language, lang_options_for_select ></p>
13: < if Setting.openid? >
14: <p><= f.text_field :identity_url ></p>
15: < end %>
lib/redmine/i18n.rb:152:in `init_translations'
lib/redmine/i18n.rb:166:in `lookup'
lib/redmine/i18n.rb:52:in `ll'
lib/redmine/i18n.rb:96:in `block (2 levels) in languages_options'
lib/redmine/i18n.rb:96:in `map'
lib/redmine/i18n.rb:96:in `block in languages_options'
lib/redmine/i18n.rb:95:in `languages_options'
app/helpers/application_helper.rb:995:in `lang_options_for_select'
app/views/users/_form.html.erb:12:in `_app_views_users__form_html_erb___216487333_94599250'
app/views/users/new.html.erb:4:in `block in app_views_users_new_html_erb__363159211_94562860'
app/helpers/application_helper.rb:1010:in `labelled_form_for'
app/views/users/new.html.erb:3:in `_app_views_users_new_html_erb___363159211_94562860'
Replies (1)
RE: Redmine 500 Error when creating New user / Visiting My account
-
Added by Rupesh Helwade over 11 years ago
Fixed the same by explicitly downloading cs.yml and replacing the earlier installed one.
Thanks
Rupesh