Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.1.0beta1
-
None
-
Operating System: RHEL 6.4
PHP Version: 5.3.3
Database and version: Mysql 5.1.67
Browser (and version): Firefox 19.0
Description
Hi,
After installing build #456 from 31/Mar/2013 12:03:27, using Setup wizard, i have the following twig exception when accessing my installation:
Symfony Search on Symfony website Exception detected! Cache path is not a directory. 500 Internal Server Error - InvalidArgumentException Stack Trace in /var/www/apache2php53/ezp50/vendor/tedivm/stash/src/Stash/Driver/FileSystem.php at line 388 -+ } if(!is_dir($this->cachePath)) { throw new InvalidArgumentException('Cache path is not a directory.'); } if(!is_writable($this->cachePath)) { at FileSystem ->checkFileSystemPermissions () in /var/www/apache2php53/ezp50/vendor/tedivm/stash/src/Stash/Driver/FileSystem.php at line 104 -+ at FileSystem ->__construct (array('dirSplit' => '2', 'path' => '/var/www/apache2php53/ezp50/ezpublish/cache/dev/stash', 'filePermissions' => '432', 'dirPermissions' => '504', 'memKeyLimit' => '200')) in /var/www/apache2php53/ezp50/vendor/tedivm/stash-bundle/Tedivm/StashBundle/Factory/HandlerFactory.php at line 17 -+ at HandlerFactory ::createHandler (array('Ephemeral', 'FileSystem'), array('Apc' => array('ttl' => '300', 'namespace' => null), 'BlackHole' => array(), 'Ephemeral' => array(), 'FileSystem' => array('dirSplit' => '2', 'path' => '/var/www/apache2php53/ezp50/ezpublish/cache/dev/stash', 'filePermissions' => '432', 'dirPermissions' => '504', 'memKeyLimit' => '200'), 'SQLite' => array('filePermissions' => '432', 'dirPermissions' => '504', 'busyTimeout' => '500', 'nesting' => '0', 'subhandler' => 'PDO', 'version' => null, 'path' => '/var/www/apache2php53/ezp50/ezpublish/cache/dev/stash'))) at call_user_func (array('Tedivm\StashBundle\Factory\HandlerFactory', 'createHandler'), array('Ephemeral', 'FileSystem'), array('Apc' => array('ttl' => '300', 'namespace' => null), 'BlackHole' => array(), 'Ephemeral' => array(), 'FileSystem' => array('dirSplit' => '2', 'path' => '/var/www/apache2php53/ezp50/ezpublish/cache/dev/stash', 'filePermissions' => '432', 'dirPermissions' => '504', 'memKeyLimit' => '200'), 'SQLite' => array('filePermissions' => '432', 'dirPermissions' => '504', 'busyTimeout' => '500', 'nesting' => '0', 'subhandler' => 'PDO', 'version' => null, 'path' => '/var/www/apache2php53/ezp50/ezpublish/cache/dev/stash'))) in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 5433 -+ at ezpublishDevDebugProjectContainer ->getStash_Handler_DefaultCacheService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('stash.handler.default_cache') in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 5420 -+ at ezpublishDevDebugProjectContainer ->getStash_DefaultCacheService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('stash.default_cache') in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 3361 -+ at ezpublishDevDebugProjectContainer ->getEzpublish_Spi_Persistence_Cache_SectionhandlerService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('ezpublish.spi.persistence.cache.sectionhandler') in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 3270 -+ at ezpublishDevDebugProjectContainer ->getEzpublish_Spi_Persistence_CacheService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('ezpublish.spi.persistence.cache') in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 541 -+ at ezpublishDevDebugProjectContainer ->getEzpublish_Api_Role_LimitationType_LocationService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('ezpublish.api.role.limitation_type.location') in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 463 -+ at ezpublishDevDebugProjectContainer ->getEzpublish_Api_Repository_FactoryService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('ezpublish.api.repository.factory') in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 395 -+ at ezpublishDevDebugProjectContainer ->getEzpublish_Api_InnerRepositoryService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('ezpublish.api.inner_repository') in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 3166 -+ at ezpublishDevDebugProjectContainer ->getEzpublish_Signalslot_RepositoryService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('ezpublish.signalslot.repository') in kernel.root_dir/cache/dev/ezpublishDevDebugProjectContainer.php at line 6406 -+ at ezpublishDevDebugProjectContainer ->getEzpublish_Api_RepositoryService () in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 262 -+ at Container ->get ('ezpublish.api.repository') in /var/www/apache2php53/ezp50/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/ApiLoader/LazyRepositoryFactory.php at line 42 -+ at eZ\Bundle\EzPublishCoreBundle\ApiLoader\{closure} () in /var/www/apache2php53/ezp50/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Security/User/Provider.php at line 42 -+ at Provider ->getRepository () in /var/www/apache2php53/ezp50/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Security/User/Provider.php at line 50 -+ at Provider ->getUserService () in /var/www/apache2php53/ezp50/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Security/User/Provider.php at line 75 -+ at Provider ->loadUserByUsername ('-1') in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php at line 67 -+ at PreAuthenticatedAuthenticationProvider ->authenticate (object(PreAuthenticatedToken)) in /var/www/apache2php53/ezp50/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Security/Authentication/Provider.php at line 53 -+ at Provider ->authenticate (object(PreAuthenticatedToken)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/AuthenticationProviderManager.php at line 74 -+ at AuthenticationProviderManager ->authenticate (object(PreAuthenticatedToken)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php at line 75 -+ at AbstractPreAuthenticatedListener ->handle (object(GetResponseEvent)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall.php at line 66 -+ at Firewall ->onKernelRequest (object(GetResponseEvent)) at call_user_func (array(object(Firewall), 'onKernelRequest'), object(GetResponseEvent)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 447 -+ at Symfony\Component\HttpKernel\Debug\{closure} (object(GetResponseEvent)) at call_user_func (object(Closure), object(GetResponseEvent)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php at line 164 -+ at EventDispatcher ->doDispatch (array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php at line 53 -+ at EventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php at line 167 -+ at ContainerAwareEventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 135 -+ at TraceableEventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 110 -+ at HttpKernel ->handleRaw (object(Request), '1') in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 73 -+ at HttpKernel ->handle (object(Request), '1', true) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 57 -+ at ContainerAwareHttpKernel ->handle (object(Request), '1', true) in /var/www/apache2php53/ezp50/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 197 -+ at Kernel ->handle (object(Request)) in /var/www/apache2php53/ezp50/web/index.php at line 14 -+ Logs +- 1 error DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "eZ\Publish\Core\MVC\Symfony\EventListener\SiteAccessMatchListener::onKernelRequest". NOTICE - Siteaccess not matched against configuration, returning default siteaccess. DEBUG - Notified event "kernel.request" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\RequestEventListener::onKernelRequestSetup". DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". INFO - Router eZ\Bundle\EzPublishCoreBundle\Routing\DefaultRouter was not able to match, message "" INFO - Router eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter was not able to match, message "Config says to bypass UrlAliasRouter" INFO - Matched route "ez_legacy" (parameters: "_route": "ez_legacy", "_controller": "ezpublish_legacy.controller:indexAction") DEBUG - Notified event "kernel.request" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\LocaleListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\RequestEventListener::onKernelRequestForward". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest". DEBUG - Checking secure context token: DEBUG - Trying to pre-authenticate user "-1" DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\Security\Http\Firewall\ExceptionListener::onKernelException". DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException". DEBUG - Notified event "kernel.exception" to listener "eZ\Bundle\EzPublishRestBundle\EventListener\RestListener::onKernelExceptionView". DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ExceptionListener::onKernelException". CRITICAL - Uncaught PHP Exception Stash\Exception\InvalidArgumentException: "Cache path is not a directory." at /var/www/apache2php53/ezp50/vendor/tedivm/stash/src/Stash/Driver/FileSystem.php line 388 DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "eZ\Publish\Core\MVC\Symfony\EventListener\SiteAccessMatchListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\RequestEventListener::onKernelRequestSetup". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\LocaleListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\RequestEventListener::onKernelRequestForward". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\Fragment\FragmentHandler::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener::injectLogger". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\RequestEventListener::onKernelRequestRedirect". DEBUG - Notified event "kernel.request" to listener "closure". DEBUG - Notified event "kernel.request" to listener "eZ\Bundle\EzPublishRestBundle\EventListener\RestListener::onKernelRequest". 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". Symfony 2.2.0 PHP Environment 515970afadc1d ezpublishdev Request 500 n/a on ez_legacy Logs 1 Time 4222 ms Memory Usage 53.2 MB Security Memory Usage 0 calls / 0 hits eZ Publish Info 0 calls