Defect #8212
closedUnable to login : Invalid form login
0%
Description
Hello, i know that this bugs have already been posted, but any solution worked for me...
I'm unable to login or register...
It's a new installation of redmine (with the latest 1.1 getted from svn 3 days ago)
I have tried to add config.action_controller.allow_forgery_protection = false to disable authentication token, but that doesn't work...
I have tried lot og solution i found on google but still not work...
thanks for help.
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /var/wwws/redmine
Environment production
Database adapter mysql
Database schema version 20101114115359
Updated by Etienne Massip almost 14 years ago
Please give all details you can, see SubmittingBugs.
Updated by Johan Guilbaud almost 14 years ago
I was sleeping when i wrote it ... sorry
the error message when i try to login or register (after submitting form): "Invalid Token Authentification"
It's a linux debian x86_64 with mysql 5.1 and redmine 1.1.2
Which over informations do you need exactly ?
Updated by Etienne Massip almost 14 years ago
Svn Redmine requires Rails 2.3.11, see RedmineInstall.
Updated by Johan Guilbaud almost 14 years ago
I have executed the command : gem install rails -v=2.3.11
in the redmine directory
this command returned that rails 2.3.11 has been installed but if i execute RAILS_ENV=production ruby script/about
the rails version is always 2.3.5...
I don't found debian paquet for this version of rails...
Updated by Johan Guilbaud almost 14 years ago
i have edited config/environnement.rb to set correct version of rails :# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
and now RAILS_ENV=production ruby script/about
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.2
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Application root /var/wwws/redmine
Environment production
Database adapter mysql
Database schema version 20101114115359
but still the same error : "Invalid form authenticity token."
Updated by Etienne Massip almost 14 years ago
I'm sorry, thought you were running svn trunk version but it looks like this really is a 1.1.2 branch version, so you should stick to Rails 2.3.5, indeed :/
Do you have something in log/production.log
or your sever (mongrel ? webrick ?) log file ?
Updated by Johan Guilbaud almost 14 years ago
nothing in log/production.log except comment date creation of the file log
no mongrel.log found
Updated by Etienne Massip almost 14 years ago
There is a mongrel log somewhere (/etc/log ? /RAILS_PATH/log ?), at least if you run it as a deamon.
Updated by Johan Guilbaud almost 14 years ago
i run find / -name mongrel and i found nothing about logs and yes i use mongrel/daemon
Updated by Johan Guilbaud almost 14 years ago
Another idea to resolv this problem ?
thanks.
Updated by Filou Centrinov almost 12 years ago
Category: Accounts / authentication
Status: Needs Feedback
Give feedback after you upgraded your Redmine.
Updated by Johan Guilbaud almost 12 years ago
2 years after.... it's too late to test anything or give feedback...
we have changed the server, so i cannot reproduce the problem...
Updated by Toshi MARUYAMA almost 12 years ago
- Category set to Accounts / authentication
Updated by Toshi MARUYAMA almost 12 years ago
- Affected version (unused) set to 1.1.3
- Affected version set to 1.1.3
Updated by Toshi MARUYAMA almost 12 years ago
- Status changed from New to Closed
Lapinkiller Lapinkiller wrote:
2 years after.... it's too late to test anything or give feedback...
we have changed the server, so i cannot reproduce the problem...
Thank you for your report.