- Posts: 106
Joomdle 1.0 Installation
[Solved] Users not created correctly in Moodle
- Justin
- Topic Author
- Offline
- Premium Member
-
Less
More
10 years 4 months ago - 10 years 3 months ago #1
by Justin
[Solved] Users not created correctly in Moodle was created by Justin
Hi
For some reason the users are not being created correctly in moodle.
If I create register a test user in joomla, joomdle automatically creates the user in Moodle but with only a user name and nothing else I have tried mapping fields but it does not seem to help, also no password is being pulled though so once created users can not login to Moodle.
Please find a screen print of what it creates in moodle if I access the user's settings I can see the user name but that is it.
Please Help
For some reason the users are not being created correctly in moodle.
If I create register a test user in joomla, joomdle automatically creates the user in Moodle but with only a user name and nothing else I have tried mapping fields but it does not seem to help, also no password is being pulled though so once created users can not login to Moodle.
Please find a screen print of what it creates in moodle if I access the user's settings I can see the user name but that is it.
Please Help
Last edit: 10 years 3 months ago by Antonio Durán.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 4 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Users not created correctly in Moodle
Hi.
Please try this:
www.joomdle.com/forum/installation/11702...r?limitstart=0#18160
And let us know if that fixes the problem for you. We want to have some more feedback before releasing a new package.
Please try this:
www.joomdle.com/forum/installation/11702...r?limitstart=0#18160
And let us know if that fixes the problem for you. We want to have some more feedback before releasing a new package.
The topic has been locked.
- Justin
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 106
10 years 4 months ago - 10 years 4 months ago #3
by Justin
Replied by Justin on topic Users not created correctly in Moodle
Hi
In Function create_user_record() in auth.php
I tried replacing
with
I then created a new user but I still have the same result.
In Function create_user_record() in auth.php
I tried replacing
Code:
return $user;
Code:
return $newuser;
Last edit: 10 years 4 months ago by Justin.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 4 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Users not created correctly in Moodle
I don't know what your problem is.
We released a new Joomdle version, so you can upgrade (in both Joomla and Moodle) and test.
We released a new Joomdle version, so you can upgrade (in both Joomla and Moodle) and test.
The topic has been locked.
- Justin
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 106
10 years 4 months ago #5
by Justin
Replied by Justin on topic Users not created correctly in Moodle
If I run the system health check I get,
I have looked at the wiki and if I go to http::/yoursite.com/index.php?option=com_joomdle&task=ws.server&format=xmlrpc I get the following message
Could this be the reason user data is not added to moodle user
Code:
Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle
Code:
XML-RPC Error (1): Invalid token:
Could this be the reason user data is not added to moodle user
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 4 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Users not created correctly in Moodle
You need to fix the system check problem before Joomdle can work fine.
Reason for that error can be a wrong URL, missing http://, some unrelated error in Joomla, ...
Reason for that error can be a wrong URL, missing http://, some unrelated error in Joomla, ...
The topic has been locked.
- Justin
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 106
10 years 4 months ago #7
by Justin
Replied by Justin on topic Users not created correctly in Moodle
Hi
I Have checked the urls they are defiantly correct and contain http://
I have checked the tokes as well and they seem to be fine
I Have checked the urls they are defiantly correct and contain http://
I have checked the tokes as well and they seem to be fine
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 4 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Users not created correctly in Moodle
This can be caused by a non-related error in your Joomla installation: if any plugin is showing errors, XML replys will be broken, and system check will show the error you are getting.
The topic has been locked.
- Justin
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 106
10 years 4 months ago #9
by Justin
Replied by Justin on topic Users not created correctly in Moodle
How do I go about determining what is causing the error.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 4 months ago #10
by Antonio Durán
Replied by Antonio Durán on topic Users not created correctly in Moodle
You could use a sniffer to see the real reply from Joomla.
You could also edit the code to print the reply, or put it to a file, so you can check it.
You could also edit the code to print the reply, or put it to a file, so you can check it.
The topic has been locked.