Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8140643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:13:52+00:00 2026-06-06T12:13:52+00:00

I am trying to run Time Tracker plugin with Redmine 2.0.1 on Bitnami Stack.

  • 0

I am trying to run Time Tracker plugin with Redmine 2.0.1 on Bitnami Stack.
I found that it’s imcompatible with Redmine 2.* but it couldn’t stop me.
So, I placed this plugin in ../redmine/htdocs/plugins/redmine_time_tracker, migrated it with rake db:migrate_plugins RAILS_ENV=production, changed routes to Rails 3 style in redmine_time_tracker/config/routes.rb and renamed all files in redmine_time_tracker/app/views from *.rhtml to *.html.erb. After another Redmine’s restart I rested against the wall. There is an error message in Redmine’s production.log:

Started GET "/redmine" for 127.0.0.1 at Tue Jun 12 22:36:05 +0400 2012
Processing by WelcomeController#index as HTML
  Rendered welcome/index.html.erb within layouts/base (9.5ms)
  Rendered plugins/redmine_time_tracker/app/views/time_trackers/_embed_menu.html.erb (203.0ms)
  Rendered plugins/redmine_time_tracker/app/views/time_trackers/_update_menu.html.erb (203.5ms)
Completed 500 Internal Server Error in 252ms

ActionView::Template::Error (undefined method `time_tracker_for' for #<#<Class:0x7f5efb458e48>:0x7f5efb322290>):
    1: <% time_tracker = time_tracker_for(User.current) %>
    2: <% if !time_tracker.nil? %>
    3:     <% if time_tracker.paused %>
    4:         <%# A time tracker is in pause, display the tracked issue, the time spent and the resume/stop actions %>
  lib/redmine/hook.rb:110:in `send'
  lib/redmine/hook.rb:110:in `view_layouts_base_body_bottom'
  lib/redmine/hook.rb:61:in `send'
  lib/redmine/hook.rb:61:in `call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:151:in `call_hook'
  app/views/layouts/base.html.erb:80:in `_app_views_layouts_base_html_erb___1317325009_70022959536540'

time_tracker_for helper is placed in redmine_time_tracker/app/helpers/application_helper.rb and I think it should be loaded automatically according to “Plugin constructor” in redmine/htdocs/lib/redmine/plugin.rb.

I am new to Ruby and Rails and need some directions to continue fight this magic.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T12:13:54+00:00Added an answer on June 6, 2026 at 12:13 pm

    Finally Solved.

    I found here : http://www.redmine.org/boards/3/topics/31445
    the answer (after reading almost anything I found about plugins in redmine and engines in rails3)

    Extending default helpers and controllers

    In Redmine versions prior to 2.0.0 all plugins were in vendor/plugins
    folder and because of that Rails automatically loaded and added all
    files inside app/controllers, app/helpers, app/models, etc folders.

    This approach allowed to extend existing controllers and helpers by
    simply adding appropriate files and methods to the plugin’ folders.
    For example, if we have to add method get_list_of_projects to
    SettingsHelper we can simply create file named settings_helper.rb in
    app/helpers folder of the plugin. Redmine 2.x moved plugins to plugins
    folder in application’s root and because of that method described
    above does not work at all. So we have to use patching and override
    mechanisms described above to make things work.

    In the link is explained how to make the mentioned patching mechanism.

    I implemented that patch for the time_tracker plugin for redmine and is working.
    The code is in a github fork
    https://github.com/martinllanos/redmine_time_tracker

    I hope it helps.
    Any questions ask here 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following complies but at run time throws an exception. What I am trying
I'm trying this SQL statement but I keep getting an error Run-time error '3061':
I am trying to embed arial bold font but getting run time error font
I've been trying to develop a dynamic library in C++ that can be run-time
I'm trying to compare the growth rates (both run-time and space) for stack and
Trying to get radiobuttons binding working but getting a run time error with the
I am trying to generate a form at run-time. I have ended up with
I'm trying to get a report down from the 20+ minute run time and
I am trying White for the first time. I tried to run a sample
I am trying to load nib at run time. I am using Button control

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.