Project

General

Profile

Redmine login error using polish alphabets

Added by nikunj begda over 4 years ago

Hello, i am using Redmine 4.0.4 everything is updated but still when i try to use polish characters to login it gives me error please suggest me what should i do?

what should i configure mysql database or install something? i got error 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.

If you are the Redmine administrator, check your log files for details about the error.

Back

like this can anyone please help me.


Replies (1)

RE: Redmine login error using polish alphabets - Added by nikunj begda over 4 years ago

Hello i found solution for this issue:

1. you need to create mysql database with utf8 parameter.
2. go to /redmine/app/models/user.rb and replace this line and comment the default one
#validates_format_of :login, :with => /\A[a-z0-9_\-@\.]*\Å\/
validates_format_of :login, :with => /[a-zA-ZąćęłńóśźżĄĆĘÅŃÓŚŹŻ]{5,15}(?:\+[a-zA-ZąćęłńóśźżĄĆĘÅŃÓŚŹŻ]{5,15}){0,2}/

    (1-1/1)