Letractively / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Unknown column 'username' #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I logout from https://url:port/logout, it shows
"ActiveRecord::StatementInvalid Mysql::Error: #42S22Unknown column
'username' in 'where clause': SELECT * FROM `casserver_pgt` WHERE (username
= 'xxxxxxxxxx') :"

version of RubyCAS-Server: 0.6.0(installed with gem)
running with webrick

If relevant, please paste your RubyCAS-Server config.yml file here.

should the database table be "casserver_tgt"?

Original issue reported on code.google.com by piratevi...@gmail.com on 7 Jul 2008 at 1:46

GoogleCodeExporter commented 8 years ago
sorry, I forgot to delete "If relevant, please paste your RubyCAS-Server 
config.yml
file here." in the description.
admin, please help to edit it, thx

Original comment by piratevi...@gmail.com on 7 Jul 2008 at 2:34

GoogleCodeExporter commented 8 years ago
This is an incompatibility with ActiveRecord 2.1. You'll either have to use the
latest RubyCAS-Server code from subversion, or downgrade to ActiveRecord 2.0.

Original comment by matt.zuk...@gmail.com on 7 Jul 2008 at 2:48