ande3577 / redmine-graphs-plugin

This plugin provides instances of Redmine a method with additional graphs.
Other
5 stars 3 forks source link

get 500 error instead of graph pages #20

Closed tanky closed 10 years ago

tanky commented 10 years ago

Hello,

I get a 505 error when I try to display any of provided graphs. Installation and configuration went OK. Here is an example of my error log (I get the same for all graphs):

Started GET "/projects/praxedo/issues/old" for 127.0.0.1 at 2014-02-28 14:39:43 +0100 Processing by GraphsController#old_issues as HTML Parameters: {"project_id"=>"praxedo"} Current user: xxxxxxxxxxxxxx@xxxxxxxxxxxxxxxx.xx (id=3) Rendered issues/_list_simple.html.erb (93.8ms) Rendered issues/_list_simple.html.erb (31.3ms) Rendered plugins/redmine_graphs/app/views/graphs/_graph_sidebar.html.erb (93.8ms) Rendered plugins/redmine_graphs/app/views/graphs/old_issues.html.erb within layouts/base (218.8ms) Completed 500 Internal Server Error in 313ms

ActionView::Template::Error (undefined method _project_issues_path' for #<#<Class:0x4613ee0>:0x4050600>): 1: <h3><%= l(:label_issue_plural) %></h3> 2: 3: <ul> 4: <li><%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %></li> 5: <% if @project %> 6: <li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li> 7: <% end %> app/helpers/application_helper.rb:1192:incontent_for'

EDIT: Environment: Redmine version 2.2.4.stable Ruby version 1.9.3 (i386-mingw32) Rails version 3.2.13 Environment production Database adapter Mysql2

ande3577 commented 10 years ago

Are you using the 2.2 branch of the plugin? The master branch will not work with redmine 2.2.

tanky commented 10 years ago

Sorry, my mistake. It's working like a charm now!

Thank you