Warning (2): Cannot modify header information - headers already sent by (output started at /home/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/DownloadsController.php, line 41]Code Context $path = Configure::read("files"."/"."downloadfile/");
$fileName = $downloadfile['Download']['downloadfile'];
header('Content-Description: File Transfer');
$id = '3'
$file_id = '3'
$downloadfile = array(
'Download' => array(
'id' => '3',
'content_type' => '5',
'title' => 'প্রতিষ্ঠানের ছুটিদিন সমূহে',
'downloadfile' => 'files/downloadfile/1432497119_5608.jpg',
'order' => '0',
'created' => '2015-05-24 19:51:59',
'modified' => '2015-05-24 19:51:59',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1432497119_5608.jpg'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 41
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/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/DownloadsController.php, line 42]Code Context $fileName = $downloadfile['Download']['downloadfile'];
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
$id = '3'
$file_id = '3'
$downloadfile = array(
'Download' => array(
'id' => '3',
'content_type' => '5',
'title' => 'প্রতিষ্ঠানের ছুটিদিন সমূহে',
'downloadfile' => 'files/downloadfile/1432497119_5608.jpg',
'order' => '0',
'created' => '2015-05-24 19:51:59',
'modified' => '2015-05-24 19:51:59',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1432497119_5608.jpg'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 42
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/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/DownloadsController.php, line 43]Code Context header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($fileName));
$id = '3'
$file_id = '3'
$downloadfile = array(
'Download' => array(
'id' => '3',
'content_type' => '5',
'title' => 'প্রতিষ্ঠানের ছুটিদিন সমূহে',
'downloadfile' => 'files/downloadfile/1432497119_5608.jpg',
'order' => '0',
'created' => '2015-05-24 19:51:59',
'modified' => '2015-05-24 19:51:59',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1432497119_5608.jpg'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 43
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/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/DownloadsController.php, line 44]Code Context header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($fileName));
header('Content-Transfer-Encoding: binary');
$id = '3'
$file_id = '3'
$downloadfile = array(
'Download' => array(
'id' => '3',
'content_type' => '5',
'title' => 'প্রতিষ্ঠানের ছুটিদিন সমূহে',
'downloadfile' => 'files/downloadfile/1432497119_5608.jpg',
'order' => '0',
'created' => '2015-05-24 19:51:59',
'modified' => '2015-05-24 19:51:59',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1432497119_5608.jpg'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 44
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/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/DownloadsController.php, line 45]Code Context header('Content-Disposition: attachment; filename='.basename($fileName));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
$id = '3'
$file_id = '3'
$downloadfile = array(
'Download' => array(
'id' => '3',
'content_type' => '5',
'title' => 'প্রতিষ্ঠানের ছুটিদিন সমূহে',
'downloadfile' => 'files/downloadfile/1432497119_5608.jpg',
'order' => '0',
'created' => '2015-05-24 19:51:59',
'modified' => '2015-05-24 19:51:59',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1432497119_5608.jpg'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 45
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/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/DownloadsController.php, line 46]Code Context header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate');
$id = '3'
$file_id = '3'
$downloadfile = array(
'Download' => array(
'id' => '3',
'content_type' => '5',
'title' => 'প্রতিষ্ঠানের ছুটিদিন সমূহে',
'downloadfile' => 'files/downloadfile/1432497119_5608.jpg',
'order' => '0',
'created' => '2015-05-24 19:51:59',
'modified' => '2015-05-24 19:51:59',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1432497119_5608.jpg'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 46
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/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/DownloadsController.php, line 47]Code Context header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
$id = '3'
$file_id = '3'
$downloadfile = array(
'Download' => array(
'id' => '3',
'content_type' => '5',
'title' => 'প্রতিষ্ঠানের ছুটিদিন সমূহে',
'downloadfile' => 'files/downloadfile/1432497119_5608.jpg',
'order' => '0',
'created' => '2015-05-24 19:51:59',
'modified' => '2015-05-24 19:51:59',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1432497119_5608.jpg'
header - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 47
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/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/DownloadsController.php, line 48]Code Context header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($path.$fileName));
$id = '3'
$file_id = '3'
$downloadfile = array(
'Download' => array(
'id' => '3',
'content_type' => '5',
'title' => 'প্রতিষ্ঠানের ছুটিদিন সমূহে',
'downloadfile' => 'files/downloadfile/1432497119_5608.jpg',
'order' => '0',
'created' => '2015-05-24 19:51:59',
'modified' => '2015-05-24 19:51:59',
'isactive' => '1'
)
)
$path = null
$fileName = 'files/downloadfile/1432497119_5608.jpg'
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