Notice (8): Undefined index: Pdf [APP/Controller/PdfsController.php, line 13]Code Context 'conditions'=>array('id'=>"$_GET[id]")
));
$dstfile= WWW_ROOT.'img/pdf/'.$arr['Pdf']['pdf'];
$arr = array()
PdfsController::download() - APP/Controller/PdfsController.php, line 13
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 111
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/home/byu7545870001/htdocs/en/lib/Cake/Utility/Debugger.php:794) [APP/Controller/PdfsController.php, line 15]Code Context $dstfile= WWW_ROOT.'img/pdf/'.$arr['Pdf']['pdf'];
header('Content-type: application/pdf');
$arr = array()
$dstfile = '/usr/home/byu7545870001/htdocs/en/app/webroot/img/pdf/'
header - [internal], line ??
PdfsController::download() - APP/Controller/PdfsController.php, line 15
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 111
Notice (8): Undefined index: Pdf [APP/Controller/PdfsController.php, line 16]Code Context
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="'.$arr['Pdf']['pdf_name'].'"');
$arr = array()
$dstfile = '/usr/home/byu7545870001/htdocs/en/app/webroot/img/pdf/'
PdfsController::download() - APP/Controller/PdfsController.php, line 16
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 111
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/home/byu7545870001/htdocs/en/lib/Cake/Utility/Debugger.php:794) [APP/Controller/PdfsController.php, line 16]Code Context
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="'.$arr['Pdf']['pdf_name'].'"');
$arr = array()
$dstfile = '/usr/home/byu7545870001/htdocs/en/app/webroot/img/pdf/'
header - [internal], line ??
PdfsController::download() - APP/Controller/PdfsController.php, line 16
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 111