How To / General

Error after registration on Joondle 1.1.4

  • umbandaexplica
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago - 8 years 8 months ago #1 by umbandaexplica
Error after registration on Joondle 1.1.4 was created by umbandaexplica
Hello people,

Informing and asking for help with an error after registering with moodle with joomdle 1.1.4 returns an error in the "notify" function of auth.php.

It returns me error at line 104: "$ PAGE-> set_url ('auth / joomdle / auth.php');"
I tried to make some corrections but nothing,

I also noticed that the SSO function and user synchronization between moodle and joomla was not working correctly.

Site: umbandaexplica.com.br/ead

edit: I tested it with Joomdle 1.3.3 and the same error happened, I did not realize it. I remember again, in joomla everything is green but the synchronization between moodle and joomla is also compromised.
Last edit: 8 years 8 months ago by umbandaexplica.

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

  • umbandaexplica
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago - 8 years 8 months ago #2 by umbandaexplica
Replied by umbandaexplica on topic Error after registration on Joondle 1.1.4
Could anyone help?

If I posted in the wrong area just let me know that I correct.

EDIT: SSO is working
Last edit: 8 years 8 months ago by umbandaexplica.

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

More
8 years 8 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Error after registration on Joondle 1.1.4
Hi.

Thanks for the bug report. I tested, and could replicate the problem.
Luckily, fix is easy, so you can do it right away.
Edit file: moodle/auth/joomdle/auth.php
Function: user_signup ()
At the start, change:
Code:
global $CFG, $DB;
by:
Code:
global $CFG, $DB, $PAGE, $OUTPUT;

Please test and ket us know.

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

  • umbandaexplica
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #4 by umbandaexplica
Replied by umbandaexplica on topic Error after registration on Joondle 1.1.4
Hello Duran, thank you very much for your attention and for solving the problem.

I changed the code and the problem was solved, thank you very much.

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

More
8 years 8 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Error after registration on Joondle 1.1.4
Great, thanks for the feedback.

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