Warning (2): fopen(C:\HostingSpaces\Parakram\cms.aceceramic.com\wwwroot\webroot\uploads\file\435187180_Demo.pdf): failed to open stream: No such file or directory [APP/Controller\PagesController.php, line 159]Code Context
if ($fd = fopen ($filePath, "r")) {
$fsize = filesize($filePath);
$id = '1412'
$ProductsTable = object(App\Model\Table\ProductsTable) {
'registryAlias' => 'Products',
'table' => 'products',
'alias' => 'Products',
'entityClass' => 'Cake\ORM\Entity',
'associations' => [],
'behaviors' => [
(int) 0 => 'Timestamp'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$product = object(Cake\ORM\Entity) {
'id' => (int) 1412,
'title' => '7065 LT',
'size' => (int) 15,
'by_size' => (int) 2,
'categorie' => (int) 6,
'application' => (int) 8,
'file' => '',
'series' => (int) 15,
'finish' => (int) 14,
'design' => '7065 LT',
'pcs_box' => '5',
'cover_aera' => '1 X 2 SQFT',
'thickness' => '8.5 MM',
'color_variation' => 'Brown',
'joint_free' => (int) 1,
'stain_resistant' => (int) 1,
'seratch_resistant' => (int) 1,
'chemical_resistant' => (int) 1,
'highly_durable' => (int) 1,
'anti_bacteria' => (int) 1,
'anti_skid' => (int) 1,
'image1' => '7065 LT.jpg',
'image2' => '',
'image3' => '',
'application_area' => '<p>1</p>
',
'tecnical_specification' => '<p>1</p>
',
'status' => (int) 1,
'sub_categorie' => (int) 2,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$filePath = 'C:\HostingSpaces\Parakram\cms.aceceramic.com\wwwroot\webroot\uploads\file\435187180_Demo.pdf'
$CategoriesTable = object(App\Model\Table\CategoriesTable) {
'registryAlias' => 'Categories',
'table' => 'categories',
'alias' => 'Categories',
'entityClass' => 'Cake\ORM\Entity',
'associations' => [
(int) 0 => 'subcategories'
],
'behaviors' => [
(int) 0 => 'Timestamp'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$Categorie = object(Cake\ORM\Entity) {
'id' => (int) 6,
'title' => 'BY APPLICATION',
'status' => (int) 1,
'created' => object(Cake\I18n\FrozenTime) {},
'file' => '435187180_Demo.pdf',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Categories'
}
fopen - [internal], line ??
App\Controller\PagesController::download() - APP/Controller\PagesController.php, line 159
Cake\Controller\Controller::invokeAction() - CORE\src\Controller\Controller.php, line 596
Cake\Http\ActionDispatcher::_invoke() - CORE\src\Http\ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE\src\Http\ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE\src\Http\BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE\src\Http\Middleware\CsrfProtectionMiddleware.php, line 103
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE\src\Routing\Middleware\RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE\src\Routing\Middleware\AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE\src\Error\Middleware\ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Http\Runner::run() - CORE\src\Http\Runner.php, line 51
Cake\Http\Server::run() - CORE\src\Http\Server.php, line 98
Warning (2): fclose() expects parameter 1 to be resource, boolean given [APP/Controller\PagesController.php, line 173]Code Context }
fclose ($fd);
ignore_user_abort(true);
$id = '1412'
$ProductsTable = object(App\Model\Table\ProductsTable) {
'registryAlias' => 'Products',
'table' => 'products',
'alias' => 'Products',
'entityClass' => 'Cake\ORM\Entity',
'associations' => [],
'behaviors' => [
(int) 0 => 'Timestamp'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$product = object(Cake\ORM\Entity) {
'id' => (int) 1412,
'title' => '7065 LT',
'size' => (int) 15,
'by_size' => (int) 2,
'categorie' => (int) 6,
'application' => (int) 8,
'file' => '',
'series' => (int) 15,
'finish' => (int) 14,
'design' => '7065 LT',
'pcs_box' => '5',
'cover_aera' => '1 X 2 SQFT',
'thickness' => '8.5 MM',
'color_variation' => 'Brown',
'joint_free' => (int) 1,
'stain_resistant' => (int) 1,
'seratch_resistant' => (int) 1,
'chemical_resistant' => (int) 1,
'highly_durable' => (int) 1,
'anti_bacteria' => (int) 1,
'anti_skid' => (int) 1,
'image1' => '7065 LT.jpg',
'image2' => '',
'image3' => '',
'application_area' => '<p>1</p>
',
'tecnical_specification' => '<p>1</p>
',
'status' => (int) 1,
'sub_categorie' => (int) 2,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$filePath = 'C:\HostingSpaces\Parakram\cms.aceceramic.com\wwwroot\webroot\uploads\file\435187180_Demo.pdf'
$CategoriesTable = object(App\Model\Table\CategoriesTable) {
'registryAlias' => 'Categories',
'table' => 'categories',
'alias' => 'Categories',
'entityClass' => 'Cake\ORM\Entity',
'associations' => [
(int) 0 => 'subcategories'
],
'behaviors' => [
(int) 0 => 'Timestamp'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$Categorie = object(Cake\ORM\Entity) {
'id' => (int) 6,
'title' => 'BY APPLICATION',
'status' => (int) 1,
'created' => object(Cake\I18n\FrozenTime) {},
'file' => '435187180_Demo.pdf',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Categories'
}
$fd = false
fclose - [internal], line ??
App\Controller\PagesController::download() - APP/Controller\PagesController.php, line 173
Cake\Controller\Controller::invokeAction() - CORE\src\Controller\Controller.php, line 596
Cake\Http\ActionDispatcher::_invoke() - CORE\src\Http\ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE\src\Http\ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE\src\Http\BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE\src\Http\Middleware\CsrfProtectionMiddleware.php, line 103
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE\src\Routing\Middleware\RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE\src\Routing\Middleware\AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE\src\Error\Middleware\ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Http\Runner::run() - CORE\src\Http\Runner.php, line 51
Cake\Http\Server::run() - CORE\src\Http\Server.php, line 98