Warning (2): filesize(): stat failed for files/downloadfile/1481638655_4135.docx [APP/Controller/DownloadsController.php, line 48]Code Context header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($path.$fileName));
$id = '5'
$file_id = '5'
$downloadfile = array(
'Download' => array(
'id' => '5',
'content_type' => '1',
'title' => 'পরিক্ষার নোটিশ ',
'downloadfile' => 'files/downloadfile/1481638655_4135.docx',
'order' => '0',
'created' => '2016-12-13 20:17:35',
'modified' => '2016-12-14 21:51:26',
'isactive' => '0'
)
)
$path = null
$fileName = 'files/downloadfile/1481638655_4135.docx'
filesize - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 48
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 /home/khaacgov/public_html/lib/Cake/Utility/Debugger.php:804) [APP/Controller/DownloadsController.php, line 48]Code Context header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($path.$fileName));
$id = '5'
$file_id = '5'
$downloadfile = array(
'Download' => array(
'id' => '5',
'content_type' => '1',
'title' => 'পরিক্ষার নোটিশ ',
'downloadfile' => 'files/downloadfile/1481638655_4135.docx',
'order' => '0',
'created' => '2016-12-13 20:17:35',
'modified' => '2016-12-14 21:51:26',
'isactive' => '0'
)
)
$path = null
$fileName = 'files/downloadfile/1481638655_4135.docx'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 48
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/1481638655_4135.docx) [function.readfile]: failed to open stream: No such file or directory [APP/Controller/DownloadsController.php, line 51]Code Context //ob_clean();
flush();
readfile($path.$fileName);
$id = '5'
$file_id = '5'
$downloadfile = array(
'Download' => array(
'id' => '5',
'content_type' => '1',
'title' => 'পরিক্ষার নোটিশ ',
'downloadfile' => 'files/downloadfile/1481638655_4135.docx',
'order' => '0',
'created' => '2016-12-13 20:17:35',
'modified' => '2016-12-14 21:51:26',
'isactive' => '0'
)
)
$path = null
$fileName = 'files/downloadfile/1481638655_4135.docx'
readfile - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 51
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