dhanasingh / redmine_wktime

ERPmine is an open source free ERP for Service Industries. It runs within Redmine
https://erpmine.org/
Other
122 stars 79 forks source link

uninitialized constant WktimeHelper #53

Open noobchamp opened 8 years ago

noobchamp commented 8 years ago

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 commented 8 years ago

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 commented 7 years ago

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 commented 7 years ago

This looks like a version comparability issue, what version of ERPmine are you using ?

On 26-Jan-2017, at 7:29 PM, Jay Ghosh notifications@github.com wrote:

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

Here is the list of other plugins I am using -Clipboard image paste -Progressive Projects List plugin -Redmine Agile plugin (Light version) -Redmine Checklists plugin (Light version) -Redmine People plugin (Light version) -ERPmine

Here is my production.log

ActionView::Template::Error (uninitialized constant WktimeHelper::Import): 273:

274: <%= l(:setting_date_format) %> 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:

278: 279: app/views/common/_tabs.html.erb:22:in block in _app_views_commontabs_html_erb_1899163224435523439_70026162944120' app/views/common/_tabs.html.erb:21:ineach' app/views/common/_tabs.html.erb:21:in _app_views_commontabs_htmlerb1899163224435523439_70026162944120' app/helpers/application_helper.rb:321:inrender_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_htmlerb4346190205523225087_70026163009500' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jayankaghosh commented 7 years ago

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 commented 4 years ago

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 commented 4 years ago

what version of erpmine are you using ?

rubywarlock commented 4 years ago

what version of erpmine are you using ?

2.2

dhanasingh commented 4 years ago

Can you send us the error from the log file ?