Warning (2): Missing argument 1 for LocationsController::country_select() [APP/Controller/LocationsController.php, line 206]Code Context }
function country_select($country_id){
LocationsController::country_select() - APP/Controller/LocationsController.php, line 206
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined variable: country_id [APP/Controller/LocationsController.php, line 218]Code Context //exit();
}
if ($this->country_id != $country_id){
LocationsController::country_select() - APP/Controller/LocationsController.php, line 218
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined variable: country_id [APP/Controller/LocationsController.php, line 219]Code Context }
if ($this->country_id != $country_id){
$country=$this->Country->findById($country_id);
LocationsController::country_select() - APP/Controller/LocationsController.php, line 219
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined index: Country [APP/Controller/LocationsController.php, line 220]Code Context if ($this->country_id != $country_id){
$country=$this->Country->findById($country_id);
$region=$country['Country']['region'];
$country = array()
LocationsController::country_select() - APP/Controller/LocationsController.php, line 220
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined index: Country [APP/Controller/LocationsController.php, line 221]Code Context $country=$this->Country->findById($country_id);
$region=$country['Country']['region'];
$country_name=$country['Country']['name'];
$country = array()
$region = null
LocationsController::country_select() - APP/Controller/LocationsController.php, line 221
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined variable: country_id [APP/Controller/LocationsController.php, line 225]Code Context //debug($locale);
$locale['region']=$region;
$locale['country_id']=$country_id;
$country = array()
$region = null
$country_name = null
$locale = array(
'unit' => '£',
'sign' => '£',
'currency' => 'GBP',
'exchange_rate' => '1',
'region' => null,
'country_id' => 'GB',
'country_name' => 'United Kingdom',
'countries' => (int) 2,
'languages' => (int) 1,
'currencies' => (int) 8,
'language' => 'eng',
'language_abb' => 'en',
'language_name' => 'English',
'version' => '1.0'
)
LocationsController::country_select() - APP/Controller/LocationsController.php, line 225
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Warning (2): Cannot modify header information - headers already sent by (output started at /home/sites/londonsole.com/htdocs/lib/Cake/Utility/Debugger.php:800) [CORE/Cake/Network/CakeResponse.php, line 449]Code Context $name, $c['value'], $c['expire'], $c['path'],
$c['domain'], $c['secure'], $c['httpOnly']
);
$name = 'CakeCookie[locale]'
$c = array(
'name' => 'CakeCookie[locale]',
'value' => '{"unit":"£","sign":"£","currency":"GBP","exchange_rate":"1","region":null,"country_id":null,"country_name":null,"countries":2,"languages":1,"currencies":8,"language":"eng","language_abb":"en","language_name":"English","version":"1.0"}',
'expire' => (int) 3767511550,
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false
)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 794
LocationsController::country_select() - APP/Controller/LocationsController.php, line 240
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92