Can't log in Joomla or Moodle.

10 years 5 months ago
Leopoldo Sanczyk
Posts: 6
More
Topic Author
Can't log in Joomla or Moodle. #1
Dear Joomdlers: I've changed my Joomla and Moodle domains, and now I can only enter Joomla administrator part, or log in Moodle as the guest user!

The config files are updated with the new domain names.
Aparently everything is working except for the user access.
The Joomdle "System health check" tool says all is ok, except the last item, where a 404 unknown error message appears, and doesn't allow me to understand the problem.

When I disable Joomla's Joomdle extensions I can login again in the site part.
But I can't log as admin in Moodle to disable the plugin, or change the configuration.
I tried to change the "joomla_url" value in "mdl_config" table, but the problem persist.
I tried to rename /auth/joomdle directory and /enrol/joomdle directory too.

When I try to login, the page send me to the login page again without any error.

I will apreciate a lot your help!

Please Log in or Create an account to join the conversation.

10 years 5 months ago
Leopoldo Sanczyk
Posts: 6
More
Topic Author
Can't log in Joomla or Moodle. #2
I tried to set debug value of mdl_config table to 1, and to true, to activate Moodle debugging mode and get a better error message in the system health check, but the message is still the same:

Joomdle Web Services -> unexpected error: 404: Unknown Error

I tried to replace the Moodle database with a version with de auth and enrol plugins disabled, but the login is still not working.

I'm running out of solutions.

Please Log in or Create an account to join the conversation.

10 years 5 months ago
Leopoldo Sanczyk
Posts: 6
More
Topic Author
Can't log in Joomla or Moodle. #3
I managed to activite Moodle's debugging mode using config.php.

The system health check detailed error in spanish is:

"Ocurrió un error inesperado: 28260048: Detectado valor de respuesta no válido | DEBUG INFO: joomdle_auth => Detectado valor de respuesta no válido: Invalid external api response: the value is "", the server was expecting "int" type | ERRORCODE: invalidresponse "


Translated to english:

"There was an unexpected error: 28260048: Detected value invalid response | DEBUG INFO: joomdle_auth => Detected value Invalid response: Invalid external api response: the value is" ", the server was expecting" int "type | errorcode: invalidresponse "

Please Log in or Create an account to join the conversation.

10 years 5 months ago
Antonio Durán
Posts: 7815
More
Can't log in Joomla or Moodle. #4
No se por que obtienes ese error en el system check.

En cuanto a lo de no poder entrar a moodle: supongo que pusiste tu usuario admin como usuario joomdle. No recomendamos hacer eso, ya que puede haber problemas como este. Es mejor mantener siempre un admin moodle normal.

Ahora, lo que puedes hacer para entrar en moodle, es entrar a la base de datos, y cambiar a mano en la tabla mdl_user, la entrada de tu usuario admin. Cambia el campo auth, de "joomdle" que tendrá puesto, a "manual".
Con eso deberías poder entrar con la contraseña original que tuviera el usuario en moodle.


Una vez que entres puedes ver si hay algun problema con la configuracion de Joomdle en Moodle.

Please Log in or Create an account to join the conversation.

10 years 5 months ago
Leopoldo Sanczyk
Posts: 6
More
Topic Author
Can't log in Joomla or Moodle. #5
Thanks! Changing the 'auth field' of the 'mdl_user' table from "joomdle" to "manual" was the solution needed to log in Moodle as admin and continue debugging the in the Moodle side.

PS: I answer you in english instead of spanish, thinking in future Google searchers.

Please Log in or Create an account to join the conversation.