Trouble with Facebook authentication
Permalink
Hello all
I've been trying to set up facebook authentication with concrete5.7.3 and I've run into some troubles. I have been getting a vague error message 'An unexpected error has occured' when trying to automatically register new users. When I looked through the logs, the following error was printed out
An exception occurred while executing 'insert into Users (uName, uEmail, uPassword, uIsValidated, uDateAdded, uLastPasswordChange, uIsFullRecord, uDefaultLanguage, uIsActive) values (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [null, null, "$2a$12$mY9i0SKbmDGNaYbLpCG2eueEsuK0kBxn2nP6HBRuZRwxl0XAsoxKi", 1, "2014-12-21 06:30:21", "2014-12-21 06:30:21", 1, null, 1]:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uName' cannot be null
However, attaching user accounts, and then logging in all works smoothly. Has anyone else managed to get this feature working?
Thanks
I've been trying to set up facebook authentication with concrete5.7.3 and I've run into some troubles. I have been getting a vague error message 'An unexpected error has occured' when trying to automatically register new users. When I looked through the logs, the following error was printed out
An exception occurred while executing 'insert into Users (uName, uEmail, uPassword, uIsValidated, uDateAdded, uLastPasswordChange, uIsFullRecord, uDefaultLanguage, uIsActive) values (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [null, null, "$2a$12$mY9i0SKbmDGNaYbLpCG2eueEsuK0kBxn2nP6HBRuZRwxl0XAsoxKi", 1, "2014-12-21 06:30:21", "2014-12-21 06:30:21", 1, null, 1]:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uName' cannot be null
However, attaching user accounts, and then logging in all works smoothly. Has anyone else managed to get this feature working?
Thanks
I also have faced this issue & i want its solution. So please help me.
I created an issue on Github for this as I can reproduce this.
https://github.com/concrete5/concrete5-5.7.0/issues/1694...
https://github.com/concrete5/concrete5-5.7.0/issues/1694...
I confirm on ver.5.7.3.1.
I have the same problem.
Same issue here.
using 5.7.5.6
Please update if any of you had a solution
using 5.7.5.6
Please update if any of you had a solution