how to get a detailed error report

More
14 years 2 months ago - 14 years 2 months ago #1 by DINH
Hi,

(MoodleRO7 and Joomla 1.5.25)


From the interface of Joomdle I get the following error :

I installe

Service web Joomdle : CJ EMPTY RESPONSE FROM MOODLE

In the documentation on the official website Joomdle this error is handled at this address: http://www.joomdle.com/wiki/System_health_check as follows :

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).


But my problem is not the url that have been written correctly

I talked to my host who made me the following response:

"I think the way your plugin is not really suited to the situation given that your 2 application are on the same server.
To answer your question, there is a priori no problem to ask one of your sub domain from another.
Can you tell us what port you use to connect?
Can give us an error report more accurate than joomla?
"

I do not understand the meaning of the first question and I do not know how to respond.
I do not know how to get a more detailed error report.
Do you have any advice for me?

Ivan
Last edit: 14 years 2 months ago by DINH.

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

More
14 years 2 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: how to get a detailed error report
Usually that error means Joomla cannot connect to Moodle.

Re-check that you completed all Moodle pre-requisites. Also check there is no security measure in place that forbids the server from connecting to itself.
Port is always 80.

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

More
14 years 2 months ago #3 by DINH
Replied by DINH on topic Re: how to get a detailed error report
Thank you for your help,

Apparently I did not curl or openssl or tokenizer php extensions installed on my server.
I'm seeing this with technical support

My problem could come from here?


The other by I do not understand how:

In the administration of Moodle, to the location
Home > Site administration > Plugins > Plugins overview

The extension Joomdle has one eye closed and it is not possible to open it from this interface.

However, at the location :
Home > Site administration > Plugins > Authentication > Manage authentication
Joomdle have one eye open because I had the opportunity to activate it here

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

More
14 years 2 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: how to get a detailed error report
you don't get any other errors on system check?
file_get_contents or curl is required.

As for the joomdle plugin on moodle: that is fine, the second locations is where you are meant to manage auth plugins.

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

More
14 years 2 months ago #5 by DINH
Replied by DINH on topic Re: how to get a detailed error report
No I do not get any other errors on system check

how can I check that I get file_get_contents or curl.
In my php.ini? they are not

I tried both methods of connection by selecting each time the same method since the two administrations (joomla and moodle) I still have the same error.

To test the hypothesis of security preventing the server connecting to itself, and I install Moddle joomla on two different server. Again, I'm still the same error

Is it possible to have an error report more detailed than joomla?

Thank you for your help,

Ivan

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

More
14 years 2 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: how to get a detailed error report
Can you share the URL of your Moodle site?

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

More
14 years 2 months ago - 14 years 2 months ago #7 by DINH
Replied by DINH on topic Re: how to get a detailed error report
I send you this right away
Last edit: 14 years 2 months ago by DINH.

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

More
14 years 2 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic Re: how to get a detailed error report
I visited yoursite.com/webservice/xmlrpc/server.php and I got a blank page.
I should get this instead:
faultCode0faultString...

This usually means you have a custom PHP file in joomla/moodle folders, but not in webservice/xmlrpc. Copy the php.ini file there and you should be fine.

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

More
14 years 2 months ago #9 by DINH
Replied by DINH on topic Re: how to get a detailed error report
Hi Antonio

Thank you for your help!

I copied the php.ini file in my home/CONFIG folder in paste it in my home/www/moodle/webservice/xmlrpc/
Is this what you asked me to do?

I still have the same error.
I do not have custom php file
I do not have Joomla/moodle

My joomla is on my file home/www/joomla
My moodle folder is on my home/www/moodle

Sorry for not understanding

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

More
14 years 2 months ago #10 by Antonio Durán
Replied by Antonio Durán on topic Re: how to get a detailed error report
You should only copy php.ini file if you also have it in joomla folder.

If you don't have php.ini file in Joomla folder, there must be a different problem, but I can't think of anything else at the moment.

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