Symfony Exception

NotLoadableException NotFoundHttpException

HTTP 404 Not Found

Source image could not be found

Exceptions 2

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1.                 } catch (NotLoadableException $e) {
  2.                     if ($defaultImageUrl $this->dataManager->getDefaultImageUrl($filter)) {
  3.                         return new RedirectResponse($defaultImageUrl);
  4.                     }
  5.                     throw new NotFoundHttpException('Source image could not be found'$e);
  6.                 }
  7.                 $this->cacheManager->store(
  8.                     $this->filterManager->applyFilter($binary$filter),
  9.                     $path,
ImagineController->filterAction(object(Request), 'data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.', 'blog_thumb') in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in web/app.php (line 22)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Liip\ImagineBundle\Exception\Binary\Loader\ NotLoadableException

Source image not resolvable "data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d." in root path(s) "/var/www/firtka_new/web"

  1.         if (false !== $absolute $this->locateUsingRootPathsSearch($path)) {
  2.             return $this->sanitizeAbsolutePath($absolute);
  3.         }
  4.         throw new NotLoadableException(sprintf('Source image not resolvable "%s" in root path(s) "%s"',
  5.             $pathimplode(':'$this->roots)));
  6.     }
  7.     /**
  8.      * @param string $path
FileSystemLocator->locate('data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.') in vendor/liip/imagine-bundle/Binary/Loader/FileSystemLoader.php (line 94)
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function find($path)
  5.     {
  6.         $path $this->locator->locate($path);
  7.         $mime $this->mimeTypeGuesser->guess($path);
  8.         return new FileBinary($path$mime$this->extensionGuesser->guess($mime));
  9.     }
  10. }
FileSystemLoader->find('data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.') in vendor/liip/imagine-bundle/Imagine/Data/DataManager.php (line 125)
  1.      */
  2.     public function find($filter$path)
  3.     {
  4.         $loader $this->getLoader($filter);
  5.         $binary $loader->find($path);
  6.         if (!$binary instanceof BinaryInterface) {
  7.             $mimeType $this->mimeTypeGuesser->guess($binary);
  8.             $binary = new Binary(
  9.                 $binary,
DataManager->find('blog_thumb', 'data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.') in vendor/liip/imagine-bundle/Controller/ImagineController.php (line 104)
  1.         $resolver $request->get('resolver');
  2.         try {
  3.             if (!$this->cacheManager->isStored($path$filter$resolver)) {
  4.                 try {
  5.                     $binary $this->dataManager->find($filter$path);
  6.                 } catch (NotLoadableException $e) {
  7.                     if ($defaultImageUrl $this->dataManager->getDefaultImageUrl($filter)) {
  8.                         return new RedirectResponse($defaultImageUrl);
  9.                     }
ImagineController->filterAction(object(Request), 'data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.', 'blog_thumb') in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in web/app.php (line 22)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

No log messages

Stack Traces 2

[2/2] NotFoundHttpException

Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Source image could not be found

  at vendor/liip/imagine-bundle/Controller/ImagineController.php:110
  at Liip\ImagineBundle\Controller\ImagineController->filterAction(object(Request), 'data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.', 'blog_thumb')
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/app.php:22)

                                

[1/2] NotLoadableException

Liip\ImagineBundle\Exception\Binary\Loader\NotLoadableException:
Source image not resolvable "data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d." in root path(s) "/var/www/firtka_new/web"

  at vendor/liip/imagine-bundle/Binary/Locator/FileSystemLocator.php:75
  at Liip\ImagineBundle\Binary\Locator\FileSystemLocator->locate('data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.')
     (vendor/liip/imagine-bundle/Binary/Loader/FileSystemLoader.php:94)
  at Liip\ImagineBundle\Binary\Loader\FileSystemLoader->find('data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.')
     (vendor/liip/imagine-bundle/Imagine/Data/DataManager.php:125)
  at Liip\ImagineBundle\Imagine\Data\DataManager->find('blog_thumb', 'data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.')
     (vendor/liip/imagine-bundle/Controller/ImagineController.php:104)
  at Liip\ImagineBundle\Controller\ImagineController->filterAction(object(Request), 'data/blog/232494/5d40a46c7044161dcd182d89aaa7ad8d.', 'blog_thumb')
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/app.php:22)