R0.25 No Longer Supported

system check: Received empty response from Moodle

  • columbus
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 7 months ago #1 by columbus
Hello,

I am using Moodle4Mac MAMP distro with moodle v1.9. I added joomla 1.5 followed the joomdle integrations steps on your wiki for v0.25. I repeated them 4 times just to be sure I am not missing anything. I am not new to coding, but have never had to use xmlrpc. My problem is after I follow the steps outlined in the wiki, I see "Received empty response from Moodle" in the system check tab for joomdle.

The Joomla URL (http://localhost:8888/joomla) and Moodle URL (http://localhost:8888/moodle19) are properly configured. i am using file_get_contents and I verified that it works using " www.google.com " as suggested in one other thread. print_r ($file) does not print anything for $moodle_xmlrpc_server_url.

can you help point me in the right direction? I have only recently started playing with joomla and its extensions, but this one has proved to be the most tricky so far.

best
c

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

More
15 years 7 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: system check: Received empty response from Moodle
Hi.

First thing would be to know if XMLRPC is enabled, as for other threads I know usually it is not ditributed with xmlrpc enabled. Does the system check mark it as OK?

As I see you are working on localhost, I guess firewall issues are out of the way...usually is the cosue of empty response on shared hosting.

Open moodle/mnet/xmlrpc/server.pgp with the browser, and see what you get.

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

More
15 years 7 months ago #3 by Jesus Miguel
Tengo el mismo problema. Cuando ejecuto lo que dices me pone lo siguiente:
<?xml version="1.0" ?>
- <methodResponse>
- <fault>
- <value>
- <struct>
- <member>
<name>faultCode</name>
- <value>
<int>7021</int>
</value>
</member>
- <member>
<name>faultString</name>
- <value>
<string>The transport method you are trying to use is not permitted.</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>

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

More
15 years 7 months ago #4 by Jesus Miguel
El mismo problema, pero yo lo tengo en un servidor alojado, pero el mensaje es el mismo:
Servicios Web de Joomdle x Recibida respuesta vacía de Moodle
He revisado todo, y está todo como dice en los prerrequisitos, pero sigue sin funcionar. ¿Qué puede ser?

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

More
15 years 7 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Re: system check: Received empty response from Moodle
Estas trabajando en localhost o en un servidor?
Tambien estas usando MAMP?

El error que te da el navegador es normal si no has introducido tu ip en la lista de trusted hosts.

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

More
15 years 7 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: system check: Received empty response from Moodle
O sea,el system check te dice respuesta vacia no?

Si es asi lo mas normal es que sea algun tipo de restriccion impuesta por tu hosting, que impida conectar desde un host a si mismo usando curl o file_get_contents.

Deberias ponerte en contacto con ellos para averiguar si ese puede ser el problema.

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

More
15 years 7 months ago #7 by Jesus Miguel
No sé que es MAMP. Yo uso Joomla 1.5 y Moodle 1.9. Está en un servidor, no es localhost.
He puesto la IP publica, la de localhost, y nada.

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

More
15 years 7 months ago #8 by Jesus Miguel
Ok, gracias.

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