How To / General

Can't connect to Joomla

  • robato
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #1 by robato
Can't connect to Joomla was created by robato
Hi,
I have used Joomdle for some time and now I've installed a firewall (sitelock) on my website and now Joomla and moodle has lost connection.

System health check says:
Joomla cannot connect to Moodle
Moodle cannot connect to Joomla
Received empty response from Moodle

The provider of the firewall says that Joomla and Moodle are trying to establish a connection on a port that isn't allowed by the firewall. Does Joomdle use any ports?

Any other ideas what could cause this problem?

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

  • robato
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #2 by robato
Replied by robato on topic Can't connect to Joomla
When I run this test
You may also want to visit: http::/yoursite.com/index.php?option=com_joomdle&task=ws.server&format=xmlrpc
I get the following message:
XML-RPC Error (1): Invalid token:

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

More
7 years 1 month ago #3 by Antonio Durán
Replied by Antonio Durán on topic Can't connect to Joomla
Joomdle uses HTTP/HTTPS ports, nothing else.

I have never used SiteLock, so I cannot give you much info.
Looking at the system check erros you have, it seems firewall is forbidding connections from server to itself.

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

  • robato
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #4 by robato
Replied by robato on topic Can't connect to Joomla
Test

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

  • robato
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #5 by robato
Replied by robato on topic Can't connect to Joomla
Thanks for your reply,

According to the provider of Sitelock the firewall doesn't affect internal traffic.

I tried to update the plugin in Moodle and it produced the following error message, does it matter in this issue?

File Attachment:

File Name: Debuginfo.docx
File Size:16 KB
Attachments:

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

More
7 years 1 month ago #6 by Antonio Durán
Replied by Antonio Durán on topic Can't connect to Joomla
> According to the provider of Sitelock the firewall doesn't affect internal traffic.

Disable it, and then go to system check to be sure it is the firewall causing the issues.


As for the error: which version did you have and which version are you trying to install?
Anyway, this error is not related to system check problem.

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

  • robato
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #7 by robato
Replied by robato on topic Can't connect to Joomla
I had version 1.0.8 and I'm trying to install 1.2.3.

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

More
7 years 4 weeks ago #8 by Antonio Durán
Replied by Antonio Durán on topic Can't connect to Joomla
It's weird that these keys are already in the database...
You can try executing this SQL in moodle database before upgrading:
Code:
delete mdl_config_plugins WHERE plugin='auth/joomdle';

You may need to enter Joomdle config in Moodle again after upgrade, because of previous SQL.

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

  • robato
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #9 by robato
Replied by robato on topic Can't connect to Joomla
Hi,
I excecuted that command and got this error:

Error

Statistical analysis:

2 errors found during analysis.

Unexpected keyword. (near "WHERE" at position 27)
Okänd uttryckstyp. (near "WHERE" at position 27)

SQL-query:

delete mdl_config_plugins WHERE plugin='auth/joomdle'

MySQL said: Documentation
#1064 - You have an error close to 'WHERE plugin='auth/joomdle'' på rad 1

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

More
7 years 4 weeks ago #10 by Antonio Durán
Replied by Antonio Durán on topic Can't connect to Joomla
Sorry, SQL was wrong. Put "FROM" between delete and mdl_config_plugins.

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