- Posts: 7848
Joomdle 2.x Installation
Web services in Moodle 4
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
3 years 8 months ago #11
by Antonio Durán
Replied by Antonio Durán on topic Web services in Moodle 4
Mmmm... then I am not sure what can be happening. Is the Joomdle auth method enabled in Moodle?
As it is returning an array, it may be that it is an error instead of a wrong value....
Also, if you are not on PHP8, can you try changing to REST/XMLRPC to see if that changes the result.
As it is returning an array, it may be that it is an error instead of a wrong value....
Also, if you are not on PHP8, can you try changing to REST/XMLRPC to see if that changes the result.
Please Log in or Create an account to join the conversation.
- GlenanPL
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
3 years 8 months ago #12
by GlenanPL
Replied by GlenanPL on topic Web services in Moodle 4
Hi Antonio,
with XML-RPC the error message is
Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle
the rest is OK.
The auth_joomdle | joomla_url is www.domainename.fr/
Regards
PL
with XML-RPC the error message is
Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle
the rest is OK.
The auth_joomdle | joomla_url is www.domainename.fr/
Regards
PL
Please Log in or Create an account to join the conversation.
- GlenanPL
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
3 years 8 months ago #13
by GlenanPL
Replied by GlenanPL on topic Web services in Moodle 4
Hi Antonio,
I try without the / at the end and all is OK, both XML-RPC and REST.
Now I can test upgrade!
Thanks,
PL
I try without the / at the end and all is OK, both XML-RPC and REST.
Now I can test upgrade!
Thanks,
PL
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
3 years 8 months ago #14
by Antonio Durán
Replied by Antonio Durán on topic Web services in Moodle 4
Great to know that you got it working, thanks for sharing the solution.
Please Log in or Create an account to join the conversation.
- GlenanPL
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
3 years 8 months ago #15
by GlenanPL
Replied by GlenanPL on topic Web services in Moodle 4
Strange though.
On another site with an identical setting, it works with the /.
I did not find to close the discussion
A+
PL
On another site with an identical setting, it works with the /.
I did not find to close the discussion
A+
PL
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
3 years 8 months ago #16
by Antonio Durán
Replied by Antonio Durán on topic Web services in Moodle 4
Well, I have seem some hosts behaving differently when you open the URL with and without the trailing slash.... I don't know what in the server config make that happen.
As you say, most hosts will work fine with Joomdle even if you leave the slash.
As you say, most hosts will work fine with Joomdle even if you leave the slash.
Please Log in or Create an account to join the conversation.