Warning (2): filesize(): stat failed for files/downloadfile/1543502042_3669.pdf [APP/Controller/DownloadsController.php, line 52]Code Context header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($path.$fileName));
$id = '11'
$file_id = '11'
$downloadfile = array(
'Download' => array(
'id' => '11',
'content_type' => '4',
'examtype' => '0',
'title' => '2nd Year Exam form back Side',
'downloadfile' => 'files/downloadfile/1543502042_3669.pdf',
'order' => '4',
'created' => '2018-11-29 14:34:02',
'modified' => '2018-11-29 14:35:14',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1543502042_3669.pdf'
filesize - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 52
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110
Warning (2): Cannot modify header information - headers already sent by (output started at /home2/traumawomensmats/public_html/lib/Cake/Utility/Debugger.php:804) [APP/Controller/DownloadsController.php, line 52]Code Context header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($path.$fileName));
$id = '11'
$file_id = '11'
$downloadfile = array(
'Download' => array(
'id' => '11',
'content_type' => '4',
'examtype' => '0',
'title' => '2nd Year Exam form back Side',
'downloadfile' => 'files/downloadfile/1543502042_3669.pdf',
'order' => '4',
'created' => '2018-11-29 14:34:02',
'modified' => '2018-11-29 14:35:14',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1543502042_3669.pdf'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 52
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110
Warning (2): readfile(files/downloadfile/1543502042_3669.pdf) [function.readfile]: failed to open stream: No such file or directory [APP/Controller/DownloadsController.php, line 55]Code Context //ob_clean();
flush();
readfile($path.$fileName);
$id = '11'
$file_id = '11'
$downloadfile = array(
'Download' => array(
'id' => '11',
'content_type' => '4',
'examtype' => '0',
'title' => '2nd Year Exam form back Side',
'downloadfile' => 'files/downloadfile/1543502042_3669.pdf',
'order' => '4',
'created' => '2018-11-29 14:34:02',
'modified' => '2018-11-29 14:35:14',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1543502042_3669.pdf'
readfile - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 55
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110