Open amallinson opened 13 years ago
Managed to find the log file and found this:
Processing CarouselsController#new (for 86.129.135.6 at 2011-06-25 10:40:02) [GET] Parameters: {"project_id"=>"testproj1", "action"=>"new", "controller"=>"carousels"} Rendering template within layouts/base Rendering carousels/new
ActionView::TemplateError (undefined method `time_period_quantity' for #Carousel:0x8090eb8) on line #12 of vendor/plugins/redmine_carousel/app/views/carousels/_tabular_form.html.erb: 9:
10: 11:12: <%= tabular_form.text_field :time_period_quantity, :required => true, :size => 2, :label => :field_period %> 13: <%= tabular_form.select :time_period_seconds, options_from_collection_for_select(TimePeriod.all, :seconds, :name, @carousel.time_period_seconds), :no_label => true %> 14:
15:lib/tabular_form_builder.rb:35:in `text_field'
vendor/plugins/redmine_carousel/app/views/carousels/_tabular_form.html.erb:12
vendor/plugins/redmine_carousel/app/views/carousels/new.html.erb:5
app/helpers/application_helper.rb:766:in `labelled_tabular_form_for'
vendor/plugins/redmine_carousel/app/views/carousels/new.html.erb:3
config/initializers/mongrel.rb:62:in `dispatch_cgi'
Rendering /redmine/public/500.html (500 Internal Server Error)
This was with the 1.0.1 files in the plugin folder as i copied them back across
Very strange error. Can you check how it's possible to have Carousel defined in the view without one of its methods?
Hi
Thanks for replying. Im quite new to Ruby and RoR so not really sure how to do that.
But if i take out the line with the error and restart redmine then it just errors on the next line down (the next method) and then the same again if i take that one out. Does there need to be any form of include or similar?
I am trying to configure Carousel on a test project on our redmine install. However when i go into the settings for the project and then into Carousels i get an internal server error message:
Internal error
An error occurred on the page you were trying to access. If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
Back
I am not sure why this could be, i also noticed that the plugins section in the admin page lists the version as 1.0.1 even though i downloaded and copied the files from the 1.1.0 release. I did originally download the 1.0.1 files and put these in the plugin folder but have since copied the newer ones over but the version number remains the same.
I am not sure how to check the logs on redmine so i cant provide much more information that that at the moment