SIGIRE / CoRM

Easier than a CRM
www.corm.fr
27 stars 12 forks source link

Error 500 on "/user/logout" #16

Open abs0lom opened 6 years ago

abs0lom commented 6 years ago

On a fresh install of CoRM, the logout url launch a 500 error.

I found error on production.log : NoMethodError (undefined method 'to_datetime' for nil:NilClass)

Any suggestions ?

SIGIRE commented 6 years ago

Could you please specify the ruby version and the OS you are using and post the end of the production.log file?

abs0lom commented 6 years ago

Ruby version : 2.3.3p222 OS : Debian 9 Stretch PostgreSQL : 9.6.9 end of production.log in attached file production.log

Thank you :)

SIGIRE commented 6 years ago

The first line of your production.log file shows a logout action. Could you specify what action you made before the error ? Are you able to repeat the problem ?

abs0lom commented 6 years ago

Yes, the bug appear every time when I go to the "/user/logout" url. This action don't logout me : if I load another page, I'm already logged and I can repeat the logout action to see again the problem.

SIGIRE commented 6 years ago

Please, post your gemfile file.

abs0lom commented 6 years ago

Gemfile.lock Gemfile