Project

General

Profile

Redmine 500 error while Adding/Updating only a new Task

Added by Jo V over 10 years ago

Hi Guys
I am running REDMINE 2.4.0.stable on a CentOS 6.5. My environment details are as follows:
*Environment:
Redmine version 2.4.0.stable
Ruby version 2.1.0-p0 (2013-12-25) [x86_64-linux]
Rails version 3.2.15
Environment production
Database adapter MySQL
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
no plugin installed *

I have noticed sometime during adding/modifying an issue in any of the projects in REDMINE, I get the redmine 500 error. I have tried to remove the different characters that could cause this issue and some time it works. I am not sure what is happening here.

I also performed a search over the REDMINE forums and found a possible solution as stated below. However, even after adding this portion to the environment.rb file I get the similar error.

"module ActionView
module Helpers
module TextHelper
def truncate(text, length = 30, truncate_string = "...")
if text.nil? then return end
l = length - truncate_string.chars.to_a.size
(text.chars.to_a.size > length ? text.chars.to_a[0...l].join + truncate_string : text).to_s
end
end
end
end"

My environment.rb file is attached for your reference.

Looking forward to hearing from you guys

Regards
Jo V

environment.zip (588 Bytes) environment.zip Environment.rb file

Replies (3)

RE: Redmine 500 error while Adding/Updating only a new Task - Added by Jo V over 10 years ago

Hi Guys

Could someone please provide some assistance to my issue?

RE: Redmine 500 error while Adding/Updating only a new Task - Added by Jo V over 10 years ago

Hello Guys

Looking for some expert advise on this issue. I am really stuck with this issue.

Regards
Jo V

RE: Redmine 500 error while Adding/Updating only a new Task - Added by Richard Fugisse over 10 years ago

I have a some issues in task, projects, administrator.

    (1-3/3)