"Error reading from database" usando Facebook connect

"Error reading from database" usando Facebook connect

de Pablo García -
Número de respuestas: 1

Hola,

he instalado el Facebook Connect en moodle 2.3.3 y me aparece el icono de login cuando quiero logearme y luego de ingresar mi email y password de facebook me permite logearme presionando el boton "Login with Facebook Account" pero luego me sale el siguiente error:

Error al leer de la base de datos

Más información sobre este error

Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT userid FROM mdl_user_info_data WHERE data =
[array (
)]
Error code: dmlreadexception
Stack trace:
  • line 407 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 966 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1360 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 92 of /auth/facebook/lib.php: call to moodle_database->get_record_sql()
  • line 95 of /auth/facebook/auth.php: call to facebook_get_moodle_id()
  • line 82 of /login/index.php: call to auth_plugin_facebook->loginpage_hook()

---------------------------------------------------------------------------------------------------------------

Aclaro que el usuario esta  creado en moodle y con método de identificación Facebook Login.

Agradeceria cualquier ayuda para resolver este problema.

Gracias,

Pablo desde Rosario, Argentina

Promedio de valoraciones: -
En respuesta a Pablo García

Re: "Error reading from database" usando Facebook connect

de Andres Ortiz -

Hola Pablo, tengo un error similar... Alguna idea para solucionarlo??

Debug info: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
SELECT DISTINCT c.id AS courseid, ra.enrol, c.timecreated, c.timemodified
FROM mdl_course c
JOIN mdl_context ctx ON (ctx.instanceid = c.id AND ctx.contextlevel = 50)
JOIN mdl_role_assignments ra ON (ra.contextid = ctx.id AND ra.enrol <> '')
LEFT JOIN mdl_enrol e ON (e.courseid = c.id AND e.enrol = ra.enrol)
WHERE c.id <> ? AND e.id IS NULL
[array (
0 => '1',
)]
Stack trace:
  • line 391 of \lib\dml\moodle_database.php: dml_read_exception thrown
  • line 768 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 4093 of \lib\db\upgrade.php: call to mysqli_native_moodle_database->get_recordset_sql()
  • line 1393 of \lib\upgradelib.php: call to xmldb_main_upgrade()
  • line 273 of \admin\index.php: call to upgrade_core()
 
 
Gracias!!!