× R0.30 Support

New Joomla users are not added to Moodle

9 years 8 months ago
tim
Posts: 8
More
Topic Author
New Joomla users are not added to Moodle #1
Hi,

I've read through all of your 3.0 posts on the forum and still can't seem to find the answer to my problem.

I teach high school video production and also engineering. I've switched over my website to moodle this year ( www.hsteched.com/onlineclassroom k). Now I'm trying to incorporate Joomla into that ( www.hsteched.com/Joomla k).

I installed joomdle into both moodle and joomla. I just can't seem to get them to talk to one another. If I go into the Joomla site and manage users under the joomdle component, I am not able to add users to Moodle. If I click on it, it never tells me that it does anything.. the check mark isn't added next to their name.. and they are still not able to sign into the moodle site. I'm hoping its just a simple setting change. any ideas?

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

9 years 8 months ago
Antonio Durán
Posts: 7129
More
New Joomla users are not added to Moodle #2
Hi.

What is the joomdle system check reporting?

Antonio

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

9 years 8 months ago
tim
Posts: 8
More
Topic Author
New Joomla users are not added to Moodle #3
Thanks for getting back to me.. The Joomdle Web Services reports Received empty response from Moodle


I went through everything in the System Health Check wiki, but no luck. The only thing I can think of is that I'm typing in the Moodle URL wrong in Joomla and visa versa

In Joomla, when it asks for the moodle url i'm typing /onlineclassroom

If I try and type in www.hsteched.com/onlineclassroom k instead, its says You need to add your site IP to Moodle XML-RPC trusted hosts list

I don't think this is the problem.. i think i covered all my bases, but here are the IP's i used
127.0.0.1/32
65.254.250.20/32
65.254.250.103/32
65.254.250.0/24
65.254.250.0/24

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

9 years 8 months ago
Antonio Durán
Posts: 7129
More
New Joomla users are not added to Moodle #4
Hi.

As you say, you need to enter full URL ( www.hsteched.com/onlineclassroom k), it won't work with path only.

The ip should be: 65.254.250.103/32

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

9 years 8 months ago
tim
Posts: 8
More
Topic Author
New Joomla users are not added to Moodle #5
I changed it over to the full URL in both moodle and Joomla

Now when I go to www.hsteched.com/Joomla k it says XML-RPC Error (7021): The transport method you are trying to use is not permitted.

I have tried both file get contents and curl

when i go to the system health check it says You need to add your site IP to Moodle XML-RPC trusted hosts list even though i put in the IP that you told me "The ip should be: 65.254.250.103/32"

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

9 years 8 months ago
Antonio Durán
Posts: 7129
More
New Joomla users are not added to Moodle #6
Then it seems your server is using an internal IP for communicating.

You should find out which.

Can you look at the access log? Maybe the IP is there. Look for access to page "moodle/mnet/xmlrpc/server.php"

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

9 years 8 months ago
tim
Posts: 8
More
Topic Author
New Joomla users are not added to Moodle #7
I downloaded the access log and extracted it. I did a search in it for "onlineclassroom/mnet/xmlrpc/server.php", xmlrpc, server.php. None of those showed up. I did a search just for .php files and found the login page for the moodle (/onlineclassroom) portion of my site. I added the new IP's (64.90.247.67/32,
192.168.151.32/32) to the list of XML-RPC hosts. I went back to hsteched.com/Joomla and I still get

XML-RPC Error (7021): The transport method you are trying to use is not permitted.

If i log into the admin portion (hsteched.com/Joomla/administrator) and check the Joomdla System Health it still says You need to add your site IP to Moodle XML-RPC trusted hosts list

I have powweb.com as a server. I tried contacting them and explaining it to them about the internal IP but they seemed pretty lost and didn't offer any help.

Attached is a copy of my access log

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

9 years 8 months ago
tim
Posts: 8
More
Topic Author
New Joomla users are not added to Moodle #8
I guess the file won't attach for some reason. I can send it to you if you'd like.

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

9 years 8 months ago
Antonio Durán
Posts: 7129
More
New Joomla users are not added to Moodle #9
No need to send it, if you can't find the address, I won't either.

Maybe accesses are not shown in the logs, because the arrive by another interface, I don't know.

You could also find out the IP being used by creating a couple of files on your server for testing:
- One in moodle dir, which would print the $_SERVER var
- Another one in joomla dir, which would call the first one via file_get_contents

That way, you could see the IP used by your server to call your own server.

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

9 years 8 months ago
tim
Posts: 8
More
Topic Author
New Joomla users are not added to Moodle #10
I want to get his up and running as quick as possible. So for the time being I just put in 192.168.0.0/0 so joomla and moodle could talk to one another. I figured I'll go back and find the correct IP address later.

Right now I'm running 5 classes off of my moodle site. I got Joomla and moodle to talk last night using the method above. However it deleted all of my usernames out of moodle when i synced it up. I read somewhere that community builder should solve this. I installed that, but no luck yet.

I tried creating a new member in community builder and joomla.. under the joomdle user control panel it says they are now a moodle user, but when i get to moodle it says the user does not exist??

So i went over to the system health on Joomdle and it says Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle
but i have www.hsteched.com/Joomla k typed in so i don't know how that can be?

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