Warning (2): file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 [APP/Controller/SurveysController.php, line 551]Code Context $userip = $_SERVER['REMOTE_ADDR'] ;
$this->request->data['survey_users']['ip'] = $userip ;
$details = json_decode(file_get_contents("http://api.ipstack.com/".$userip."?access_key=276f6f55adb15d887c44fb367d09ed20&format=1") );
$arg1 = '66'
$arg2 = 'election-2019-survey'
$respid = '4667393306622b32b68bc95.52484602'
$md5c = 'e056fcf4a9a4ed06590f1edd0fb9307f'
$userip = '3.129.209.84'
file_get_contents - [internal], line ??
SurveysController::skip_user() - APP/Controller/SurveysController.php, line 551
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
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(http://api.ipstack.com/3.129.209.84?access_key=276f6f55adb15d887c44fb367d09ed20&format=1) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found [APP/Controller/SurveysController.php, line 551]Code Context $userip = $_SERVER['REMOTE_ADDR'] ;
$this->request->data['survey_users']['ip'] = $userip ;
$details = json_decode(file_get_contents("http://api.ipstack.com/".$userip."?access_key=276f6f55adb15d887c44fb367d09ed20&format=1") );
$arg1 = '66'
$arg2 = 'election-2019-survey'
$respid = '4667393306622b32b68bc95.52484602'
$md5c = 'e056fcf4a9a4ed06590f1edd0fb9307f'
$userip = '3.129.209.84'
file_get_contents - [internal], line ??
SurveysController::skip_user() - APP/Controller/SurveysController.php, line 551
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
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
Notice (8): Trying to get property of non-object [APP/Controller/SurveysController.php, line 552]Code Context $this->request->data['survey_users']['ip'] = $userip ;
$details = json_decode(file_get_contents("http://api.ipstack.com/".$userip."?access_key=276f6f55adb15d887c44fb367d09ed20&format=1") );
$this->request->data['survey_users']['country'] = $details->country_name;
$arg1 = '66'
$arg2 = 'election-2019-survey'
$respid = '4667393306622b32b68bc95.52484602'
$md5c = 'e056fcf4a9a4ed06590f1edd0fb9307f'
$userip = '3.129.209.84'
$details = null
SurveysController::skip_user() - APP/Controller/SurveysController.php, line 552
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
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
Notice (8): Trying to get property of non-object [APP/Controller/SurveysController.php, line 553]Code Context $details = json_decode(file_get_contents("http://api.ipstack.com/".$userip."?access_key=276f6f55adb15d887c44fb367d09ed20&format=1") );
$this->request->data['survey_users']['country'] = $details->country_name;
$this->request->data['survey_users']['city'] = $details->city;
$arg1 = '66'
$arg2 = 'election-2019-survey'
$respid = '4667393306622b32b68bc95.52484602'
$md5c = 'e056fcf4a9a4ed06590f1edd0fb9307f'
$userip = '3.129.209.84'
$details = null
SurveysController::skip_user() - APP/Controller/SurveysController.php, line 553
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
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
Notice (8): Trying to get property of non-object [APP/Controller/SurveysController.php, line 554]Code Context $this->request->data['survey_users']['country'] = $details->country_name;
$this->request->data['survey_users']['city'] = $details->city;
$this->request->data['survey_users']['state'] = $details->region_name;
$arg1 = '66'
$arg2 = 'election-2019-survey'
$respid = '4667393306622b32b68bc95.52484602'
$md5c = 'e056fcf4a9a4ed06590f1edd0fb9307f'
$userip = '3.129.209.84'
$details = null
SurveysController::skip_user() - APP/Controller/SurveysController.php, line 554
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
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): Cannot modify header information - headers already sent by (output started at /home/votevoice/public_html/app/Controller/SurveysController.php:1) [CORE/Cake/Network/CakeResponse.php, line 449]Code Context $name, $c['value'], $c['expire'], $c['path'],
$c['domain'], $c['secure'], $c['httpOnly']
);
$name = 'CakeCookie[resp_id]'
$c = array(
'name' => 'CakeCookie[resp_id]',
'value' => 'Q2FrZQ==.U55YRr9hg2Lquhe5jPqMvqK/bnNIzjKSYdDV6Fe1hVA=',
'expire' => (int) 0,
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true
)
setcookie - [internal], line ??
CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 449
CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 419
Controller::redirect() - CORE/Cake/Controller/Controller.php, line 795
SurveysController::skip_user() - APP/Controller/SurveysController.php, line 560
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
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