XML-RPC error

XML-RPC error

door Martijn van der Graaf -
Aantal antwoorden: 3

Ik heb Moodle in een submap van Joomla geïnstalleerd. Ik heb een connector gemaakt via web services in Moodle. Ik heb naar mijn idee alle rechten e.d. goed gezet. Toch blijf ik een error code krijgen als ik een gebruiker wil toevoegen.

XML-RPC Error (23000021): Uitzondering toegangscontrole | ERRORCODE: accessexception

Wie helpt mij op weg naar de oplossing?

De moodle website is: http://testsite.joomla-designers.nl/lms


Bijlage error.png
Gemiddelde van de beoordelingen:  -
Als antwoord op Martijn van der Graaf

Re: XML-RPC error

door Martijn van der Graaf -

Inmiddels heb ik meer informatie over de fout gekregen. Wie helpt me dit op te lossen?

XML-RPC Error (23000021): Uitzondering toegangscontrole | DEBUG INFO: Access to the function joomdle_get_moodle_users_number() 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

Gemiddelde van de beoordelingen:  -
Als antwoord op Martijn van der Graaf

Re: XML-RPC error

door Joost Elshoff -
Foto van Heel behulpzame Moodlers

Een token maken voor de admin-account (sitebeheerder) aan Moodlezijde zou het probleem kunnen verhelpen. Daarvoor optie 7 volgen.

Gemiddelde van de beoordelingen:  -