Project

General

Profile

ActionView::Template::Error (Missing partial hooks/planning_scripts

Added by Alexander Blinov about 9 years ago

Hi,
I've installed Redmine 2.6.1 with Apache + Passenger. It works ok for http://site.name.com/.

But when I try to configure for using sub-uri http://site.name.com/redmine I get 500 error:

App 1155 stderr: Missing template, responding with 404
App 1155 stderr: 
App 1155 stderr: ActionView::Template::Error (Missing partial hooks/planning_scripts with {:locale=>[:ru, :en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:
App 1155 stderr:   * "/var/www/redmine/app/views" 
App 1155 stderr: ):
App 1155 stderr:     11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
App 1155 stderr:     12: <%= javascript_heads %>
App 1155 stderr:     13: <%= heads_for_theme %>
App 1155 stderr:     14: <%= call_hook :view_layouts_base_html_head %>
App 1155 stderr:     15: <!-- page specific tags -->
App 1155 stderr:     16: <%= yield :header_tags -%>
App 1155 stderr:     17: </head>
App 1155 stderr:   lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
App 1155 stderr:   lib/redmine/hook.rb:61:in `each'
App 1155 stderr:   lib/redmine/hook.rb:61:in `block in call_hook'
App 1155 stderr:   lib/redmine/hook.rb:58:in `tap'
App 1155 stderr:   lib/redmine/hook.rb:58:in `call_hook'
App 1155 stderr:   lib/redmine/hook.rb:158:in `call_hook'
App 1155 stderr:   app/views/layouts/base.html.erb:14:in `_app_views_layouts_base_html_erb__2397335434234932776_30924960'
App 1155 stderr:   app/controllers/application_controller.rb:466:in `block (2 levels) in render_error'
App 1155 stderr:   app/controllers/application_controller.rb:464:in `render_error'
App 1155 stderr:   app/controllers/application_controller.rb:452:in `render_404'
App 1155 stderr:   app/controllers/application_controller.rb:476:in `missing_template'

I use that:
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI
https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#deploying_rack_to_sub_uri

My enviroment:
CentOS 7 x86_64
Apache 2.4.6
ruby 2.1.5p273

Could you help me?


    (1-1/1)