Answer the question
In order to leave comments, you need to log in
What is the "Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed" error?
When I try to log in via VK, the following error is displayed /
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /var/www/html/app/controllers/AuthController.php on line 16
Warning: file_get_contents(http://ulogin.ru/token.php?token=ТУТ ТОКЕН&host=МОЙ САЙТ): failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /var/www/html/app/controllers/AuthController.php on line 16
Exception: Syntax error, unexpected token LIMIT, near to ' :APL0:', when parsing: SELECT [Users].* FROM [Users] WHERE uid = LIMIT :APL0: (55)
$request = file_get_contents('http://ulogin.ru/token.php?token=' . $_POST['token'] . '&host=' . $_SERVER['HTTP_HOST']);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question