Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install error with "ActionView::Template::Error (Missing partial app_notifications" #22

Open
sword588 opened this issue Jun 23, 2015 · 6 comments

Comments

@sword588
Copy link

Hi,
I have installed this plugin with my 2.6.0 redmine and after restart the web server I got the following error in the log file. Would you please let me know how to solve this issue?
Any help is really appreciated.

ActionView::Template::Error (Missing partial app_notifications/layouts_base_html_head with {:locale=>[:zh, :en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:

  • "/var/www/html/redmine/plugins/advanced_roadmap_v2/app/views"
  • "/var/www/html/redmine/app/views"
    ):
    11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    12: <%= javascript_heads %>
    13: <%= heads_for_theme %>
    14: <%= call_hook :view_layouts_base_html_head %>
    15:
    16: <%= yield :header_tags -%>
    17:
    lib/redmine/hook.rb:111:in block in render_on' lib/redmine/hook.rb:61:inblock (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:inblock in call_hook'
    lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:incall_hook'
    lib/redmine/hook.rb:158:in call_hook' app/views/layouts/base.html.erb:14:in_app_views_layouts_base_html_erb___2866693996775738177_70155095022520'
    app/controllers/application_controller.rb:465:in block (2 levels) in render_error' app/controllers/application_controller.rb:463:inrender_error'
    app/controllers/application_controller.rb:451:in render_404' app/controllers/application_controller.rb:475:inmissing_template'
@Androc
Copy link
Contributor

Androc commented Jun 23, 2015

Hello,

  • did you try to install several plugins at once ?
  • did you correctly installed the plugin (run the rake command at the top level of your Redmine installation) ?
  • do you have a specific language you use instead of english ?

When I see "missing_template", "missing partial", etc. I think it is about permissions or missing files.

@sword588
Copy link
Author

Thanks for your quick reply. Here're the answers to your questions.

  1. did you try to install several plugins at once ?
    yes.
  2. did you correctly installed the plugin (run the rake command at the top level of your Redmine installation) ?
    yes.
  3. do you have a specific language you use instead of english ?
    Yes, I am using chinese.
  4. When I see "missing_template", "missing partial", etc. I think it is about permissions or missing files.
    What specific permission do I need to configure?

@Androc
Copy link
Contributor

Androc commented Jun 24, 2015

I was thinking about files permissions.
But it is more a problem of language, I suppose Missing partial app_notifications/layouts_base_html_head with {:locale=>[:zh, :en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}

@Androc
Copy link
Contributor

Androc commented Jun 24, 2015

What is strange is app_notifications/layouts_base_html_head.
Did you extract the plugin into [redmine_root]/plugins/redmine_app_notifications ?

Do you have a file _layouts_base_html_head.html.erb in app/views of your plugin ?

@sword588
Copy link
Author

I extracted it to directory app_notifications.
Yes, _layouts_base_html_head.html.erb is in app/views.

@Androc
Copy link
Contributor

Androc commented Jun 25, 2015

Uninstall it then try to install it in [redmine_root]/plugins/redmine_app_notifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants