Details
-
Bug
-
Resolution: Duplicate
-
High
-
2015.01
-
None
-
Operating System: CentOS 7.0 x64
PHP Version: 5.4.16
Database and version: Mariadb 5.5
Browser (and version): Firefox 35
Description
Hi,
when i create a binary file and then try to download it's file, i have a fatal error.
– Create a content -> File
--– Fill in the name (File1) and upload or drag&drop a binary file
-– Publish the file
-– See that the file was published without any error
– Click on the link of the "file" attribute (the error happens here)
The error is (ezpublish/logs/prod.log):
[2015-02-03 13:29:55] app.NOTICE: Siteaccess not matched against configuration, returning default siteaccess. [] [] [2015-02-03 13:29:55] request.INFO: Matched route "_ez_user_hash" (parameters: "_route": "_ez_user_hash") [] [] [2015-02-03 13:29:55] security.DEBUG: Read SecurityContext from the session [] [] [2015-02-03 13:29:55] security.DEBUG: Reloading user from user provider. [] [] [2015-02-03 13:29:55] security.DEBUG: Username "admin" was reloaded from user provider. [] [] [2015-02-03 13:29:55] security.DEBUG: Write SecurityContext in the session [] [] [2015-02-03 13:29:55] request.CRITICAL: Uncaught PHP Exception eZ\Publish\Core\Base\Exceptions\InvalidArgumentException: "Argument '$id' is invalid: Prefix images not found in original/application/f4efd1f79f90520d9e84bdc6228db786.doc" at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/IO/IOService.php line 386 {"exception":"[object] (eZ\\Publish\\Core\\Base\\Exceptions\\InvalidArgumentException(code: 0): Argument '$id' is invalid: Prefix images not found in original/application/f4efd1f79f90520d9e84bdc6228db786.doc at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/IO/IOService.php:386)"} [] [2015-02-03 13:29:55] security.DEBUG: Write SecurityContext in the session [] []
Full stack
NOTICE - Siteaccess not matched against configuration, returning default siteaccess. DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener::onSiteAccessMatch". DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\DynamicSettingsListener::onSiteAccessMatch". DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener::onSiteAccessMatch". DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SessionInitByPostListener::onSiteAccessMatch". DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\RoutingListener::onSiteAccessMatch". CRITICAL - Uncaught PHP Exception eZ\Publish\Core\Base\Exceptions\InvalidArgumentException: "Argument '$id' is invalid: Prefix images not found in original/application/f4efd1f79f90520d9e84bdc6228db786.doc" at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/IO/IOService.php line 386 DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener::onSiteAccessMatch". DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\DynamicSettingsListener::onSiteAccessMatch". DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener::onSiteAccessMatch". DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SessionInitByPostListener::onSiteAccessMatch". DEBUG - Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\RoutingListener::onSiteAccessMatch". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\ViewControllerListener::getController". DEBUG - Notified event "kernel.controller" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\PageControllerListener::getController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".