Closed cforce closed 12 years ago
I meet this issue two. Pls fix this as soon ASAP. Thanks a lot.
You can us this fork, ir works with redmine 1.4
Hey guys,
I still get the error when using your forked version. Here is the error output in the error log when click on the settings of certain project.
ActionView::TemplateError (Missing template projects/settings/_repository.erb in view path vendor/plugins/redmine_backlogs/app/views:vendor/plugins/redmine_gsc_plantillas/app/views:vendor/plugins/redmine_wiki_extensions/app/views:app/views) on line #24 of app/views/common/_tabs.html.erb: 21: 22: 23: <% tabs.each do |tab| -%> 24: <%= content_tag('div', render(:partial => tab[:partial], :locals => {:tab => tab} ), 25: :id => "tab-content-#{tab[:name]}", 26: :style => (tab[:name] != selected_tab ? 'display:none' : nil), 27: :class => 'tab-content') %> app/views/common/_tabs.html.erb:24 app/views/common/_tabs.html.erb:23:in `each' app/views/common/_tabs.html.erb:23 app/helpers/application_helper.rb:231:in `render_tabs' app/views/projects/settings.html.erb:3 passenger (3.0.11) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.11) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.11) helper-scripts/passenger-spawn-server:99
rename all .erb files to html.erb
I am sorry for that I am not familiar with ruby or ROR. Could you explain where are the files that need to be renamed?
Everywhre in pluggins folder, shall be app/views/*
Hi All,
After I rename the file locate app/views/projects/settings/_repositories.html.erb
. It works. But it is weird how it happened? The redmine working very well before installing the this plugins
What I do like below:
cd app/views/projects/settings/ cp _repositories.html.erb _repository.erb
I took a secon look on it. You shouldn't rename anything in redmine core. The error comes from another plugin
I think you met this plugin problem, do you? https://github.com/Surgo/redmine_reposearch/issues/11
OR you you use Eric Davis question plugin ?
For undertanding
First template (folder/_file_name.html.erb) it will only be correct if the request format is html, but not if it is ajax or any other custom type you have in your app. Rename it to folder/_file_name.erb if you want to use the same partial for all the formats
No. I am not using the plugin you mentioned. I only install three plugins:
The root cause it that When render the repositories tab, it can not found the _repository.erb
view.
compatibiltiy for redmine 1.4 fixed template error fixed locales/de.yml