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

uninitialized constant WktimeHelper #53

Open
noobchamp opened this issue Apr 16, 2016 · 8 comments
Open

uninitialized constant WktimeHelper #53

noobchamp opened this issue Apr 16, 2016 · 8 comments

Comments

@noobchamp
Copy link

Hi, i cant install pluggin, this its my detail issue from production.log

ActionView::Template::Error (uninitialized constant WktimeHelper):
22:


23:

24: <%= render_menu :account_menu -%>
25:

26: <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
27: <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
28:

lib/redmine/menu_manager.rb:199:in call' lib/redmine/menu_manager.rb:199:inallowed_node?'
lib/redmine/menu_manager.rb:166:in block in menu_items_for' lib/redmine/menu_manager.rb:165:ineach'
lib/redmine/menu_manager.rb:165:in menu_items_for' lib/redmine/menu_manager.rb:90:inrender_menu'
app/views/layouts/base.html.erb:25:in `_app_views_layouts_base_html_erb___1139484040708537044_51438460'

Thanks

@suganya-thulasiraman
Copy link
Contributor

We couldn't reproduce this issue. We have tested it on Linux CentOS 6.6, MySQL 5.5.49, Redmine 3.2.1 and also in Windows 7 and 8, PostgreSQL 9.4. Could you please provide us your environment details.

And also could you please give us the list of other Plugins used with Redmine 3.2.1

@jayankaghosh
Copy link

jayankaghosh commented Jan 26, 2017

Hey, I'm having the same error. I am running Redmine 3.0.3 on Nginx in Ubuntu.

Here is my redmine information

Environment:
  Redmine version                3.0.3.stable.14369
  Ruby version                   2.0.0-p643 (2015-02-25) [x86_64-linux]
  Rails version                  4.2.2
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.8
  Git                            1.9.1
  Filesystem                     
Redmine plugins:
  clipboard_image_paste          1.10
  progressive_projects_list      2.0.1
  redmine_agile                  1.4.2
  redmine_checklists             3.1.5
  redmine_people                 1.2.0
  redmine_wktime                 2.6

Here is my production.log

ActionView::Template::Error (uninitialized constant WktimeHelper::Import):
    273: 		<p style="padding-left: 130px;">
    274: 		  <label><%= l(:setting_date_format) %></label>
    275: 		  <% wktime_helper = Object.new.extend(WktimeHelper) %>
    276: 		  <%= select_tag 'settings[wktime_field_datetime]', options_for_select(wktime_helper.date_format_options, :selected => @settings['wktime_field_datetime'].blank? ? 0 : @settings['wktime_field_datetime'] ) %>
    277: 		</p>	
    278: 		<table>
    279: 		<thead>
  app/views/common/_tabs.html.erb:22:in `block in _app_views_common__tabs_html_erb___1899163224435523439_70026162944120'
  app/views/common/_tabs.html.erb:21:in `each'
  app/views/common/_tabs.html.erb:21:in `_app_views_common__tabs_html_erb___1899163224435523439_70026162944120'
  app/helpers/application_helper.rb:321:in `render_tabs'
  app/views/settings/plugin.html.erb:6:in `block in _app_views_settings_plugin_html_erb___4346190205523225087_70026163009500'
  app/views/settings/plugin.html.erb:4:in `_app_views_settings_plugin_html_erb___4346190205523225087_70026163009500'

@dhanasingh
Copy link
Owner

dhanasingh commented Jan 26, 2017 via email

@jayankaghosh
Copy link

Yes the version conflict was the issue. I installed Erpmine 1.9 and it worked, I'll upgrade my redmine when I get time. Thank you so much for the quick and precise reply

@rubywarlock
Copy link

rubywarlock commented Oct 25, 2020

Some error.

Environment:
  Redmine version                3.2.3.stable.14369
  Ruby version                   2.3.1
  Rails version                  4.2
  Environment                    development
  Database adapter               Mysql2

Redmine plugins:
  redmine_wktime                 2.2

@dhanasingh
Copy link
Owner

what version of erpmine are you using ?

@dhanasingh dhanasingh reopened this Oct 26, 2020
@rubywarlock
Copy link

what version of erpmine are you using ?

2.2

@dhanasingh
Copy link
Owner

Can you send us the error from the log file ?

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

5 participants