The Old "Received empty response from Moodle" Problem

  • John Burke
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 weeks ago #1 by John Burke
My version of Joomdle is 0.91 and the Version of Moodle is 2012120303.03
I cannot connect to Moodle. I continue to get the message "Received empty response from Moodle" when I do the system test. I have carefully rechecked the installation instructions for preparation and installation forJoomdle into Joomla and Moodle and also the Sustem Health Check list. I have checked the url using the config file. All the required php functions are enabled.
The moodle Url in the Joomdle configuration is moodle.liberatingwebsites.com.au/moodle
The Joomla website url in the Joomdle plugin for Moodle is ' liberatingwebsites.com.au/ '
The connection method is cURL in both cases.
I have disabled the RSS Firewall.
All the other items on the System check are green.
I am open to suggestions.
Thanks
John B

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

More
13 years 2 weeks ago #2 by Chris
Hi John

That message basically means that Joomla cannot connect with Moodle. There could be many reasons for this, but most of the time the reason is either url or network. I cannot comment on the network, however, on your url you may wish to try without moodle. at the beginning at this is a different domain than liberatingwebsites.com.au, so try libertaingwebsites.com.au/moodle/ (with and without the forward slash). If it is not the url, it is likely to be a network related issue.

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

  • John Burke
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 1 week ago #3 by John Burke
Still no luck. Here is a log of everything I have done recently trying to resolve this:

1. Changed .htaccess to htaccess1.txt JWS F
Joomdle Pre-requisites
2. xmlrpc installed Y
Preparing Moodle 2 for Joomdle
3. Enable web services Y
4. Enable protocols: XMLRPC Y
5. Create a specific user Joomdle Connector joomdleconnector@liberatingwebsites.com.au
6. Check permissions - Permissions for user Joomdle Connector - use XML-RPC Protocol - Yes
7. Define new role - Context system Yes
8. Define new role - Use XML-RPC protocol Allow Y
9. Define new role - View discussions Allow Y
10.Assign the user to the new role - Role: Joomdle Connection User with Role: Joomde Connector
11. Create a new service - External Service - Joomdle - Enable & Authorised Users Only - Y
12. Add functions to service - All Joomdle prefix functions oomdle_user_id to joomdle_multiple_remove_cohort_member
13. Add user as authorized user for the service - Y
14. Create token - User: Joomdle Connector Service: Joomdle
15. Allow frame embedding for wrapper - HTTP security - Y
Installing Joomdle in Moodle 2
16. Install Joomdle - auth_joomdle.zip uploaded and authenicated
17. Configuring Joomdle for Moodle - Manage Authentication - Joomdle enabled
18. "Settings link" and enter your Joomla! server's domain name URL - liberatingwebsites.com.au
19. curl slected as option
20. Site administration - notifications
21. JomSocial Activities Y
22. Jom Social Groups: Y
23. Auto enrol parents: Y
24: Role ID of parent role: 8
25. Sync users to Joomla: Y
26. Joomla default language: Blank
27. Delete Jomsocial groups: Yes
28. Auto-sell courses: Yes
29. Lock user fields - all set to Unlocked if empty
30. access to Moodle to registered users only: Force users to login Y
nstalling Joomdle in Joomla
31. Moodle URL: liberatingwebsites.com.au/moodle
32. Use redirectless SSO No
33. Global Configuration: Use URL rewriting No
Other
34. XML-RPC Trusted Hosts: Test Address 69.90.163.170 - The IP address 69.90.163.170 represents a valid trusted host.+ It is validated by the

network: 69.90.163.170/24
35. Disable any Joomla security extensions you may have installed: Uninstalled RS Firewall
36. Entered liberatingwebsites.com.au/index.php?option=com_joomdle&task=ws.server&format=xmlrpc in Chrome Browser - simply went to website - no error

message.
37.Joomla - uninstalled Joomdle reinstalled - fresh download
38. Moodle URL: liberatingwebsites.com.au/moodle (+ with / on end) plus token still Joomdle Web Services - Received empty response from Moodle
39. Did test with <?php
echo file_get_contents (' liberatingwebsites.com.au/moodle_folder ');
?>
Hostpapa support replied:
"We do not have any such restrictions.
Accessing liberatingwebsites.com.au/Test_new.php is getting moodle page with the example code that was provided. So moodle should be working with the Joomla page.
Also, xmlrpc is installed on our server."
I am open to further suggestions
John B

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

More
13 years 1 week ago #4 by Antonio Durán
Replied by Antonio Durán on topic The Old "Received empty response from Moodle" Problem
This gives the wrong error, indicating some problem in web services configuration:

liberatingwebsites.com.au/moodle/webservice/xmlrpc/server.php

Also:

> 36. Entered liberatingwebsites.com.au/index.php?opti...server&format=xmlrpc in Chrome Browser - simply went to website - no error

That is also an error. You should get a page showing a error.

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