Notice (8): Undefined index: Download [APP/Controller/DownloadsController.php, line 182]Code Context
if (is_array($download)) {
$ext = '.' . pathinfo($download['Download']['filename'], PATHINFO_EXTENSION); // substr($download['Download']['type'], -3) == 'zip' ? '.zip' : '.pdf';
$id = '539aba7f-c480-438d-8d52-3589bc281da7'
$download = array()
DownloadsController::display() - APP/Controller/DownloadsController.php, line 182
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined index: Download [APP/Controller/DownloadsController.php, line 183]Code Context if (is_array($download)) {
$ext = '.' . pathinfo($download['Download']['filename'], PATHINFO_EXTENSION); // substr($download['Download']['type'], -3) == 'zip' ? '.zip' : '.pdf';
$file = APP . 'webroot' . $download['Download']['path'];
$id = '539aba7f-c480-438d-8d52-3589bc281da7'
$download = array()
$ext = '.'
DownloadsController::display() - APP/Controller/DownloadsController.php, line 183
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined index: Download [APP/Controller/DownloadsController.php, line 184]Code Context $ext = '.' . pathinfo($download['Download']['filename'], PATHINFO_EXTENSION); // substr($download['Download']['type'], -3) == 'zip' ? '.zip' : '.pdf';
$file = APP . 'webroot' . $download['Download']['path'];
$name = $download['Download']['title'] . $ext;
$id = '539aba7f-c480-438d-8d52-3589bc281da7'
$download = array()
$ext = '.'
$file = '/usr/www/users/spechtk/website/app/webroot'
DownloadsController::display() - APP/Controller/DownloadsController.php, line 184
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/www/users/spechtk/website/lib/Cake/Utility/Debugger.php:806) [APP/Controller/DownloadsController.php, line 187]Code Context
// header("Content-Type: ".$download['Download']['type']);
header("Content-Type: application/force-download");
$id = '539aba7f-c480-438d-8d52-3589bc281da7'
$download = array()
$ext = '.'
$file = '/usr/www/users/spechtk/website/app/webroot'
$name = '.'
header - [internal], line ??
DownloadsController::display() - APP/Controller/DownloadsController.php, line 187
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/www/users/spechtk/website/lib/Cake/Utility/Debugger.php:806) [APP/Controller/DownloadsController.php, line 188]Code Context // header("Content-Type: ".$download['Download']['type']);
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=\"" . $name . "\"");
$id = '539aba7f-c480-438d-8d52-3589bc281da7'
$download = array()
$ext = '.'
$file = '/usr/www/users/spechtk/website/app/webroot'
$name = '.'
header - [internal], line ??
DownloadsController::display() - APP/Controller/DownloadsController.php, line 188
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109