- Posts: 4
Moodle Joomla connectivity & Joomdl Webservices
- Joomladev
- Topic Author
- Offline
- New Member
-
Less
More
13 years 2 weeks ago #1
by Joomladev
Moodle Joomla connectivity & Joomdl Webservices was created by Joomladev
Hi There,
I've been working on a site where Joomla & Moodle are integrated through Joomdl.
While checking on Joomdl system health, I found red cross against following two checks.
Moodle to Joomla HTTP connectivity --> Moodle cannot connect to Joomla
Joomdle Web Services --> An unexpected error happened: 89159464: Invalid token - token not found | ERRORCODE: invalidtoken
Can someone please help me on how to manage this errors ?
Thank You.
I've been working on a site where Joomla & Moodle are integrated through Joomdl.
While checking on Joomdl system health, I found red cross against following two checks.
Moodle to Joomla HTTP connectivity --> Moodle cannot connect to Joomla
Joomdle Web Services --> An unexpected error happened: 89159464: Invalid token - token not found | ERRORCODE: invalidtoken
Can someone please help me on how to manage this errors ?
Thank You.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 2 weeks ago #2
by Chris
Replied by Chris on topic Moodle Joomla connectivity & Joomdl Webservices
Invalid Token means that the token you have entered in the Joomdle configuration page is not the same as the token created in Moodle for the Joomdle Connector user. Referring to the wiki
- www.joomdle.com/wiki/Preparing_Moodle_20 (bottom of page)
- www.joomdle.com/wiki/Installing_Joomdle_in_Joomla (General Configuration Table)
- www.joomdle.com/wiki/Preparing_Moodle_20 (bottom of page)
- www.joomdle.com/wiki/Installing_Joomdle_in_Joomla (General Configuration Table)
Please Log in or Create an account to join the conversation.
- Joomladev
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
13 years 1 week ago #3
by Joomladev
Replied by Joomladev on topic Moodle Joomla connectivity & Joomdl Webservices
Hello Chris,
Thanks for sharing the way forward.
I've gone through the process & followed each step mentioned in the document.
When I try to create new token, system show me the error - "The user hasn't the required capability to use this service."
I've already defined connector's role, permissions & everything as like it is in the document.
When I checked 'Functions' of external services, I found following error -
"Coding error detected, it must be fixed by a programmer: Missing implementation method of joomdle_helpers_external::get_label"
Can this be a root cause for all ?
I look forward for your next inputs.
Thank You.
Thanks for sharing the way forward.
I've gone through the process & followed each step mentioned in the document.
When I try to create new token, system show me the error - "The user hasn't the required capability to use this service."
I've already defined connector's role, permissions & everything as like it is in the document.
When I checked 'Functions' of external services, I found following error -
"Coding error detected, it must be fixed by a programmer: Missing implementation method of joomdle_helpers_external::get_label"
Can this be a root cause for all ?
I look forward for your next inputs.
Thank You.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 1 week ago #4
by Chris
Replied by Chris on topic Moodle Joomla connectivity & Joomdl Webservices
It is quite possible. "User hasn't the required capability" basically implies either:
- you have not added all the Joomdle functions to the Joomdle service (which is used in the token)
- the installation of the Joomdle auth in Moodle was not done successfully (ie didn't add all functions to moodle during the moodle update - did you click on the notifications page after installing auth in Moodle?)
Not very likely as you are working in Moodle when you get the above message.
- you are using an older Joomdle auth for Moodle than what the code is looking for (not likely if this is a new Joomdle installation and you installed from a single joomdle package. possible if you are upgrading Joomdle and didn't upgrade the corresponding Joomdle auth in moodle
- you have not added all the Joomdle functions to the Joomdle service (which is used in the token)
- the installation of the Joomdle auth in Moodle was not done successfully (ie didn't add all functions to moodle during the moodle update - did you click on the notifications page after installing auth in Moodle?)
Not very likely as you are working in Moodle when you get the above message.
- you are using an older Joomdle auth for Moodle than what the code is looking for (not likely if this is a new Joomdle installation and you installed from a single joomdle package. possible if you are upgrading Joomdle and didn't upgrade the corresponding Joomdle auth in moodle
Please Log in or Create an account to join the conversation.