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/Controller/ImagineController.php at line 110
return new RedirectResponse($defaultImageUrl);
}
throw new NotFoundHttpException('Source image could not be found', $e);
}
$this->cacheManager->store(
- at ImagineController ->filterAction (object(Request), 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg', 'photo_macle')
-
at
call_user_func_array
(array(object(ImagineController), 'filterAction'), array(object(Request), 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg', 'photo_macle'))
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), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 487}
// always a "master" request (as the real master request can be in cache)
$response = $this->kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch);
// FIXME: we probably need to also catch exceptions if raw === true
// we don't implement the stale-if-error on Requests, which is nonetheless part of the RFC
-
at
HttpCache
->forward
(object(Request), true, null)
in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60$this->getKernel()->getContainer()->set('cache', $this);
$this->getKernel()->getContainer()->set($this->getSurrogate()->getName(), $this->getSurrogate());
return parent::forward($request, $raw, $entry);
}
/**
-
at
HttpCache
->forward
(object(Request), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 444$subRequest->headers->remove('if_modified_since');
$subRequest->headers->remove('if_none_match');
$response = $this->forward($subRequest, $catch);
if ($response->isCacheable()) {
$this->store($request, $response);
-
at
HttpCache
->fetch
(object(Request), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 344if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
-
at
HttpCache
->lookup
(object(Request), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 210} elseif ($request->headers->has('expect')) {
$response = $this->pass($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
-
at
HttpCache
->handle
(object(Request))
in web/app.php at line 29$kernel->loadClassCache();
$kernel = new AppCache($kernel);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
[1/2] NotLoadableException: Source image not resolvable "uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg" in root path(s) "/home/web2desi/public_html/mspublic/web:/home/web2desi/public_html/mspublic/web/uploadmacle/photo"
-
in vendor/liip/imagine-bundle/Binary/Locator/FileSystemLocator.php at line 75
return $this->sanitizeAbsolutePath($absolute);
}
throw new NotLoadableException(sprintf('Source image not resolvable "%s" in root path(s) "%s"',
$path, implode(':', $this->roots)));
}
-
at
FileSystemLocator
->locate
('uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg')
in vendor/liip/imagine-bundle/Binary/Loader/FileSystemLoader.php at line 94*/
public function find($path)
{
$path = $this->locator->locate($path);
$mime = $this->mimeTypeGuesser->guess($path);
return new FileBinary($path, $mime, $this->extensionGuesser->guess($mime));
-
at
FileSystemLoader
->find
('uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg')
in vendor/liip/imagine-bundle/Imagine/Data/DataManager.php at line 125{
$loader = $this->getLoader($filter);
$binary = $loader->find($path);
if (!$binary instanceof BinaryInterface) {
$mimeType = $this->mimeTypeGuesser->guess($binary);
-
at
DataManager
->find
('photo_macle', 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg')
in vendor/liip/imagine-bundle/Controller/ImagineController.php at line 104try {
if (!$this->cacheManager->isStored($path, $filter, $resolver)) {
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), 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg', 'photo_macle')
-
at
call_user_func_array
(array(object(ImagineController), 'filterAction'), array(object(Request), 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg', 'photo_macle'))
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), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 487}
// always a "master" request (as the real master request can be in cache)
$response = $this->kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch);
// FIXME: we probably need to also catch exceptions if raw === true
// we don't implement the stale-if-error on Requests, which is nonetheless part of the RFC
-
at
HttpCache
->forward
(object(Request), true, null)
in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60$this->getKernel()->getContainer()->set('cache', $this);
$this->getKernel()->getContainer()->set($this->getSurrogate()->getName(), $this->getSurrogate());
return parent::forward($request, $raw, $entry);
}
/**
-
at
HttpCache
->forward
(object(Request), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 444$subRequest->headers->remove('if_modified_since');
$subRequest->headers->remove('if_none_match');
$response = $this->forward($subRequest, $catch);
if ($response->isCacheable()) {
$this->store($request, $response);
-
at
HttpCache
->fetch
(object(Request), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 344if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
-
at
HttpCache
->lookup
(object(Request), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 210} elseif ($request->headers->has('expect')) {
$response = $this->pass($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
-
at
HttpCache
->handle
(object(Request))
in web/app.php at line 29$kernel->loadClassCache();
$kernel = new AppCache($kernel);
$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 /home/web2desi/public_html/mspublic/vendor/liip/imagine-bundle/Controller/ImagineController.php line 110 at Liip\ImagineBundle\Controller\ImagineController->filterAction(object(Request), 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg', 'photo_macle') in line at call_user_func_array(array(object(ImagineController), 'filterAction'), array(object(Request), 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg', 'photo_macle')) in /home/web2desi/public_html/mspublic/app/bootstrap.php.cache line 3054 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /home/web2desi/public_html/mspublic/app/bootstrap.php.cache line 3016 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /home/web2desi/public_html/mspublic/app/bootstrap.php.cache line 3165 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /home/web2desi/public_html/mspublic/app/bootstrap.php.cache line 2406 at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 487 at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(object(Request), true, null) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php line 60 at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward(object(Request), true) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 444 at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(object(Request), true) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 344 at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(object(Request), true) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 210 at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(object(Request)) in /home/web2desi/public_html/mspublic/web/app.php line 29 [2] Liip\ImagineBundle\Exception\Binary\Loader\NotLoadableException: Source image not resolvable "uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg" in root path(s) "/home/web2desi/public_html/mspublic/web:/home/web2desi/public_html/mspublic/web/uploadmacle/photo" at n/a in /home/web2desi/public_html/mspublic/vendor/liip/imagine-bundle/Binary/Locator/FileSystemLocator.php line 75 at Liip\ImagineBundle\Binary\Locator\FileSystemLocator->locate('uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg') in /home/web2desi/public_html/mspublic/vendor/liip/imagine-bundle/Binary/Loader/FileSystemLoader.php line 94 at Liip\ImagineBundle\Binary\Loader\FileSystemLoader->find('uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg') in /home/web2desi/public_html/mspublic/vendor/liip/imagine-bundle/Imagine/Data/DataManager.php line 125 at Liip\ImagineBundle\Imagine\Data\DataManager->find('photo_macle', 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg') in /home/web2desi/public_html/mspublic/vendor/liip/imagine-bundle/Controller/ImagineController.php line 104 at Liip\ImagineBundle\Controller\ImagineController->filterAction(object(Request), 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg', 'photo_macle') in line at call_user_func_array(array(object(ImagineController), 'filterAction'), array(object(Request), 'uploadmacle/large_photo/a6576ddad664727df4b9d4a075edde71.jpeg', 'photo_macle')) in /home/web2desi/public_html/mspublic/app/bootstrap.php.cache line 3054 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /home/web2desi/public_html/mspublic/app/bootstrap.php.cache line 3016 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /home/web2desi/public_html/mspublic/app/bootstrap.php.cache line 3165 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /home/web2desi/public_html/mspublic/app/bootstrap.php.cache line 2406 at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 487 at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(object(Request), true, null) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php line 60 at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward(object(Request), true) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 444 at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(object(Request), true) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 344 at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(object(Request), true) in /home/web2desi/public_html/mspublic/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 210 at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(object(Request)) in /home/web2desi/public_html/mspublic/web/app.php line 29