Project

General

Profile

Unable to load plugin configuration page, please help

Added by James Xia about 10 years ago

Hello,

I have recently installed the following Redmine Plugin called Redmine Loader: https://github.com/m0n9oose/redmine_loader

After installation, I can see the plugin listed under Administration -> Plugins. However, when I try to access the Configure page via the Configure link, I am getting an Internal error. I have checked the log and here is what I got:

Started GET "/settings/plugin/redmine_loader" for 192.168.101.167 at 2014-03-24 15:43:36 -0700
Processing by SettingsController#plugin as HTML
Parameters: {"id"=>"redmine_loader"}
Current user: admin (id=1)
Rendered plugins/redmine_loader/app/views/settings/_loader_settings.html.erb (35.0ms)
Rendered settings/plugin.html.erb within layouts/admin (48.0ms)
Completed 500 Internal Server Error in 122ms

ActionView::Template::Error (undefined method `[]' for nil:NilClass):
16: <%= loader_setting_checkbox(:import, :sync_versions) >
17: <
= content_tag :p do >
18: <
= content_tag :label, t('.instant_import_tasks') >
19: <
= number_field_tag 'settings[import][instant_import_tasks]', @settings[:import][:instant_import_tasks], in: 10..100, step: 5 >
20: <
end >
21: <
= content_tag :p do >
22: <
= content_tag :label, t('.default_tracker') %>
app/views/settings/plugin.html.erb:6:in `_app_views_settings_plugin_html_erb___1213567099_12492'
app/views/settings/plugin.html.erb:4:in `_app_views_settings_plugin_html_erb___1213567099_12492'

Looking at the plugin.html.erb file, I am seeing this:

<h2><%= l(:label_settings) >: <=h @plugin.name %></h2>

<div id="settings">
<%= form_tag({:action => 'plugin'}) do >
<div class="box tabular settings">
<
= render :partial => @partial, :locals => {:settings => @settings}%>
</div>
<%= submit_tag l(:button_apply) >
<
end %>
</div>

I am not proficient at Ruby on Rails at all, so I am very much stuck at this stage. Can someone help me point out what is the problem here? Here are my environment information:

Environment:
Redmine version 2.3.2.stable
Ruby version 1.9.3-p327 (2013-01-04) [java]
Rails version 3.2.13
Environment production
Database adapter MySQL

Thanks!


Replies (1)

RE: Unable to load plugin configuration page, please help - Added by Ivan Rapekas almost 10 years ago

Dear James, do you still have this problem?

    (1-1/1)