0
Welcome Guest! Login
0 items Join Now

php_network_getaddresses: getaddrinfo failed: Name or servic

    • Peter KORTGE's Avatar
    • Peter KORTGE
    • Hero Rocketeer
    • Posts: 359
    • Thanks: 3
    • Company Owner

    Re: php_network_getaddresses: getaddrinfo failed: Name or servic

    Posted 10 years 11 months ago
    • Hi Prim:

      Please don't mark as "Closed"

      Just upgraded the Acacia Template from v1.0 -> v1.2 on a Joomla! v3.2 website that has never had this problem and now get the dreaded message:-
      An error has occurred.
      0 fsockopen() [function.fsockopen]: unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: Name or service not known).

      However, this time around re-installing the template, gantry_joomla_framework-4.1.19 and rokupdatesclean-1.0.0 doesn't fix the problem :oops:

      Happy to PM SuperAdmin access if anyone wants to "poke around" ?
    • Great minds discuss ideas; Average minds discuss events; Small minds discuss people.
    • tbogard's Avatar
    • tbogard
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: php_network_getaddresses: getaddrinfo failed: Name or servic

    Posted 10 years 9 months ago
    • Here the same problem :

      php_network_getaddresses: getaddrinfo failed: Name or service not known

      Get it with oculus + Joomla 3.0... After update to 3.2 and update gantry I got this issue. Joomla is also being displayed as an Unknown Version, as well the extensions

      I NEED HELP NOW!!! THIS IS CRITICAL FOR A PROJECT FOR THE SUPERBOWL!!!

      www.optimalbowl.com
    • tbogard's Avatar
    • tbogard
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: php_network_getaddresses: getaddrinfo failed: Name or servic

    Posted 10 years 9 months ago
    • Update : tracking /libraries/joomla/http/transport/socket.php on line 251 I saw that the http var is sending an empty host:...

      tearing each variable of the fsockopen function i got this:
      Host: http, Port: 80, Error Number: 0, Error: php_network_getaddresses: getaddrinfo failed: Name or service not known, Timeout: 60

      finally, tracking down the problem starts in the line 211 of socket.php:

      $host = ($uri->isSSL()) ? 'ssl://' . $uri->getHost() : $uri->getHost();

      In short, $uri->getHost is returning just "http". In case I will add manually the hostname of the website as www.optimalbowl.com ...
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: php_network_getaddresses: getaddrinfo failed: Name or servic

    Posted 10 years 9 months ago

Time to create page: 0.058 seconds