- Posts: 7847
R0.22 and earlier: No Longer Supported
[Solved] file_get_contents error
- agbandini
- Topic Author
- Visitor
-
15 years 6 months ago #11
by agbandini
Replied by agbandini on topic Re:file_get_contents error
Hi,
It was exactly what I did, but the problem is that on the login from the site I'am redirect to the moodle's login page...it not enter in moodle directly...
It was exactly what I did, but the problem is that on the login from the site I'am redirect to the moodle's login page...it not enter in moodle directly...

The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
15 years 6 months ago #12
by Antonio Durán
Replied by Antonio Durán on topic Re:file_get_contents error
Do you mean that when you log into Joomla you are automatically redirected to the Moodle login page?
The topic has been locked.
- agbandini
- Topic Author
- Visitor
-
15 years 6 months ago #13
by agbandini
Replied by agbandini on topic Re:file_get_contents error
yes exactly, this is the situation....
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7847
15 years 6 months ago #14
by Antonio Durán
Replied by Antonio Durán on topic Re:file_get_contents error
Really strange...
Firt: you look the courses in the module fine, right?
Second: do you have enabled and public, the xml-rpc plugin.
If that is all true, disable the joomdlehooks plugin and test.
Firt: you look the courses in the module fine, right?
Second: do you have enabled and public, the xml-rpc plugin.
If that is all true, disable the joomdlehooks plugin and test.
The topic has been locked.
- agbandini
- Topic Author
- Visitor
-
15 years 6 months ago - 15 years 6 months ago #15
by agbandini
Replied by agbandini on topic Re:file_get_contents error
Hi,
after the weekend break I returned to the problem :S
I have taken the test you gave me suggested and the result was the same:
independently from the state of the joomdlehooks plugin the behavior was the same...my joomla user do not enter in moodle, on the login I'm redirect to the moodle url but I don't enter in the course....
I also found that if in moodle is enabled the guest login I can enter from joomla only as guest and not as normal user....
after the weekend break I returned to the problem :S
I have taken the test you gave me suggested and the result was the same:
independently from the state of the joomdlehooks plugin the behavior was the same...my joomla user do not enter in moodle, on the login I'm redirect to the moodle url but I don't enter in the course....

I also found that if in moodle is enabled the guest login I can enter from joomla only as guest and not as normal user....
Last edit: 15 years 6 months ago by agbandini.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7847
15 years 6 months ago #16
by Antonio Durán
Replied by Antonio Durán on topic Re:file_get_contents error
Hi. I don't know what is causing you to be redirected to Moodle on Login, as is the joomdlehooks plugin who does this 
Just to be sure, disable all joomdle plugins and modules, and log in with an user. If you are being redirected to Moodle, it must be for other reason.

Just to be sure, disable all joomdle plugins and modules, and log in with an user. If you are being redirected to Moodle, it must be for other reason.
The topic has been locked.
- agbandini
- Topic Author
- Visitor
-
15 years 6 months ago #17
by agbandini
Replied by agbandini on topic Re:file_get_contents error
Hi
disabling all plugins I'm not redirect to moodle.
But for me the big broblem is the access on moodle.
I noticed that a user created in joomla is partially created (Not all moodle fields are filled) also in moodle but if these users can't access in moodle even manually this is a big problem.
What can I do?
disabling all plugins I'm not redirect to moodle.
But for me the big broblem is the access on moodle.
I noticed that a user created in joomla is partially created (Not all moodle fields are filled) also in moodle but if these users can't access in moodle even manually this is a big problem.
What can I do?
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7847
15 years 6 months ago #18
by Antonio Durán
Replied by Antonio Durán on topic Re:file_get_contents error
I don't know if I understand you. You can't access Moodle normally as admin from moodle's login page?
The topic has been locked.
- agbandini
- Topic Author
- Visitor
-
15 years 6 months ago #19
by agbandini
Replied by agbandini on topic Re:file_get_contents error
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7847
15 years 6 months ago #20
by Antonio Durán
Replied by Antonio Durán on topic Re:file_get_contents error
Ok. That looks as if you:
- Don't have the xmlrpc joomdle plugin enabled when creating the user
- or/and You don't have Joomla web services enabled
- or/and you don't have the moodle auth plugin enabled /configured with Joomla url
Enable those two, create a new user and see what happens.
Also, as I told you in another post, users created by Joomdle cannot access Moodle directly. They don't have a password there.
- Don't have the xmlrpc joomdle plugin enabled when creating the user
- or/and You don't have Joomla web services enabled
- or/and you don't have the moodle auth plugin enabled /configured with Joomla url
Enable those two, create a new user and see what happens.
Also, as I told you in another post, users created by Joomdle cannot access Moodle directly. They don't have a password there.
The topic has been locked.