Warning (2): Cannot modify header information - headers already sent by (output started at /home/hfrpgschoolandco/public_html/app/Config/bootstrap.php:60) [APP/Controller/CoCurricularActivitiesController.php, line 37]Code Context $fileName = $downloadfile['CoCurricularActivity']['attach_file'];
//debug($path); exit;
header('Content-Description: File Transfer');
$id = '9'
$file_id = '9'
$downloadfile = array(
'CoCurricularActivity' => array(
'id' => '9',
'title' => 'কর্নার',
'description' => '<p> </p>
',
'attach_file' => 'files/news/1707423233_5865.doc',
'isactive' => '1',
'posted_date' => '',
'created' => '2024-02-08',
'modified' => '2024-02-08',
'order' => '0'
)
)
$path = null
$fileName = 'files/news/1707423233_5865.doc'
header - [internal], line ??
CoCurricularActivitiesController::download() - APP/Controller/CoCurricularActivitiesController.php, line 37
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/CoCurricularActivitiesController.php, line 38]Code Context //debug($path); exit;
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
$id = '9'
$file_id = '9'
$downloadfile = array(
'CoCurricularActivity' => array(
'id' => '9',
'title' => 'কর্নার',
'description' => '<p> </p>
',
'attach_file' => 'files/news/1707423233_5865.doc',
'isactive' => '1',
'posted_date' => '',
'created' => '2024-02-08',
'modified' => '2024-02-08',
'order' => '0'
)
)
$path = null
$fileName = 'files/news/1707423233_5865.doc'
header - [internal], line ??
CoCurricularActivitiesController::download() - APP/Controller/CoCurricularActivitiesController.php, line 38
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/CoCurricularActivitiesController.php, line 39]Code Context header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($fileName));
$id = '9'
$file_id = '9'
$downloadfile = array(
'CoCurricularActivity' => array(
'id' => '9',
'title' => 'কর্নার',
'description' => '<p> </p>
',
'attach_file' => 'files/news/1707423233_5865.doc',
'isactive' => '1',
'posted_date' => '',
'created' => '2024-02-08',
'modified' => '2024-02-08',
'order' => '0'
)
)
$path = null
$fileName = 'files/news/1707423233_5865.doc'
header - [internal], line ??
CoCurricularActivitiesController::download() - APP/Controller/CoCurricularActivitiesController.php, line 39
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/CoCurricularActivitiesController.php, line 40]Code Context header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($fileName));
header('Content-Transfer-Encoding: binary');
$id = '9'
$file_id = '9'
$downloadfile = array(
'CoCurricularActivity' => array(
'id' => '9',
'title' => 'কর্নার',
'description' => '<p> </p>
',
'attach_file' => 'files/news/1707423233_5865.doc',
'isactive' => '1',
'posted_date' => '',
'created' => '2024-02-08',
'modified' => '2024-02-08',
'order' => '0'
)
)
$path = null
$fileName = 'files/news/1707423233_5865.doc'
header - [internal], line ??
CoCurricularActivitiesController::download() - APP/Controller/CoCurricularActivitiesController.php, line 40
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/CoCurricularActivitiesController.php, line 41]Code Context header('Content-Disposition: attachment; filename='.basename($fileName));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
$id = '9'
$file_id = '9'
$downloadfile = array(
'CoCurricularActivity' => array(
'id' => '9',
'title' => 'কর্নার',
'description' => '<p> </p>
',
'attach_file' => 'files/news/1707423233_5865.doc',
'isactive' => '1',
'posted_date' => '',
'created' => '2024-02-08',
'modified' => '2024-02-08',
'order' => '0'
)
)
$path = null
$fileName = 'files/news/1707423233_5865.doc'
header - [internal], line ??
CoCurricularActivitiesController::download() - APP/Controller/CoCurricularActivitiesController.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/CoCurricularActivitiesController.php, line 42]Code Context header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate');
$id = '9'
$file_id = '9'
$downloadfile = array(
'CoCurricularActivity' => array(
'id' => '9',
'title' => 'কর্নার',
'description' => '<p> </p>
',
'attach_file' => 'files/news/1707423233_5865.doc',
'isactive' => '1',
'posted_date' => '',
'created' => '2024-02-08',
'modified' => '2024-02-08',
'order' => '0'
)
)
$path = null
$fileName = 'files/news/1707423233_5865.doc'
header - [internal], line ??
CoCurricularActivitiesController::download() - APP/Controller/CoCurricularActivitiesController.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/CoCurricularActivitiesController.php, line 43]Code Context header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
$id = '9'
$file_id = '9'
$downloadfile = array(
'CoCurricularActivity' => array(
'id' => '9',
'title' => 'কর্নার',
'description' => '<p> </p>
',
'attach_file' => 'files/news/1707423233_5865.doc',
'isactive' => '1',
'posted_date' => '',
'created' => '2024-02-08',
'modified' => '2024-02-08',
'order' => '0'
)
)
$path = null
$fileName = 'files/news/1707423233_5865.doc'
header - [internal], line ??
CoCurricularActivitiesController::download() - APP/Controller/CoCurricularActivitiesController.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/CoCurricularActivitiesController.php, line 44]Code Context header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($path.$fileName));
$id = '9'
$file_id = '9'
$downloadfile = array(
'CoCurricularActivity' => array(
'id' => '9',
'title' => 'কর্নার',
'description' => '<p> </p>
',
'attach_file' => 'files/news/1707423233_5865.doc',
'isactive' => '1',
'posted_date' => '',
'created' => '2024-02-08',
'modified' => '2024-02-08',
'order' => '0'
)
)
$path = null
$fileName = 'files/news/1707423233_5865.doc'
header - [internal], line ??
CoCurricularActivitiesController::download() - APP/Controller/CoCurricularActivitiesController.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