Hi There
I have installed trakcs and started using it. When I configured initially I think I made an error in the environment.rb file.
When I do a fresh install of tracks (recreate a blank database) I can sign up an admin user and create a new user and log in as the new user, but when I close the browser and open a new one and tries to log in I get the error 500.
I hope that you guys can help me get me back on tracks :D
Im running debian testing, with apache2 and php5 and mysql
mysql—version
mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
php -v
PHP 5.2.5-3 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 21 2008 02:03:40)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
ruby 1.8.6 (2008-03-03 patchlevel 114) [i486-linux]
The error that I see in the log-file is the following:
ArgumentError (comparison of Time with DateTime failed):
/usr/share/tracks/app/models/user.rb:165:in `<'
/usr/share/tracks/app/models/user.rb:165:in `remember_token?'
/usr/share/tracks/lib/login_system.rb:47:in `login_from_cookie'
/usr/share/tracks/lib/login_system.rb:81:in `login_required'
/usr/share/tracks/vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `send'
/usr/share/tracks/vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `call'
/usr/share/tracks/vendor/rails/actionpack/lib/action_controller/filters.rb:442:in `run'
/usr/share/tracks/vendor/rails/actionpack/lib/action_controller/filters.rb:714:in `run_before_filters
