^ Symfony\Component\Filesystem\Exception\FileNotFoundException {#754
#message: "File /data/remote/core/filesystem/pdf//17171/375973003.pdf could not be found."
#code: 0
#file: "/data/web/fileserver.core.ac.uk/project/src/FilesBundle/Utils/ServeFile.php"
#line: 32
-path: null
trace: {
/data/web/fileserver.core.ac.uk/project/src/FilesBundle/Utils/ServeFile.php:32 {
FilesBundle\Utils\ServeFile->sendFile($attachment = false) …
› if (!file_exists($this->path)) {
› throw new \Symfony\Component\Filesystem\Exception\FileNotFoundException("File " . $this->path . " could not be found.");
› }
}
/data/web/fileserver.core.ac.uk/project/src/FilesBundle/Controller/FullTextController.php:110 {
FilesBundle\Controller\FullTextController->sendFile(Request $request, $path, $attachment = false) …
› $serveFile = new \FilesBundle\Utils\ServeFile($request, $path);
› return $serveFile->sendFile($attachment);
› }
}
/data/web/fileserver.core.ac.uk/project/src/FilesBundle/Controller/FullTextController.php:84 {
FilesBundle\Controller\FullTextController->downloadFullTextAction(Request $request, $docId, $ext) …
› /* @var $request BinaryFileResponse */
› $response = $this->sendFile($request, $articleDownloadData['finalPath'], $attachment);
› \t // set the cannonical link
}
/data/web/fileserver.core.ac.uk/project/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:169 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/data/web/fileserver.core.ac.uk/project/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:81 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/data/web/fileserver.core.ac.uk/project/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:201 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/data/web/fileserver.core.ac.uk/project/web/app.php:33 {
›
› $response = $kernel->handle($request);
› $response->send();
}
}
}