ksfltd / redmine_multi_calendar

This plugin allows creating holiday calendars and assigning them to the users.
Other
22 stars 13 forks source link

Errors with Redmine 1.21 #2

Open razb opened 12 years ago

razb commented 12 years ago

I've installed the plugin and run the db migration. However I am unable to view calendars:

ActionView::TemplateError (undefined method `m_calendar_link_to_previous_month1' for #ActionView::Base:0x18d7d9b8) on line #13 of vendor/plugins/redmine_multi_calendar/app/views/calendars/show.html.erb: 10: 11: 12:

13: <%= m_calendar_link_to_previous_month1(@year, @month, @one_calendar, @project.id) %> | <%= m_calendar_link_to_next_month1(@year, @month, @one_calendar, @project.id) %> 14:

15: 16:

vendor/plugins/redmine_multi_calendar/app/views/calendars/show.html.erb:13
vendor/plugins/redmine_multi_calendar/app/views/calendars/show.html.erb:3
thin (1.3.1) lib/thin/connection.rb:80:in `pre_process'
thin (1.3.1) lib/thin/connection.rb:78:in `catch'
thin (1.3.1) lib/thin/connection.rb:78:in `pre_process'
thin (1.3.1) lib/thin/connection.rb:53:in `process'
thin (1.3.1) lib/thin/connection.rb:38:in `receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
thin (1.3.1) lib/thin/backends/base.rb:61:in `start'
thin (1.3.1) lib/thin/server.rb:159:in `start'

Rendering /apps/cadb/sysmgmt/public/500.html (500 Error)

ksfltd commented 12 years ago

We had such issue after installing plugin without restarting Redmine. If you have not restarted Redmine, please do so. If this does not help, please inform us which environment do you use (production/development) and, if possible, try the other environment.

cforce commented 12 years ago

We have the same issue! Also on Redmine 1.21- we started a lot of times.

F, [2012-02-21T16:53:34.019685 #9186] FATAL -- : ActionView::TemplateError (undefined method `m_calendar_link_to_previous_month1' for #ActionView::Base:0x7f91ab3e3368) on line #13 of vendor/plugins/redmine_multi_calendar/app/views/calendars/show.html.erb: 10: 11: 12:

13: <%= m_calendar_link_to_previous_month1(@year, @month, @one_calendar, @project.id) %> | <%= m_calendar_link_to_next_month1(@year, @month, @one_calendar, @project.id) %> 14:

15: 16:

vendor/plugins/redmine_multi_calendar/app/views/calendars/show.html.erb:13
vendor/plugins/redmine_multi_calendar/app/views/calendars/show.html.erb:3
passenger (3.0.8) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.8) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.8) helper-scripts/passenger-spawn-server:99

I, [2012-02-21T16:53:34.022113 #9186] INFO -- : Rendering /opt/redmine-1.2.1d3/public/500.html (500 Internal Server Error)

ksfltd commented 12 years ago

If you have other plugins on the same Redmine, please give us a list, we will look for possible collisions.

ksfltd commented 12 years ago

We have made a clean install of Redmine 1.2.1 from repository https://bitbucket.org/redmine/redmine/src/d3cdc5c16f6a with our plugin from this repository and everything seems to be working as expected.

bamuis commented 12 years ago

I have the same issue. In fact I get error with respect to all methods defined in the helper files.

I have installed and 1.2.1 and many plugins. multi calendar is in fact one of the last plugin I have installed.