Project

General

Profile

redmine 500 err(redmine 500 错误)

Added by yjbdsky yjbdsky almost 15 years ago

I get very many redmine 500
比如在注册的时候名字填的是中文就出错
现在有一个我不能解决的问题!
Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.

Back
这是redmine 的首页

Parameters: {"controller"=>"welcome", "action"=>"index"}
Rendering template within layouts/base
Rendering welcome/index

ActionView::TemplateError (incompatible character encodings: UTF-8 and ASCII-8BIT) on line #4 of app/views/welcome/index.rhtml:
1: <h2><%= l(:label_home) ></h2>
2:
3: <div class="splitcontentleft">
4: <
= textilizable Setting.welcome_text >
5: <
if @news.any? >
6: <div class="news box">
7: <h3><
=l(:label_news_latest)%></h3>

app/views/welcome/index.rhtml:4:in `_run_rhtml_app47views47welcome47index46rhtml'
&lt;internal:prelude&gt;:8:in `synchronize'
/usr/local/ruby/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/usr/local/ruby/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/usr/local/ruby/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

Rendering /var/www/redmine/public/500.html (500 Internal Server Error)
[2010-01-07 16:16:07] INFO going to shutdown ...
[2010-01-07 16:16:08] INFO WEBrick::HTTPServer#start done.
Exiting

这是错误信息!
望有人帮忙一下!


Replies (1)

RE: redmine 500 err(redmine 500 错误) - Added by Felix Schäfer almost 15 years ago

Short answer: redmine doesn't support ruby-1.9.1, please use ruby-1.8.7 or anything listed on the Install page.

Long answer: ruby-1.9 handles strings and expecially encodings differently than ruby-1.8, and I'm not even sure current rails-2.3.5 supports ruby-1.9, so ruby-1.9.1 is just plain not supported for redmine.

    (1-1/1)