Project

General

Profile

Internal server error if i use russian simbols

Added by Евгений Ивлев over 14 years ago

Hello!
I just installed redmine from svn/trunk and got a problem

Config of my system:

Windows XP
Ruby 1.8
rails 2.3.5
mysql 5.0.45
redmine from svn/trunk

If I enter new project name in russian - i have a error.
A piece of production.log:

Rendering E:/redmine-trunk/public/500.html (500 Internal Server Error)

Processing WelcomeController#index (for 192.168.1.17 at 2010-04-01 16:39:33) [GET]
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index

ActionView::TemplateError (undefined method `cache_formatted_text?' for #<Class:0x40cf908>) on line #23 of app/views/welcome/index.rhtml:
20:         <% for project in @projects %>
21:             <li>
22:             <%= link_to h(project.name), :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)
23:             <%= textilizable project.short_description, :project => project %>
24:             </li>
25:         <% end %>
26:         </ul>

    lib/redmine/wiki_formatting.rb:47:in `to_html'
    app/helpers/application_helper.rb:421:in `textilizable'
    app/views/welcome/index.rhtml:23:in `_run_rhtml_app47views47welcome47index46rhtml'
    app/views/welcome/index.rhtml:20:in `each'
    app/views/welcome/index.rhtml:20:in `_run_rhtml_app47views47welcome47index46rhtml'
    C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'

If i truncate a table PROJECTS in mysql, the problem leaves me

Help me please!
I tried many combination of redmine installations and everywhere I got a different errors.
For example - length of russian headers (only 15 in utf8 instead 30) and so on...

I beleave in stability of this system)))


Replies (4)

RE: Internal server error if i use russian simbols - Added by Felix Schäfer over 14 years ago

I think this was a problem with the collation of the mysql database, make sure it is UTF-8.

RE: Internal server error if i use russian simbols - Added by Евгений Ивлев over 14 years ago

Felix Schäfer, no, database is in utf8_general_ci

Also I have a bug that is presented on attachment (on the right on screen)

But problem with header of project is more important. Give me please any advice!

error.JPG (152 KB) error.JPG

RE: Internal server error if i use russian simbols - Added by Felix Schäfer over 14 years ago

I'm afraid I won't really be able to help you with that, but I think to remember you are not the first one with similar problems, please search through the forums and the bug tracker to see if you can find something.

RE: Internal server error if i use russian simbols - Added by Евгений Ивлев over 14 years ago

When I add project name in russian, record in mysql creates? but I get error stack (bug2.txt)

And also one bug: when i click by settings - I get error stack (bug1.txt)

I don't know what happens, but if I use redmine-0.9.1 I have only one problem - it is length project header (15 instead 30), but if I use redmine from trunk (what recommended for solving this problem) I get more than one problem...

bug2.txt (25.6 KB) bug2.txt when I add project name in russian
bug1.txt (21.1 KB) bug1.txt
    (1-4/4)