- Posts: 16
Joomdle 2.x Installation
Invalid TOKEN
- Lionel Ray
- Topic Author
- Offline
- New Member
-
Less
More
3 years 1 month ago - 3 years 1 month ago #1
by Lionel Ray
Invalid TOKEN was created by Lionel Ray
Hi,
I've just upgrade my website from Joomla 3.10 to 4.2.9 and I've got the issue :
"Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle"
I've got the "invalid token" stuff also.
I did try some stuff but nothing seems to work.
Both plugin are the same version.
The file moodledata/temp/joomdle_system_check.xml is empty
joomla_folder/logs/joomdle_system_check.xml this one seems all right.
I've got no third party extension to protect my website.
I've got this error coming up when I put this /index.php?lang=fr&task=ws.server&format=json
{"error":true,"code":0,"message":"Classe de contr\u00f4leur invalide : ws"}
Do you have any idea of what I can try to find the problem ?
Thanks in advance,
I've just upgrade my website from Joomla 3.10 to 4.2.9 and I've got the issue :
"Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle"
I've got the "invalid token" stuff also.
I did try some stuff but nothing seems to work.
Both plugin are the same version.
The file moodledata/temp/joomdle_system_check.xml is empty
joomla_folder/logs/joomdle_system_check.xml this one seems all right.
I've got no third party extension to protect my website.
I've got this error coming up when I put this /index.php?lang=fr&task=ws.server&format=json
{"error":true,"code":0,"message":"Classe de contr\u00f4leur invalide : ws"}
Do you have any idea of what I can try to find the problem ?
Thanks in advance,
Last edit: 3 years 1 month ago by Lionel Ray.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
3 years 1 month ago #2
by Antonio Durán
Replied by Antonio Durán on topic Invalid TOKEN
Hi.
> I've just upgrade my website from Joomla 3.10 to 4.2.9 and I've got the issue :
Are you using latest Joomdle version?
> I've got the "invalid token" stuff also.
Can you post the exact message?
> I've just upgrade my website from Joomla 3.10 to 4.2.9 and I've got the issue :
Are you using latest Joomdle version?
> I've got the "invalid token" stuff also.
Can you post the exact message?
Please Log in or Create an account to join the conversation.
- Lionel Ray
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
3 years 1 month ago #3
by Lionel Ray
Replied by Lionel Ray on topic Invalid TOKEN
Hi Antonio,
This is what I've got from : /index.php?option=com_joomdle&task=ws.server&format=xmlrpc
> XML-RPC Error (1): Invalid token:
And this is what I've got from : /index.php?lang=fr&task=ws.server&format=json
>{"error":true,"code":0,"message":"Classe de contr\u00f4leur invalide : ws"}
Both Moodle and Joomla are on 2.1.0
Thank you
This is what I've got from : /index.php?option=com_joomdle&task=ws.server&format=xmlrpc
> XML-RPC Error (1): Invalid token:
And this is what I've got from : /index.php?lang=fr&task=ws.server&format=json
>{"error":true,"code":0,"message":"Classe de contr\u00f4leur invalide : ws"}
Both Moodle and Joomla are on 2.1.0
Thank you
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
3 years 1 month ago #4
by Antonio Durán
Replied by Antonio Durán on topic Invalid TOKEN
The REST URL is:
/index.php?option=com_joomdle&task=ws.server&format=json
So should get: "Invalid token:"
If that works fine, I don't know why you get the error and the empy file in Moodle...you can try using wget from the Moodle server to see if there's any issue fetching the above url.
/index.php?option=com_joomdle&task=ws.server&format=json
So should get: "Invalid token:"
If that works fine, I don't know why you get the error and the empy file in Moodle...you can try using wget from the Moodle server to see if there's any issue fetching the above url.
Please Log in or Create an account to join the conversation.
- Lionel Ray
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
3 years 4 weeks ago #5
by Lionel Ray
Replied by Lionel Ray on topic Invalid TOKEN
All right, so I try the Rest URL and got the "Invalid token:"
I'm asking the compagny who is running our moodle to try what you said, I let you know if they find anything.
Thanks for your answer.
I'm asking the compagny who is running our moodle to try what you said, I let you know if they find anything.
Thanks for your answer.
Please Log in or Create an account to join the conversation.
- Lionel Ray
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
3 years 4 weeks ago #6
by Lionel Ray
Replied by Lionel Ray on topic Invalid TOKEN
All right, so the guy who is managing my plateform on Moodle fixed it.
Apparently, since the last Update Joomdle doesn't allow the '/' at the end of the URL in Moodle.
He removed it and it is now working proporly.
It that helps anyone.
Have a good one !
Apparently, since the last Update Joomdle doesn't allow the '/' at the end of the URL in Moodle.
He removed it and it is now working proporly.
It that helps anyone.
Have a good one !
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
3 years 4 weeks ago #7
by Antonio Durán
Replied by Antonio Durán on topic Invalid TOKEN
Great to know that you got it working, and thank you for sharing your solution!
Please Log in or Create an account to join the conversation.