Project

General

Profile

Actions

Defect #8212

closed

Unable to login : Invalid form login

Added by Johan Guilbaud about 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
2011-04-22
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

Actions #1

Updated by Etienne Massip about 13 years ago

Please give all details you can, see SubmittingBugs.

Actions #2

Updated by Johan Guilbaud about 13 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 ?

Actions #3

Updated by Etienne Massip about 13 years ago

Svn Redmine requires Rails 2.3.11, see RedmineInstall.

Actions #4

Updated by Johan Guilbaud about 13 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...

Actions #5

Updated by Johan Guilbaud about 13 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."

Actions #6

Updated by Etienne Massip about 13 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 ?

Actions #7

Updated by Johan Guilbaud about 13 years ago

nothing in log/production.log except comment date creation of the file log

no mongrel.log found

Actions #8

Updated by Etienne Massip about 13 years ago

There is a mongrel log somewhere (/etc/log ? /RAILS_PATH/log ?), at least if you run it as a deamon.

Actions #9

Updated by Johan Guilbaud about 13 years ago

i run find / -name mongrel and i found nothing about logs and yes i use mongrel/daemon

Actions #10

Updated by Johan Guilbaud about 13 years ago

Another idea to resolv this problem ?

thanks.

Actions #11

Updated by Filou Centrinov about 11 years ago

Category: Accounts / authentication
Status: Needs Feedback

Give feedback after you upgraded your Redmine.

Actions #12

Updated by Johan Guilbaud about 11 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...

Actions #13

Updated by Toshi MARUYAMA about 11 years ago

  • Category set to Accounts / authentication
Actions #14

Updated by Toshi MARUYAMA about 11 years ago

  • Affected version (unused) set to 1.1.3
  • Affected version set to 1.1.3
Actions #15

Updated by Toshi MARUYAMA about 11 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.

Actions

Also available in: Atom PDF