MAMP - No J-M connection no M-J connection , empty response

More
12 years 9 months ago - 12 years 9 months ago #1 by Jose
Hi, I've been searching for a solution for:
  • Joomla to Moodle HTTP connectivity Joomla cannot connect to Moodle
  • Moodle to Joomla HTTP connectivity Moodle cannot connect to Joomla
  • Joomdle Web Services Received empty response from Moodle

I am using MAMP, I installed correctly XMLRPC, and the INTL library...
Im using R92 for joomla 2.5 with Moodle 2.5.1+ and Joomla! 2.5.11

I went trough the whole installation process as described on the documentation.

Does anyone have a clue of whats going wrong? I rechecked the whole installation documentation and cant get rid of the three errors, I even went trough the System Health info to check if I missed anything...

It seems its the Joomdle Web Services the issue, but how can I resolve it?

The other thing that I think could be is the joomla connector user in moodle, the documentation does not go in to detail about the creation of this user... But then again, I added the service of Joomdle, with all its functions... the token everything...
Last edit: 12 years 9 months ago by Jose.

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

More
12 years 9 months ago #2 by Jose
I figured out that I was using port 8888, and changed to port 80, now I only have:
  • Joomdle Web Services Received empty response from Moodle

Any Idea why might this be?

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

More
12 years 9 months ago #3 by Chris
Joomla is not able to get a response from Moodle. Most likely the Moodle path is not configured correctly refer to the System Health check

www.joomdle.com/wiki/System_health_check...response_from_Moodle

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

More
12 years 9 months ago #4 by Jose
Hi Chris,

I already went there, it says:

Received empty response from Moodle
Usually this caused by a misconfigured Moodle URL in Joomdle component. Double check that it is correct and that it includes http:// in front. If you are sure everything is correct, consider that it may be a connection issue (firewall, etc).

My Moodle URL in Joomdle component is set as: http://localhost/joomla
My Joomla URL in Joomdle configuration is set as: http://localhost/joomla/moodle

So then as it says in www.joomdle.com/wiki/System_health_check...response_from_Moodle

If you are sure everything is correct, consider that it may be a connection issue (firewall, etc)

So I checked for firewall, but I really don't know what etc is :D

I checked my php.ini and httpd.config for any mod_security or anything related to firewall and did not find anything.

I also turned off my Mac's firewall to see if anything changed but the problem is still there.

Any idea?

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

More
12 years 9 months ago #5 by Antonio Durán
I remember reading about some people having problems with Joomdle on MAMP, but I think they were xmlrpc related issues, and yours seems like a connection issue, as the 2 first checks don't use xmlrpc and are failing. Maybe it is a DNS problem, try adding it to hosts file.

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

More
12 years 8 months ago #6 by Jose
Ok, XMLRPC I could manage to install it.

Right now, I have installed, reinstalled, joomla/moodle/joomdle numerous times trying to get things right.

I still have the same issue Joomdle Web Services Received empty response from Moodle

But, if I write the IP correctly which should be "::1", I get a white screen. Seems to me the empty response if because of the incorrectly typed IP, and then I write down the correct IP, might be getting a response but its messing with something else. Any idea what could get me a full white screen on System Health Check?

Last installation was Joomla 3.1.1.1 and Moodle 2.5.1+ and Joodle R92...

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

More
12 years 8 months ago #7 by Antonio Durán
White screen is usually caused by a php error. Look at your logs.

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