Notice (8): Undefined index: HTTP_REFERER [CORE/app/controllers/users_controller.php, line 298]
Context |
Code$this = userscontroller object
$lang = "rus"
function changeLang($lang='rus') {
$_SESSION['Config']['language'] = $lang;
header('Location: '.$_SERVER['HTTP_REFERER']);
exit;
changelang - [internal], line ??
userscontroller::changelang() - CORE/app/controllers/users_controller.php, line 298
dispatcher::_invoke() - CORE/cake/dispatcher.php, line 353
dispatcher::dispatch() - CORE/cake/dispatcher.php, line 333
[main] - CORE/app/webroot/index.php, line 83
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/autoplan.com.ua/httpdocs/info/cake/basics.php:747) [CORE/app/controllers/users_controller.php, line 298]
Context |
Code$this = userscontroller object
$lang = "rus"
function changeLang($lang='rus') {
$_SESSION['Config']['language'] = $lang;
header('Location: '.$_SERVER['HTTP_REFERER']);
exit;
header - [internal], line ??
userscontroller::changelang() - CORE/app/controllers/users_controller.php, line 298
dispatcher::_invoke() - CORE/cake/dispatcher.php, line 353
dispatcher::dispatch() - CORE/cake/dispatcher.php, line 333
[main] - CORE/app/webroot/index.php, line 83