- Posts: 2
[Solved] Empty response from Moodle
- mark`
- Topic Author
- Offline
- New Member
-
Less
More
14 years 11 months ago - 14 years 10 months ago #1
by mark`
[Solved] Empty response from Moodle was created by mark`
Hi Guys,
I am having a problem with Joomdle web services not validating. I have read through the forums and found that there appears to be a big in the auth.php file which i have altered as instructed but am now getting this error.
- Empty response from Moodle
Looked at xmlrpc/idex.php file and got this error
<?xml version="1.0" ?>
- <methodResponse>
- <fault>
- <value>
- <struct>
- <member>
<name>faultCode</name>
- <value>
<int>103</int>
</value>
</member>
- <member>
<name>faultString</name>
- <value>
<string>XML error: no element found at line 1, column 0</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>
Can you direct me as to what is wrong?
Other than this very straight forward install. Thnaks in advance for the help and the great product. It already works with Tienda.
Have attached modified auth.php file so you can check I have altered it correctly
I am having a problem with Joomdle web services not validating. I have read through the forums and found that there appears to be a big in the auth.php file which i have altered as instructed but am now getting this error.
- Empty response from Moodle
Looked at xmlrpc/idex.php file and got this error
<?xml version="1.0" ?>
- <methodResponse>
- <fault>
- <value>
- <struct>
- <member>
<name>faultCode</name>
- <value>
<int>103</int>
</value>
</member>
- <member>
<name>faultString</name>
- <value>
<string>XML error: no element found at line 1, column 0</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>
Can you direct me as to what is wrong?
Other than this very straight forward install. Thnaks in advance for the help and the great product. It already works with Tienda.
Have attached modified auth.php file so you can check I have altered it correctly
Last edit: 14 years 10 months ago by Chris.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 11 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Empty response from Moodle
Hi.
I don't know what change to auth.php you are talking about (maybe the one to curl funciton?)
Anyway, that is not your problem, as for the system check.
Also, the xmlrpc/idex.php output is fine, it is supposed to give error when fetched like that.
So, if you get empty response from moodle, the problem is that joomla cannot connect to moodle.
Maybe you have a firewall or any other security measure that is blocking connections...
What do you mean that it already works with Tienda?
I don't know what change to auth.php you are talking about (maybe the one to curl funciton?)
Anyway, that is not your problem, as for the system check.
Also, the xmlrpc/idex.php output is fine, it is supposed to give error when fetched like that.
So, if you get empty response from moodle, the problem is that joomla cannot connect to moodle.
Maybe you have a firewall or any other security measure that is blocking connections...
What do you mean that it already works with Tienda?
Please Log in or Create an account to join the conversation.
- mark`
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
14 years 11 months ago #3
by mark`
Replied by mark` on topic Re: Empty response from Moodle
Hi Antonio
The change to the auth.php was the curl change detailed in other listing on forum. Is it OK to leave this or should i return it to original?
I can list products in Moodle and these appear in Tienda and continue through to checkout. Wanted to give some positive feedback as Joomdle appears such a great bit of software.
I have Moodle in seperate directory on same domain as joomla so can't see how there could be a security issue but will have a look again now.
Thanks for clearing up the php error, I will update shortly.
The change to the auth.php was the curl change detailed in other listing on forum. Is it OK to leave this or should i return it to original?
I can list products in Moodle and these appear in Tienda and continue through to checkout. Wanted to give some positive feedback as Joomdle appears such a great bit of software.
I have Moodle in seperate directory on same domain as joomla so can't see how there could be a security issue but will have a look again now.
Thanks for clearing up the php error, I will update shortly.
Please Log in or Create an account to join the conversation.
- Wolfgang Gary
- Offline
- New Member
-
Less
More
- Posts: 3
14 years 11 months ago #4
by Wolfgang Gary
Replied by Wolfgang Gary on topic Re: Empty response from Moodle
I have the same issue - empty response from moodle. I havnt found anything configured wrong.
my joomla url is test.mysite.at
my moodle url is test.mysite.at/moodle
Any tip how to fix this issue?
br Wolfgang
my joomla url is test.mysite.at
my moodle url is test.mysite.at/moodle
Any tip how to fix this issue?
br Wolfgang
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 11 months ago #5
by Antonio Durán
Replied by Antonio Durán on topic Re: Empty response from Moodle
Hi.
Only thing I can think of is a connection issue: maybe your server is denying connections from/to itself.
If this were the case, I guess you would need to contact your hosting provider.
Also, check that you no have any security measures that may cause the problem, such as http auth on.
Only thing I can think of is a connection issue: maybe your server is denying connections from/to itself.
If this were the case, I guess you would need to contact your hosting provider.
Also, check that you no have any security measures that may cause the problem, such as http auth on.
Please Log in or Create an account to join the conversation.
- Wolfgang Gary
- Offline
- New Member
-
Less
More
- Posts: 3
14 years 11 months ago #6
by Wolfgang Gary
Replied by Wolfgang Gary on topic Re: Empty response from Moodle
Thanks - i will investigate some more time..
br Wolfgang
br Wolfgang
Please Log in or Create an account to join the conversation.
- Wolfgang Gary
- Offline
- New Member
-
Less
More
- Posts: 3
14 years 11 months ago #7
by Wolfgang Gary
Replied by Wolfgang Gary on topic Re: Empty response from Moodle
Sorry..
Configuration was wrong. I have selected Moodle 1.9 but the installed version is 2.0.
Now the system check is working. I will start testing the integration.
br Wolfgang
Configuration was wrong. I have selected Moodle 1.9 but the installed version is 2.0.
Now the system check is working. I will start testing the integration.
br Wolfgang
Please Log in or Create an account to join the conversation.