How To / General

Help Needed Urgently XML-RPC Error (26045186): Coding error

  • Justin
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 1 month ago #1 by Justin
I updated to 1.0.8 a while ago, and then over the weekend I found that the easy Profile field seemed not to be syncing ie if I chanced the detail in the field in joomla the change was not reflected in moodle, even though the filed was mapped.

I then decided to update to 1.1.1 which fixed the mapping problem and all seemed fine but now if a user tries to register using the easyprofile registration screen in joomla they get the following error. XML-RPC Error (26045186): Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays | ERRORCODE: codingerror


I tried downgrading the auth plugin but moodle will not allow me. What must I do

Please help

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

More
9 years 1 month ago #2 by Antonio Durán
Are you really runing 1.1.1 on Moodle side? It's supposed to fix that problem.
Please check this:
www.joomdle.com/forum/installation/12119-xml-rpc-error-26045186

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

  • Justin
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 1 month ago - 9 years 1 month ago #3 by Justin
Hi Antonio

Please find attached the screen shots
I will quickly check the link you sent
Last edit: 9 years 1 month ago by Justin.

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

More
9 years 1 month ago #4 by Antonio Durán
Are you using the user check plugin? If so, can you disable it and test to see if problem is coming from the same place?

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

  • Justin
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 1 month ago #5 by Justin
HI Antonio

It looks like it is, I disabled the user check plugin and Registration works perfectly, as soon as I enable user check the error returns.

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

More
9 years 1 month ago #6 by Antonio Durán
I just checked, and somehow I messed things up on release, and this change is not in the 1.1.1 package :(

Please do the change manually if you want. We will release a new package soon.
File to change: moodle/auth/joomdle/auth.php
Function: get_moodle_only_users
Around 12 lines in the function, change:
Code:
$usernames = array ();
By:
Code:
$usernames = array ('this_is_a_kludge_to_avoid_empty_array');

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

  • Justin
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 1 month ago #7 by Justin
Will do thank you.

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