Warning (2): file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 [APP/Controller/UserController.php, line 37]
//send current location
$res = file_get_contents('https://ip-country.com/api/json/?ip=' . getRealIpAddr());
$cond = '`Countrytext`.`local` = 'eng''
file_get_contents - [internal], line ??
UserController::register() - APP/Controller/UserController.php, line 37
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 108
Warning (2): file_get_contents(https://ip-country.com/api/json/?ip=18.119.133.206) [<a href='http://php.net/function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: no suitable wrapper could be found [APP/Controller/UserController.php, line 37]
//send current location
$res = file_get_contents('https://ip-country.com/api/json/?ip=' . getRealIpAddr());
$cond = '`Countrytext`.`local` = 'eng''
file_get_contents - [internal], line ??
UserController::register() - APP/Controller/UserController.php, line 37
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 108