Notice (8): Undefined index: HTTP_REFERER [APP/controllers/downloads_controller.php, line 31]
Code |
Context$id = "12"
$this->redirect('/releases');
if (preg_match('|https?://[^/]*'.$_SERVER['SERVER_NAME'].'.*|', $_SERVER['HTTP_REFERER']) !== 1)
DownloadsController::doDownload() - APP/controllers/downloads_controller.php, line 31
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 90
Warning (2): Cannot modify header information - headers already sent by (output started at /homez.34/thethlaw/demyo/en/cake/basics.php:111) [CORE/cake/libs/controller/controller.php, line 640]
Code |
Context$status = "Location: http://www.demyo.org/en/downloads/view/12"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 640
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 621
DownloadsController::doDownload() - APP/controllers/downloads_controller.php, line 32
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 90