При попытке авторизоваться через ВК, выводится такая ошибка/
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)
Строка 16
$request = file_get_contents('http://ulogin.ru/token.php?token=' . $_POST['token'] . '&host=' . $_SERVER['HTTP_HOST']);