Frequent Disconnects btwn moodle and joomla

  • joshua arasa
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 7 months ago #1 by joshua arasa
Frequent Disconnects btwn moodle and joomla was created by joshua arasa
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.

More
14 years 7 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Frequent Disconnects btwn moodle and joomla
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.

  • joshua arasa
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 7 months ago #3 by joshua arasa
Replied by joshua arasa on topic Re: Frequent Disconnects btwn moodle and joomla
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.

More
14 years 7 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Frequent Disconnects btwn moodle and joomla
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.

More
14 years 7 months ago #5 by Chris
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.

  • joshua arasa
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 7 months ago #6 by joshua arasa
Replied by joshua arasa on topic Re: Frequent Disconnects btwn moodle and joomla
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.

  • joshua arasa
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 7 months ago #7 by joshua arasa
Replied by joshua arasa on topic Re: Frequent Disconnects btwn moodle and joomla
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.

More
14 years 7 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic Re: Frequent Disconnects btwn moodle and joomla
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.