Frequent Disconnects btwn moodle and joomla

12 years 6 months ago
joshua arasa
Posts: 4
More
Topic Author
Frequent Disconnects btwn moodle and joomla #1
Nice work on joomdle app,

am running joomla 1.5, joomdle 0.6, moodle 2.0 and i keep getting inconsistency in pulling courses from moodle to appear in joomla.
(e.g) upon login (mod_joomdle_courses, mod_joomdle_my_courses & joomdle shop)the courses dont appear but after refreshing the page they display and after another refresh they disappear not in any particular order.

what could be causing the disconnect.

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

12 years 6 months ago
Antonio Durán
Posts: 7717
More
Frequent Disconnects btwn moodle and joomla #2
Hi.

I never heard of problems like the one you describe: usually it works, or it doesn't.

Are you getting all green in joomdle system check?

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

12 years 6 months ago
joshua arasa
Posts: 4
More
Topic Author
Frequent Disconnects btwn moodle and joomla #3
Hi,
they are all green apart from
Joomdle Web Services which is green and turns red after refreshing as well and back to red after another refresh.

i did the installation on wamp and it works well but on my host it gives me the mentioned errors

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

12 years 6 months ago
Antonio Durán
Posts: 7717
More
Frequent Disconnects btwn moodle and joomla #4
There you have it then: it seems your server is using a different IP address for each connection, or something like that, as one time it works and the other it does not.

Which error do you get when is red?

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

12 years 6 months ago
Chris
Posts: 2118
More
Frequent Disconnects btwn moodle and joomla #5
The other thing to consider is that some hosts using dynamic IP addresses. When it is green check your cpanel for the IP when it is red check it again.

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

12 years 6 months ago
joshua arasa
Posts: 4
More
Topic Author
Frequent Disconnects btwn moodle and joomla #6
my bad,
forgot to mention
PHP reporting error is enabled,
"E_DEPRECATED errors are enabled in your PHP configuration"

i contacted my host to disable it, then will respond the out come after that.
many thanks

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

12 years 6 months ago
joshua arasa
Posts: 4
More
Topic Author
Frequent Disconnects btwn moodle and joomla #7
edited the php.ini host file and .htaccess and managed to disable the E_DEPRECATED error and the connection become stable.

then when i click on a course enroll button, i receive this errors: cant figure what it means

1."XML-RPC Error (0): Coding error detected, it must be fixed by a programmer: invalid enroll instance!"

2. when opening moodle link using wrapper it appears briefly on joomla with course details and then vanishes. when i try a new window it takes me the moodle subdomain.

any take on this

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

12 years 6 months ago
Antonio Durán
Posts: 7717
More
Frequent Disconnects btwn moodle and joomla #8
1: it seems you disabled manual enrolment for that course?

2: try diabling auto-height: that does not work on subdomains due to javascript security restrictions.

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