redmine_google_calendar
redmine_google_calendar copied to clipboard
redmine google calendar 404 error
Installation Environment
- os windows7 (64bit)
- bitnami redmine 2.3.1 for windows
- redmine_google_calendar-0.1.2.zip
Redmine Administration -> Plugins -> Google Calendar Plugin seen. However, clicking the Settings button 404 error (The page you requested has been moved or deleted)
Are unable to resolve. Help
Hello. I have the same problem : Environment: Redmine version 2.4.0.stable Ruby version 1.8.7-p352 (2011-06-30) [x86_64-linux] Rails version 3.2.15 Environment production Database adapter Mysql2
I changed this line to perform installation without error : in plugins/redmine_google_calendar/init.rb changed RAILS_DEFAULT_LOGGER.info to ::Rails.logger.info But after installation with rake, 404 Error : From log/production.log : Started GET "/redmine/settings/plugin/redmine_google_calendar" for *********** at Wed Feb 12 13:15:24 +0100 2014 Processing by SettingsController#plugin as HTML Parameters: {"id"=>"redmine_google_calendar"} Current user: xxxxxxxx (id=3) Rendered settings/plugin.html.erb within layouts/admin (3.0ms) Missing template, responding with 404 Rendered common/error.html.erb within layouts/base (0.2ms) Completed 404 Not Found in 130.8ms (Views: 16.7ms | ActiveRecord: 0.4ms)
It was a migration from redmine 1.X and old projects with old calendar crashes when I browse them. Could you help us?
I think it is falling over at the point it should be loading app/views/settings/_googlecalendar_settings.html.erb from the plugin, however I am not sure why, perhaps the filename should be different but I am not sure how to figure out what it should be. The "Missing template" error isn't particularly informative, it gets raised by app/controllers/application_controller.rb somehow
commenting out the error handler reveals a much better error in the log file: ActionView::Template::Error (Missing partial settings/_googlecalendar_settings with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rsb]}. Searched in:
- "/usr/share/redmine/app/views"
):
3: 4: <%= form_tag({:action => 'plugin'}) do %> 5:6: <%= render :partial => @partial, :locals => {:settings => @settings}%> 7:8: <%= submit_tag l(:button_apply) %> 9: <% end %> app/views/settings/plugin.html.erb:6:in
block in _app_views_settings_plugin_html_erb__843455047411968655_41950900' app/views/settings/plugin.html.erb:4:in
_app_views_settings_plugin_html_erb__843455047411968655_41950900'looks like the path isn't set for it to go into the plugin looking for templates . . .
copying the file app/views/settings/_googlecalendar_settings.html.erb from the plugin to the main redmine app/views/settings/ area fixed it for me, but that is a workaround rather than a fix, the plugin should be setting the path somehow
"copying the file app/views/settings/_googlecalendar_settings.html.erb from the plugin to the main redmine app/views/settings/ area fixed it for me, but that is a workaround rather than a fix, the plugin should be setting the path somehow"
I followed this but I can't seem to find the app/views/settings/_googlecalendar_settings.html.erb - The only file I found is app/views/settings/_googlecalendar_settings.rhtml
I'm using Redmine ver 2.6.3 btw.
Redmine 4.0.4 _googlecalendar_settings.html.erb <% string_fields = ProjectCustomField.all %>