Warning: filesize(): stat failed for /home/dequatec/home/http/src/PointWeb/ProductBundle/Controller/../../../../web/upload/doc/7116aaebdaf12bfd023f4b954a50bff98d441535.pdf
500 Internal Server Error - ContextErrorException
Stack Trace
-
in src/PointWeb/ProductBundle/Controller/ProductController.php at line 330
public function download($file)
{
$basename = basename($file);
$length = filesize($file);
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . $basename . '"');
- at ErrorHandler ->handleError ('2', 'filesize(): stat failed for /home/dequatec/home/http/src/PointWeb/ProductBundle/Controller/../../../../web/upload/doc/7116aaebdaf12bfd023f4b954a50bff98d441535.pdf', '/home/dequatec/home/http/src/PointWeb/ProductBundle/Controller/ProductController.php', '330', array('file' => '/home/dequatec/home/http/src/PointWeb/ProductBundle/Controller/../../../../web/upload/doc/7116aaebdaf12bfd023f4b954a50bff98d441535.pdf', 'basename' => '7116aaebdaf12bfd023f4b954a50bff98d441535.pdf'))
-
at
filesize
('/home/dequatec/home/http/src/PointWeb/ProductBundle/Controller/../../../../web/upload/doc/7116aaebdaf12bfd023f4b954a50bff98d441535.pdf')
in src/PointWeb/ProductBundle/Controller/ProductController.php at line 330 -
at
ProductController
->download
('/home/dequatec/home/http/src/PointWeb/ProductBundle/Controller/../../../../web/upload/doc/7116aaebdaf12bfd023f4b954a50bff98d441535.pdf')
in src/PointWeb/ProductBundle/Controller/ProductController.php at line 307 - at ProductController ->downloadDocAction ('6')
-
at
call_user_func_array
(array(object(ProductController), 'downloadDocAction'), array('6'))
in app/bootstrap.php.cache at line 3054 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3016 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3165 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2406 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 28