How To / General

JOOMDLE stopped working

  • Ahmad Arshad
  • Topic Author
  • Offline
  • Banned
  • Banned
More
6 years 8 months ago #1 by Ahmad Arshad
JOOMDLE stopped working was created by Ahmad Arshad
Hey Antonio,

I am using Joomla 3.9.12 with moodle 3.7.2 and latest joomdle.

It just stopped working yesterday and this is what I see

I am not sure how to troubleshoot this

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

  • Ahmad Arshad
  • Topic Author
  • Offline
  • Banned
  • Banned
More
6 years 8 months ago #2 by Ahmad Arshad
Replied by Ahmad Arshad on topic JOOMDLE stopped working
I have changed users in moodle to "manual" from "joomdle" so they can log in

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

More
6 years 8 months ago - 6 years 8 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic JOOMDLE stopped working
Hi.

If it stopped working, something must have changed. As basic connetction tests are failing, it could be:
- Something in Moodle changed (URL, moved to https...)
- Some change in server configuration: new security measures, DNS problems...

First thing is to open in the browser:
yoursite.com/moodle/auth/joomdle/connection_test.php

It should show OK.

Then, you can upload to your site root a file call testjoomdle.php with these contents:
Code:
<?php $a = file_get_contents ('http://yoursite.com/moodle/auth/joomdle/connection_test.php'); echo $a; ?>

Then, visit:
yousite.com/testjoomdle.php

You should see OK, although you probably won't. If you don't, you can talk to hosting support and point them to this script, so they can try to help.
Last edit: 6 years 8 months ago by Antonio Durán.

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

  • Ahmad Arshad
  • Topic Author
  • Offline
  • Banned
  • Banned
More
6 years 8 months ago #4 by Ahmad Arshad
Replied by Ahmad Arshad on topic JOOMDLE stopped working
Hey Antonio,

Now i see this.

No changes were done from my side... This is an intermittent error that I keep seeing where folks cant login and then it just fixes itself...

Both ways are showing OK now...

My moodle and joomla are on the same server sharing the same DB... What could cause this failure like this?

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

More
6 years 8 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic JOOMDLE stopped working
If the error is intermitent, only thing I can suggest is talk to hosting company and show them when it is working, and when it is not, to see if they can help. As you are not making any changes, it must be something changing in the server.

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

  • Ahmad Arshad
  • Topic Author
  • Offline
  • Banned
  • Banned
More
6 years 8 months ago #6 by Ahmad Arshad
Replied by Ahmad Arshad on topic JOOMDLE stopped working
Thanks Antonio... Can i give them more specifics? Like curl is not working etc?

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

More
6 years 8 months ago #7 by Antonio Durán
Replied by Antonio Durán on topic JOOMDLE stopped working
You can set up the script I sent you. When system check fails, script will too, so you can point support to it.

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