I have been trying to use single sign-on with Wikimedia & Question2Answer without much luck.
Looking at my server error messages it appears that there is a problem connecting to the database to get the user details. I have the following line in my qa-external-users.php file:
$result = mysql_fetch_assoc( mysql_query( "SELECT user_id, user_name, user_email FROM user WHERE user_id = " . $userid, $qa_db_connection ) );
however, in my error log I get the following php error:
mysql_query() expects parameter 2 to be resource, object given in /qa-external/qa-external-users.php
Have I missed something or is this a bug?