# Xcache Fehlermeldung bei Neuinstallation 5.0.0

**URL:** https://forum.shopware.com/t/xcache-fehlermeldung-bei-neuinstallation-5-0-0/27068
**Category:** Installation/Einstieg
**Created:** [8. Mai 2015 um 19:46 UTC](https://forum.shopware.com/t/xcache-fehlermeldung-bei-neuinstallation-5-0-0/27068 "2015-05-08T19:46:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nbm24](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nbm24](https://forum.shopware.com/u/nbm24)
#### Post date: [8. Mai 2015 um 19:46 UTC](https://forum.shopware.com/t/xcache-fehlermeldung-bei-neuinstallation-5-0-0/27068/1 "2015-05-08T19:46:15Z")

</div>

Ich wollte die Version 5.0.0 auf einen blanken neuen System (lamp debian) installieren. Das der ioncube nicht erkannt wird, hatte ich im Forum gelesen, ist aber zum Test nicht schlimm. Sonst ist alles GRÜN. Nur nach dem letzten Schritt kommt dann die Fehlermeldung: Slim Application Error The application could not run because of the following error: Details Type: ErrorException Code: 2 Message: xcache\_isset(): XCache var cache was not initialized properly. Check php log for actual reason File: /var/www/vendor/doctrine/cache/lib/Doctrine/Common/Cache/XcacheCache.php Line: 48 Trace #0 [internal function]: Slim\Slim::handleErrors(2, ‘xcache\_isset():…’, ‘/var/www/vendor…’, 48, Array) #1 /var/www/vendor/doctrine/cache/lib/Doctrine/Common/Cache/XcacheCache.php(48): xcache\_isset(‘DoctrineNamespa…’) #2 /var/www/vendor/doctrine/cache/lib/Doctrine/Common/Cache/XcacheCache.php(40): Doctrine\Common\Cache\XcacheCache-\>doContains(‘DoctrineNamespa…’) #3 /var/www/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php(191): Doctrine\Common\Cache\XcacheCache-\>doFetch(‘DoctrineNamespa…’) #4 /var/www/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php(148): Doctrine\Common\Cache\CacheProvider-\>getNamespaceVersion() #5 /var/www/engine/Shopware/Components/Model/ModelManager.php(302): Doctrine\Common\Cache\CacheProvider-\>deleteAll() #6 /var/www/engine/Shopware/Components/Model/ModelManager.php(289): Shopware\Components\Model\ModelManager-\>regenerateAttributeProxies(Array) #7 /var/www/recovery/install/src/ContainerProvider.php(123): Shopware\Components\Model\ModelManager-\>generateAttributeModels() #8 /var/www/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(112): Shopware\Recovery\Install\ContainerProvider-\>Shopware\Recovery\Install{closure}(Object(Pimple\Container)) #9 /var/www/recovery/install/src/ContainerProvider.php(129): Pimple\Container-\>offsetGet(‘shopware.contai…’) #10 /var/www/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(112): Shopware\Recovery\Install\ContainerProvider-\>Shopware\Recovery\Install{closure}(Object(Pimple\Container)) #11 /var/www/recovery/install/src/ContainerProvider.php(144): Pimple\Container-\>offsetGet(‘shopware.theme\_…’) #12 /var/www/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(112): Shopware\Recovery\Install\ContainerProvider-\>Shopware\Recovery\Install{closure}(Object(Pimple\Container)) #13 /var/www/recovery/install/src/app.php(436): Pimple\Container-\>offsetGet(‘theme.service’) #14 [internal function]: {closure}() #15 /var/www/recovery/common/vendor/slim/slim/Slim/Route.php(462): call\_user\_func\_array(Object(Closure), Array) #16 /var/www/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route-\>dispatch() #17 /var/www/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim-\>call() #18 /var/www/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash-\>call() #19 /var/www/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride-\>call() #20 /var/www/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions-\>call() #21 /var/www/recovery/install/index.php(74): Slim\Slim-\>run() #22 {main} In der php-Log steht dann auch nichts anderes. Was kann denn da der Grund sein? in der xcache.ini steht: ; configuration for php Xcache module [xcache-common] ;; install as zend extension (recommended), normally “$extension\_dir/xcache.so” zend\_extension = /usr/lib/php5/20100525/xcache.so [xcache.admin] xcache.admin.enable\_auth = On ; Configure this to use admin pages ; xcache.admin.user = “mOo” ; xcache.admin.pass = md5($your\_password) ; xcache.admin.pass = “” [xcache] ; ini only settings, all the values here is default unless explained ; select low level shm/allocator scheme implemenation xcache.shm\_scheme = “mmap” ; to disable: xcache.size=0 ; to enable : xcache.size=64M etc (any size \> 0) and your system mmap allows xcache.size = 32M ; set to cpu count (cat /proc/cpuinfo |grep -c processor) xcache.count = 1 ; just a hash hints, you can always store count(items) \> slots xcache.slots = 8K ; ttl of the cache item, 0=forever xcache.ttl = 0 ; interval of gc scanning expired items, 0=no scan, other values is in seconds xcache.gc\_interval = 0 ; same as aboves but for variable cache xcache.var\_size = 0M xcache.var\_count = 1 xcache.var\_slots = 8K ; default ttl xcache.var\_ttl = 0 xcache.var\_maxttl = 0 xcache.var\_gc\_interval = 300 xcache.test = Off ; N/A for /dev/zero xcache.readonly\_protection = Off ; for \*nix, xcache.mmap\_path is a file path, not directory. ; Use something like “/tmp/xcache” if you want to turn on ReadonlyProtection ; 2 group of php won’t share the same /tmp/xcache ; for win32, xcache.mmap\_path=anonymous map name, not file path xcache.mmap\_path = “/dev/zero” ; leave it blank(disabled) or “/tmp/phpcore/” ; make sure it’s writable by php (without checking open\_basedir) xcache.coredump\_directory = “” ; per request settings xcache.cacher = On xcache.stat = On xcache.optimizer = Off [xcache.coverager] ; per request settings ; enable coverage data collecting for xcache.coveragedump\_directory and xcache\_coverager\_start/stop/get/clean() functions (will hurt executing performance) xcache.coverager = Off ; ini only settings ; make sure it’s readable (care open\_basedir) by coverage viewer script ; requires xcache.coverager=On xcache.coveragedump\_directory = “” Weiß da jemand Bescheid?

---

<div class="post-metadata">

### Author: ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)
#### Post date: [8. Mai 2015 um 23:24 UTC](https://forum.shopware.com/t/xcache-fehlermeldung-bei-neuinstallation-5-0-0/27068/2 "2015-05-08T23:24:19Z")

</div>

Ich nehme an, daß xcache.var\_size = 0M das Problem verursacht (s. [https://wordpress.org/support/topic/xca … properly-2](https://wordpress.org/support/topic/xcache-var-cache-was-not-initialized-properly-2) ). Probiere mal einen Wert \> 0.
