× Joomdle 1.0 Installation

Unable to connect Moodle to Joomla

7 months 1 week ago
HBAcademy
Posts: 8
More
Topic Author
Unable to connect Moodle to Joomla #1
In system status check I'm getting: Moodle to Joomla HTTP connectivity
If I go to: mysite.com/index.php?option=com_joomdle&...server&format=xmlrpc k
I get: XML-RPC Error (1): Invalid token:

I've triple checked the tokens and they are copied correctly. What could be causing this?

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

7 months 1 week ago
Antonio Durán
Posts: 7144
More
Unable to connect Moodle to Joomla #2
Hi.

Is that the only red cross you have in system check? ie: is the last one green? If so, everything should work fine.

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

7 months 1 week ago
HBAcademy
Posts: 8
More
Topic Author
Unable to connect Moodle to Joomla #3
yes. everything else is green.

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

7 months 4 days ago
Antonio Durán
Posts: 7144
More
Unable to connect Moodle to Joomla #4
Then system check error might come from some security extension in Joomla, or some permission problem with the file.
Anyway, it does not matter, as everything should work fine having last check green.

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

7 months 4 days ago
HBAcademy
Posts: 8
More
Topic Author
Unable to connect Moodle to Joomla #5
Unfortunately, if we try to login to Moodle using a Joomla user, it doesn't work. So it seems something is not working correctly. Any other suggestions?

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

7 months 3 days ago
Antonio Durán
Posts: 7144
More
Unable to connect Moodle to Joomla #6
Is the user a Joomdle user? ie: does he have the 3 green marks in Joomdle->users?

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

6 months 4 weeks ago
HBAcademy
Posts: 8
More
Topic Author
Unable to connect Moodle to Joomla #7
I added the user to Joomdle and it now shows up in the Moodle user list (sidenote -- is that something that always has to be done manually? can't all Joomla users automatically be granted access to Moodle?). But when I try to login to Moodle with that user, it still doesn't work.

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

6 months 4 weeks ago
Antonio Durán
Posts: 7144
More
Unable to connect Moodle to Joomla #8
> is that something that always has to be done manually?

No, new users will get account created in both sides. For already existing users, you need to do it. Or, when they enrol to a course, accout will be created.

> But when I try to login to Moodle with that user, it still doesn't work.

Does the user have the 3 checks in Joomdle users screen?
When you log in to Joomla, and then you open Moodle, are you logged in? ie: is SSO from Joomla to Moodle working?

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

6 months 4 weeks ago
HBAcademy
Posts: 8
More
Topic Author
Unable to connect Moodle to Joomla #9
Yes, the user has three checks in the Joomdle users screen.
If I login to the front of Joomla, and then visit Moodle -- no, I'm not logged in.

One thought, and possible something I missed in the config -- the joomla site and moodle site are on different domains. I'm pretty sure I read that Joomdle supports that setup. Is there something I need to do to specifically account for that?

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

6 months 3 weeks ago
Antonio Durán
Posts: 7144
More
Unable to connect Moodle to Joomla #10
> If I login to the front of Joomla, and then visit Moodle -- no, I'm not logged in.

Ok, this is the first thing to solve.

> the joomla site and moodle site are on different domains.

Then make sure that you have not enabled redirect-less SSO in Joomdle config in Joomla. Redirect-less SSO only works on same domain.
Redirect-less SSO is disabled by default, but maybe you enabled it?

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