samchen2009 / ekanban

a kanban plugin for redmine
102 stars 42 forks source link

Selecting Kanban States menu gives 404 error #87

Open NicoBotha opened 9 years ago

NicoBotha commented 9 years ago

Hi This plugin looks interesting. I jus need to get it to work.

I am stilling running Redmine 2.5.1 under Bitnami on a MS Windows PC. I have installed the plugin and done all (that was prescribed) setups and changes.

When clicking on the Kanban States menu under administration, get 404 error: The page you were trying to access doesn't exist or has been removed. URL: http://localhost:65/redmine/kanban_states/setup.

Any guidance?

prmartinuk commented 9 years ago

If you look in your Redmine log file (probably called something like \log\production.log) do you have any error messages to say why you are getting a 404 error?

NicoBotha commented 9 years ago

Good evening Does this makes sense to you: Started GET "/redmine/admin" for 127.0.0.1 at 2015-05-05 13:25:14 +0200 Processing by AdminController#index as HTML Current user: nico (id=1) Rendered admin/_menu.html.erb (4.0ms) Rendered admin/index.html.erb within layouts/admin (4.0ms) Rendered layouts/base.html.erb (37.0ms) Completed 200 OK in 46.0ms (Views: 38.0ms | ActiveRecord: 5.0ms)

Started GET "/redmine/kanban_states/setup" for 127.0.0.1 at 2015-05-05 13:25:16 +0200 Processing by KanbanStatesController#setup as HTML Current user: nico (id=1) Missing template, responding with 404 Rendered common/error.html.erb within layouts/base (0.0ms) Completed 404 Not Found in 43.0ms (Views: 34.0ms | ActiveRecord: 3.0ms)

Started GET "/redmine/kanban_states/setup" for 127.0.0.1 at 2015-05-05 13:25:48 +0200 Processing by KanbanStatesController#setup as HTML Current user: nico (id=1) Missing template, responding with 404 Rendered common/error.html.erb within layouts/base (0.0ms) Completed 404 Not Found in 110.0ms (Views: 35.0ms | ActiveRecord: 3.0ms)

prmartinuk commented 9 years ago

Judging from previous bug reports "Missing template, responding with 404" is usually down to the haml gem not being installed or not being included by the Ruby web server for some reason. Unfortunately everyone who has reported the problem has found a slightly different way of solving the problem so I can't say for definite how to fix the issue.

However you might want to try some of the following or search the issues list for "Missing template, responding with 404" and you can see what other people have found). If you have downloaded the latest version of the ekanban code you shouldn't need to add gem haml to your #{RAILS_ROOT}/Gemfile, so you might want to remove the line and try running the plugin install again - In #{RAILS_ROOT} run the commands: bundle install bundle exec rake redmine:plugins:migrate RAILS_ENV=production (replacing production with whatever environment you are using).

Or try restarting the Ruby webserver or even the whole webserver which has some times solved the issue.