Error 404 Not Found

GET https://twinjet.cftravel.net/media/109/Procedura_Rimborso_Biglietto.pdf

Exceptions

NotFoundHttpException

Not Found

HTTP 404 Not Found

Stack Trace

*
* throw $this->createNotFoundException('Page not found!');
*/
protected function createNotFoundException(string $message = 'Not Found', ?\Throwable $previous = null): NotFoundHttpException
{
return new NotFoundHttpException($message, $previous);
}
/**
* Returns an AccessDeniedException.
*
AbstractController->createNotFoundException() in src/Media/Controller/MediaFileController.php (line 33)
// Une seule URL par fichier : un nom différent redirige vers le nom actuel.
if ($filename !== $media->getOriginalFilename()) {
return $this->redirectToRoute('media_file', ['id' => $media->getId(), 'filename' => $media->getOriginalFilename()], Response::HTTP_MOVED_PERMANENTLY);
}
if (!$storage->fileExists($media->getStorageKey())) {
throw $this->createNotFoundException();
}
$response = new StreamedResponse(static function () use ($storage, $media): void {
$stream = $storage->readStream($media->getStorageKey());
fpassthru($stream);
MediaFileController->__invoke() in vendor/symfony/http-kernel/HttpKernel.php (line 200)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
HttpKernel->handleRaw() in vendor/symfony/http-kernel/HttpKernel.php (line 80)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
$response = null;
try {
return $response = $this->handleRaw($request, $type, $controllerMetadata);
} catch (\Throwable $e) {
if ($e instanceof \Error && !$this->handleAllThrowables) {
throw $e;
}
HttpKernel->handle() in vendor/symfony/http-kernel/Kernel.php (line 156)
if (!$this->handlingHttpCache) {
$this->resetServices = true;
}
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
) {
}
public function run(): int
{
$response = $this->kernel->handle($this->request);
$response->send(false);
if (\function_exists('fastcgi_finish_request') && !$this->debug) {
fastcgi_finish_request();
HttpKernelRunner->run() in vendor/autoload_runtime.php (line 32)
$app = $app(...$args);
exit(
$runtime
->getRunner($app)
->run()
);
require_once('/mnt/disk/www/twinjet/vendor/autoload_runtime.php') in public/index.php (line 5)
<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return static function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};