Source image could not be found
404 Not Found - NotFoundHttpException
1 linked Exception:
- NotLoadableException »
[2/2] NotFoundHttpException: Source image could not be found
-
in vendor/liip/imagine-bundle/Liip/ImagineBundle/Controller/ImagineController.php at line 79
return new RedirectResponse($defaultImageUrl);
}
throw new NotFoundHttpException('Source image could not be found', $e);
}
$this->cacheManager->store(
- at ImagineController ->filterAction (object(Request), '5ebd4295f1c45.JPG', 'store_picture_file_full')
-
at
call_user_func_array
(array(object(ImagineController), 'filterAction'), array(object(Request), '5ebd4295f1c45.JPG', 'store_picture_file_full'))
in app/bootstrap.php.cache at line 3054$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3016public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
$this->finishRequest($request, $type);
-
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3165$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2406if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in web/app.php at line 166// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
[1/2] NotLoadableException: Source image gaufrette://store/5ebd4295f1c45.JPG not found.
-
in vendor/liip/imagine-bundle/Liip/ImagineBundle/Binary/Loader/StreamLoader.php at line 55
* file_exists() is not used as not all wrappers support stat() to actually check for existing resources.
*/
if (($this->context && !$resource = @fopen($name, 'r', null, $this->context)) || !$resource = @fopen($name, 'r')) {
throw new NotLoadableException(sprintf('Source image %s not found.', $name));
}
// Closing the opened stream to avoid locking of the resource to find.
-
at
StreamLoader
->find
('5ebd4295f1c45.JPG')
in vendor/liip/imagine-bundle/Liip/ImagineBundle/Imagine/Data/DataManager.php at line 118{
$loader = $this->getLoader($filter);
$binary = $loader->find($path);
if (!$binary instanceof BinaryInterface) {
$mimeType = $this->mimeTypeGuesser->guess($binary);
-
at
DataManager
->find
('store_picture_file_full', '5ebd4295f1c45.JPG')
in vendor/liip/imagine-bundle/Liip/ImagineBundle/Controller/ImagineController.php at line 73try {
if (!$this->cacheManager->isStored($path, $filter)) {
try {
$binary = $this->dataManager->find($filter, $path);
} catch (NotLoadableException $e) {
if ($defaultImageUrl = $this->dataManager->getDefaultImageUrl($filter)) {
return new RedirectResponse($defaultImageUrl);
- at ImagineController ->filterAction (object(Request), '5ebd4295f1c45.JPG', 'store_picture_file_full')
-
at
call_user_func_array
(array(object(ImagineController), 'filterAction'), array(object(Request), '5ebd4295f1c45.JPG', 'store_picture_file_full'))
in app/bootstrap.php.cache at line 3054$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3016public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
$this->finishRequest($request, $type);
-
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3165$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2406if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in web/app.php at line 166// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Stack Trace (Plain Text)
[1] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: Source image could not be found at n/a in /webdocs/shoppings-almeida/vendor/liip/imagine-bundle/Liip/ImagineBundle/Controller/ImagineController.php line 79 at Liip\ImagineBundle\Controller\ImagineController->filterAction(object(Request), '5ebd4295f1c45.JPG', 'store_picture_file_full') in line at call_user_func_array(array(object(ImagineController), 'filterAction'), array(object(Request), '5ebd4295f1c45.JPG', 'store_picture_file_full')) in /webdocs/shoppings-almeida/app/bootstrap.php.cache line 3054 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /webdocs/shoppings-almeida/app/bootstrap.php.cache line 3016 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /webdocs/shoppings-almeida/app/bootstrap.php.cache line 3165 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /webdocs/shoppings-almeida/app/bootstrap.php.cache line 2406 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /webdocs/shoppings-almeida/web/app.php line 166 [2] Liip\ImagineBundle\Exception\Binary\Loader\NotLoadableException: Source image gaufrette://store/5ebd4295f1c45.JPG not found. at n/a in /webdocs/shoppings-almeida/vendor/liip/imagine-bundle/Liip/ImagineBundle/Binary/Loader/StreamLoader.php line 55 at Liip\ImagineBundle\Binary\Loader\StreamLoader->find('5ebd4295f1c45.JPG') in /webdocs/shoppings-almeida/vendor/liip/imagine-bundle/Liip/ImagineBundle/Imagine/Data/DataManager.php line 118 at Liip\ImagineBundle\Imagine\Data\DataManager->find('store_picture_file_full', '5ebd4295f1c45.JPG') in /webdocs/shoppings-almeida/vendor/liip/imagine-bundle/Liip/ImagineBundle/Controller/ImagineController.php line 73 at Liip\ImagineBundle\Controller\ImagineController->filterAction(object(Request), '5ebd4295f1c45.JPG', 'store_picture_file_full') in line at call_user_func_array(array(object(ImagineController), 'filterAction'), array(object(Request), '5ebd4295f1c45.JPG', 'store_picture_file_full')) in /webdocs/shoppings-almeida/app/bootstrap.php.cache line 3054 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /webdocs/shoppings-almeida/app/bootstrap.php.cache line 3016 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /webdocs/shoppings-almeida/app/bootstrap.php.cache line 3165 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /webdocs/shoppings-almeida/app/bootstrap.php.cache line 2406 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /webdocs/shoppings-almeida/web/app.php line 166