Joomla can not resolve host name.

  • Bartek
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #1 by Bartek
Joomla can not resolve host name. was created by Bartek
I have a Joomla 1.7 and Moodle 2.0 running on the server. The URLs are configured properly, server is added as a safe XML RPC host, tokens are valid but when Joomdle is trying to connect to Moodle the exception is thrown.

Warning: file_get_contents(): Couldn't resolve host name in host/Joomla/administrator/components/com_joomdle/helpers/content.php on line 145

Warning: file_get_contents(host/moodle//webservice/xmlrpc/server.php?wstoken=dbc4a1d7d44f96f606227b05e31c5b9e&lang=en): failed to open stream: operation failed in host/Joomla/administrator/components/com_joomdle/helpers/content.php on line 145

Also when I tried to manually open the link a fault code was shown:

faultCode630faultStringUnable to read request

Can You please help me solve this? I think I have tried every solution that Google brought to me already ; )

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

More
12 years 10 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Joomla can not resolve host name.
As the error says, server cannot resolve hostname.
You can put an entry in the host file, or fix dns resolving in your server.

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