Warning (2): filesize(): stat failed for files/downloadfile/1563358817_5998.docx [APP/Controller/DownloadsController.php, line 52]Code Context header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($path.$fileName));
$id = '17'
$file_id = '17'
$downloadfile = array(
'Download' => array(
'id' => '17',
'content_type' => '21',
'examtype' => '0',
'title' => '১ম বর্ষ সম্পূর্ণ সিলেবাস',
'downloadfile' => 'files/downloadfile/1563358817_5998.docx',
'order' => '0',
'created' => '2019-07-17 10:20:17',
'modified' => '2019-07-17 10:20:17',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1563358817_5998.docx'
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 = '17'
$file_id = '17'
$downloadfile = array(
'Download' => array(
'id' => '17',
'content_type' => '21',
'examtype' => '0',
'title' => '১ম বর্ষ সম্পূর্ণ সিলেবাস',
'downloadfile' => 'files/downloadfile/1563358817_5998.docx',
'order' => '0',
'created' => '2019-07-17 10:20:17',
'modified' => '2019-07-17 10:20:17',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1563358817_5998.docx'
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/1563358817_5998.docx) [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 = '17'
$file_id = '17'
$downloadfile = array(
'Download' => array(
'id' => '17',
'content_type' => '21',
'examtype' => '0',
'title' => '১ম বর্ষ সম্পূর্ণ সিলেবাস',
'downloadfile' => 'files/downloadfile/1563358817_5998.docx',
'order' => '0',
'created' => '2019-07-17 10:20:17',
'modified' => '2019-07-17 10:20:17',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1563358817_5998.docx'
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