[gelöst] Staging nach Update 4.05 defekt

Das Update auf 4.05 ist grundsätzlich problemlos durchgelaufen. Allerdings funktioniert die Staging-Umgebung nicht mehr (zuvor wurde alles neu „gestagt“, und der Systemcheck im Staging-Plugin ist auch tiefgrün - soll heissen: die Konfiguration ist ok und hat vorher auch funktioniert!). Folgende Fehlermeldung erscheint sowohl beim Staging-Frontend als auch im Backend: [quote] Fatal error: Uncaught exception ‚Zend_Cache_Exception‘ with message ‚Options passed were not an array or Zend_Config instance.‘ in /home/www/…/engine/Library/Zend/Cache.php:209 Stack trace: #0 /home/www/…/engine/Library/Zend/Cache/Core.php(144): Zend_Cache::throwException(‚Options passed …‘) #1 /home/www/…/engine/Library/Zend/Cache.php(195): Zend_Cache_Core->__construct(NULL) #2 /home/www/…/engine/Library/Zend/Cache.php(103): Zend_Cache::_makeFrontend(‚Core‘, NULL, false, false) (…) [/quote] (pfade sind anonymisiert) Bitte um Hilfe! Danke, Nils

Hi Nils, gleich mal bitte die config_staging.php mit deiner ab: <?php if (file_exists($this->DocPath()."/config.php")){ $defaultConfig = include($this-\>DocPath()."/config.php"); }else { $defaultConfig = array(); } $stagingConfig = array( 'db' =\> array\_merge($defaultConfig["db"],array( 'dbname' =\> $defaultConfig["custom"]["staging\_database"] )), 'custom' =\> array\_merge($defaultConfig["custom"],array( 'is\_staging' =\> true, )), 'cache' =\> array( 'backendOptions' =\> array("cache\_dir"=\>$this-\>DocPath('staging\_cache\_database')), 'frontendOptions' =\> array() ), 'httpCache' =\> array( 'cache\_dir' =\> $this-\>DocPath('staging\_cache\_templates\_html') ), 'template' =\> array( 'cacheDir' =\> $this-\>DocPath('staging\_cache\_templates\_cache'), 'compileDir' =\> $this-\>DocPath('staging\_cache\_templates\_compile') ), 'hook' =\> array( 'proxyDir' =\> $this-\>AppPath('ProxiesStaging'), 'proxyNamespace' =\> $this-\>App() . '\_ProxiesStaging' ), 'model' =\> array( 'proxyDir' =\> $this-\>AppPath('ProxiesStaging'), 'proxyNamespace' =\> $this-\>App() . '\ProxiesStaging' ) ); return $stagingConfig;

1 „Gefällt mir“

danke, das wars tatsächlich. unterschied zu vorher: [quote]config_staging.php: … ‚frontendOptions‘ => array() … [/quote]