How To / General

Changing username in Joomla brings up error

More
6 years 9 months ago #1 by chye
When we try to change an account's username in the Joomla backend (via Community Builder) it gives this error:

XML-RPC Error (23000021): Access control exception | DEBUG INFO: Access to the function joomdle_change_username() is not allowed. There could be multiple reasons for this: 1. The service linked to the user token does not contain the function. 2. The service is user-restricted and the user is not listed. 3. The service is IP-restricted and the user IP is not listed. 4. The service is time-restricted and the time has expired. 5. The token is time-restricted and the time has expired. 6. The service requires a specific capability which the user does not have. 7. The function is called with username/password (no user token is sent) and none of the services has the function to allow the user. These settings can be found in Administration > Site administration > Plugins > Web services > External services and Manage tokens. | ERRORCODE: accessexception


Is it something we have not set up?

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

More
6 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Changing username in Joomla brings up error
Hi. Is your system check all green?

It seems like the function has not been added to the service.

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

More
6 years 9 months ago #3 by chye
System check is showing all green. All Joomdle plugins are enabled as well.

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

More
6 years 9 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Changing username in Joomla brings up error
Go to Moodle->Site admin->Plugins->Web services->External services
Click Functions for Joomdle service.
At the botton, click "Add functions"
Search for joomdle: some functions should appear, as it seems they have not been added automatically. One should be joomdle_change_username.
After adding it, process should work.

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

  • Web Buster UK Ltd
  • Offline
  • Premium Member
  • Premium Member
More
6 years 9 months ago #5 by Web Buster UK Ltd
Replied by Web Buster UK Ltd on topic Changing username in Joomla brings up error
Yes, that fixes it! Many thanks!

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