I have configured the Facebook plugin, but when I try to login / register, I am redirected to a white page with this message on it:
A Question2Answer database query failed when generating this page.
A full description of the failure is available in the web server's error log file.
The log file contains the following:
[Sun Jun 05 16:19:24.214827 2016] [:error] [pid 7359:tid 140500770178816] [client 46.139.92.35:57320] FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: PHP message: PHP Question2Answer MySQL query error 1100: Table 'qa_userpoints' was not locked with LOCK TABLES - Query: (SELECT '0' AS selectkey, qa_users.userid, passsalt, HEX(passcheck) AS passcheck, email, level, emailcode, handle, UNIX_TIMESTAMP(created) AS created, sessioncode, sessionsource, flags, UNIX_TIMESTAMP(loggedin) AS loggedin, INET_NTOA(loginip) AS loginip, UNIX_TIMESTAMP(written) AS written, INET_NTOA(writeip) AS writeip, BINARY avatarblobid AS avatarblobid, avatarwidth, avatarheight, points, wallposts, NULL AS rank, NULL AS qposts, NULL AS aposts, NULL AS cposts, NULL AS aselects, NULL AS aselecteds, NULL AS qupvotes, NULL AS qdownvotes, NULL AS aupvotes, NULL AS adownvotes, NULL AS qvoteds, NULL AS avoteds, NULL AS upvoteds, NULL AS downvoteds, NULL AS bonus FROM qa_users LEFT JOIN qa_userpoints ON qa_userpoints.userid=qa_users.userid WHERE qa_users.userid='29') UNION ALL (SELECT '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU...,
Can you please help what could be the problem?
Thanks,
Szabolcs