Git Product home page Git Product logo

Comments (7)

onozaty avatar onozaty commented on June 3, 2024

Hi @sytkosa

Please change directory name from redmine-view-customize to view_customize

from redmine-view-customize.

udanieli avatar udanieli commented on June 3, 2024

I have the same issue even with the correct directory name.

I, [2019-09-14T08:33:52.463064 #4696]  INFO -- : Started GET "/" for XX.XX.XX.XX at 2019-09-14 08:33:52 +0200
I, [2019-09-14T08:33:52.540195 #4696]  INFO -- : Processing by WelcomeController#index as HTML
I, [2019-09-14T08:33:52.608690 #4696]  INFO -- :   Current user: anonymous
I, [2019-09-14T08:33:52.615540 #4696]  INFO -- : Redirected to https://redmine.mydomain.it/login?back_url=https%3A%2F%2Fredmine.mydomain.it%2F
I, [2019-09-14T08:33:52.615691 #4696]  INFO -- : Filter chain halted as :check_if_login_required rendered or redirected
I, [2019-09-14T08:33:52.615865 #4696]  INFO -- : Completed 302 Found in 75ms (ActiveRecord: 11.1ms)
I, [2019-09-14T08:33:52.737529 #4696]  INFO -- : Started GET "/login?back_url=https%3A%2F%2Fredmine.mydomain.it%2F" for XX.XX.XX.XX at 2019-09-14 08:33:52 +0200
I, [2019-09-14T08:33:52.747844 #4696]  INFO -- : Processing by AccountController#login as HTML
I, [2019-09-14T08:33:52.747948 #4696]  INFO -- :   Parameters: {"back_url"=>"https://redmine.mydomain.it/"}
I, [2019-09-14T08:33:52.750931 #4696]  INFO -- :   Current user: anonymous
I, [2019-09-14T08:33:52.761482 #4696]  INFO -- :   Rendered account/login.html.erb within layouts/base (4.9ms)
I, [2019-09-14T08:33:53.136266 #4696]  INFO -- : Completed 500 Internal Server Error in 388ms (ActiveRecord: 7.4ms)
F, [2019-09-14T08:33:53.137370 #4696] FATAL -- : 
ActionView::Template::Error (uninitialized constant ViewCustomize::INSERTION_POSITION_HTML_HEAD):
    13: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    14: <%= javascript_heads %>
    15: <%= heads_for_theme %>
    16: <%= call_hook :view_layouts_base_html_head %>
    17: <!-- page specific tags -->
    18: <%= yield :header_tags -%>
    19: </head>
  lib/plugins/view_customize/lib/view_customize/view_hook.rb:13:in `view_layouts_base_html_head'
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:96:in `call_hook'
  app/views/layouts/base.html.erb:16:in `_app_views_layouts_base_html_erb__2413874930609552299_47275760089160'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Redmine version: 3.3.1-4+deb9u2
Ruby: 2.3.3
Rails 4.2.7.1-1
Env production
Database PostgreSQL

from redmine-view-customize.

onozaty avatar onozaty commented on June 3, 2024

Hi @udanieli

What is the version of the view customization plugin?

Thanks

from redmine-view-customize.

udanieli avatar udanieli commented on June 3, 2024

Hi @onozaty, thank you for the response. I have tested the last version v2.4.0

from redmine-view-customize.

onozaty avatar onozaty commented on June 3, 2024

Hi @udanieli

The installation location of the plug-in seems strange.
Is it installed in redmine/lib/plugins?
The correct one is redmine/plugins.

from redmine-view-customize.

udanieli avatar udanieli commented on June 3, 2024

You are right. I had put it along with "vendor" plugins (e.g. gravatar, acts_as_watchable) in lib/plugins, sorry for this mistake.

Your plugin is so nice, thank you very much!

from redmine-view-customize.

onozaty avatar onozaty commented on June 3, 2024

It was good to solve!
Thanks.

from redmine-view-customize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.