Project

General

Profile

Redmine 1.4.1 Forum tab: Project administration create new forum: Redmine 500 error (solved)

Added by Reinhard Borek over 11 years ago

Hello,
We are using Redmine 1.4.1 from Bitnami stack.

When I try add a new forum in a project, the "Redmine 500 error" is shown. In the "production.log" is:

rocessing ProjectsController#settings (for 192.168.11.119 at 2012-07-23 08:30:11) [GET]
Parameters: {"id"=>"servicellevel2", "action"=>"settings", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/settings
Completed in 453ms (View: 437, DB: 0) | 200 OK [http://192.168.10.12/redmine/projects/servicellevel2/settings]

Processing BoardsController#new (for 192.168.11.119 at 2012-07-23 08:30:24) [GET]
Parameters: {"action"=>"new", "controller"=>"boards", "project_id"=>"servicellevel2"}
Rendering template within layouts/base
Rendering boards/new

ActionView::TemplateError (No route matches {:action=>"preview", :board_id=>nil, :controller=>"messages"}) on line #86 of app/views/layouts/base.html.erb:
83: </div>
84: </div>
85: </div>
86: <%= call_hook :view_layouts_base_body_bottom %>
87: </body>
88: </html>

lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `tap'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:146:in `call_hook'
app/views/layouts/base.html.erb:86
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

Rendering C:/Program Files/BitNami Redmine Stack/apps/redmine/public/500.html (500 Internal Server Error)

What additional information are needed to help?

Thanks, Reinhard


Replies (4)

RE: Redmine 1.4.1 Forum tab: Project administration create new forum: Redmine 500 error - Added by Jan Niggemann (redmine.org team member) over 11 years ago

From experience I can tell that the problem is:
No route matches {:action=>"preview", :board_id=>nil, :controller=>"messages"})
but I don't have a solution...

RE: Redmine 1.4.1 Forum tab: Project administration create new forum: Redmine 500 error - Added by Reinhard Borek over 11 years ago

I found the solution. The plugin "Wiki extensions" with its extension "Footer" caused the error.

Thanks for reply.

RE: Redmine 1.4.1 Forum tab: Project administration create new forum: Redmine 500 error (solved) - Added by David Rahusen over 11 years ago

I have the same problem and it's weird. I figured out the following issues:
  • This Problem occurs only at one single project. The boards of all other projects are not affected.
  • It only occurs if module "Wiki extensions" is enabled.
  • Furthermore, that board has only one forum, the error only occurs if I use the tab link:
    <serveraddress>/projects/<projectid>/boards
  • When using the direct link to that single forum, the error does not occur:
    <serveraddress>/projects/<projectid>/boards/<forumid>

Any ideas??

RE: Redmine 1.4.1 Forum tab: Project administration create new forum: Redmine 500 error (solved) - Added by Manuel Castro Viñas over 11 years ago

I have the same problem David explains but the error occurs with

<serveraddress>/project/<projectid>/boards/new

too.

I found a solution when I disable "Enable auto preview" buttom in Wiki Extension settings page.

<serveraddress>/project/<projectid>/settings/wiki_extensions
    (1-4/4)