Closed ZaLiTHkA closed 12 years ago
I just asked a friend who's had a fair amount more experience with SQL than I have, and we've managed to fix this. I was using the incorrect data type for the [ip_address] column, changing from varbinary(16) to varchar(16) seems to have fixed the issue. :)
Awesome, and just for future reference the MSSQL setup script is located here: https://github.com/benedmunds/CodeIgniter-Ion-Auth/blob/2/sql/ion_auth.mssql.sql
Thanks Ben, that will definitely come in handy for next time.
A user on the CodeIgniter forum (rip_pit) suggested I open a new issue here regarding problem I'm having. Link to original forum post
I didn't find any table setup script for MSSQL in the Ion_Auth download, so I've recreated the tables manually using the MySQL script for reference.
After posting the form, I get the following error:
The error log relating to this particular error is as follows:
Not sure if there's a better way to get this info, so here's a copy of the script that SQL Management Studio puts out to create this table: