# Nach erfolgreicher Installation lässt sich weder Frontend noch Administration aufrufen

**URL:** <https://forum.shopware.com/t/nach-erfolgreicher-installation-lasst-sich-weder-frontend-noch-administration-aufrufen/62492>\
**Category:** Installation / Einstieg\
**Created:** [18. Oktober 2019 um 22:21 UTC](https://forum.shopware.com/t/nach-erfolgreicher-installation-lasst-sich-weder-frontend-noch-administration-aufrufen/62492 "2019-10-18T22:21:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![opalion](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@opalion](https://forum.shopware.com/u/opalion)\
**Post date:** [18. Oktober 2019 um 22:21 UTC](https://forum.shopware.com/t/nach-erfolgreicher-installation-lasst-sich-weder-frontend-noch-administration-aufrufen/62492/1 "2019-10-18T22:21:09Z")

</div>

Hallo Community,

&nbsp;

folgende Meldung erscheint nach erfolgreicher Installation:

**Fatal error** : Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class „StateMachineHistoryDefinition“ from namespace „Shopware\Core\System\StateMachine\Aggregation\StateMachineHistory“. Did you forget a „use“ statement for another namespace? in /home/op003rz4/www/home/shopware6/var/cache/prod\_k379092f7\_pd41d8cd9/Container8OxhZL5/srcShopware\_Production\_KernelProdContainer.php:1645 Stack trace: #0 /home/op003rz4/www/home/shopware6/var/cache/prod\_k379092f7\_pd41d8cd9/Container8OxhZL5/srcShopware\_Production\_KernelProdContainer.php(2457): Container8OxhZL5\srcShopware\_Production\_KernelProdContainer-\>getStateMachineHistoryDefinitionService() #1 /home/op003rz4/www/home/shopware6/var/cache/prod\_k379092f7\_pd41d8cd9/Container8OxhZL5/srcShopware\_Production\_KernelProdContainer.php(2876): Container8OxhZL5\srcShopware\_Production\_KernelProdContainer-\>getStateMachineHistory\_RepositoryService() #2 /home/op003rz4/www/home/shopware6/var/cache/prod\_k379092f7\_pd41d8cd9/Container8OxhZL5/srcShopware\_Production\_Ke in **/home/op003rz4/www/home/shopware6/var/cache/prod\_k379092f7\_pd41d8cd9/Container8OxhZL5/srcShopware\_Production\_KernelProdContainer.php** on line **1645**

Danke für eure Unterstützung.

---

<div class="post-metadata">

**Author:** ![opalion](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@opalion](https://forum.shopware.com/u/opalion)\
**Post date:** [18. Oktober 2019 um 22:44 UTC](https://forum.shopware.com/t/nach-erfolgreicher-installation-lasst-sich-weder-frontend-noch-administration-aufrufen/62492/2 "2019-10-18T22:44:56Z")

</div>

Habe jetzt im Ordner /var/cache den Cache geleert und nun kommt folgende Meldung, wenn man dann nochmals reloaded kommt wieder die Meldung von vorher (siehe oben):

&nbsp;

**Warning** : include(/home/op003rz4/www/home/shopware6/vendor/composer/…/shopware/core/System/StateMachine/Aggregation/StateMachineHistory/StateMachineHistoryDefinition.php): failed to open stream: No such file or directory in **/home/op003rz4/www/home/shopware6/vendor/composer/ClassLoader.php** on line **444**

**Warning** : include(/home/op003rz4/www/home/shopware6/vendor/composer/…/shopware/core/System/StateMachine/Aggregation/StateMachineHistory/StateMachineHistoryDefinition.php): failed to open stream: No such file or directory in **/home/op003rz4/www/home/shopware6/vendor/composer/ClassLoader.php** on line **444**

**Warning** : include(): Failed opening ‚/home/op003rz4/www/home/shopware6/vendor/composer/…/shopware/core/System/StateMachine/Aggregation/StateMachineHistory/StateMachineHistoryDefinition.php‘ for inclusion (include\_path=’.:/usr/local/lib/php’) in **/home/op003rz4/www/home/shopware6/vendor/composer/ClassLoader.php** on line **444**

**Fatal error** : Uncaught RuntimeException: Failed to start the session because headers have already been sent by „/home/op003rz4/www/home/shopware6/vendor/composer/ClassLoader.php“ at line 444. in /home/op003rz4/www/home/shopware6/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145 Stack trace: #0 /home/op003rz4/www/home/shopware6/vendor/symfony/http-foundation/Session/Session.php(57): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage-\>start() #1 /home/op003rz4/www/home/shopware6/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php(89): Symfony\Component\HttpFoundation\Session\Session-\>start() #2 /home/op003rz4/www/home/shopware6/vendor/symfony/event-dispatcher/EventDispatcher.php(298): Shopware\Storefront\Framework\Routing\StorefrontSubscriber-\>startSession(Object(Symfony\Component\HttpKernel\Event\RequestEvent), ‚kernel.request‘, Object(Symfony\Component\EventDispatcher\EventDispatcher)) #3 /home/op003rz4/www/home/shopware6/vendor/symfony/event-dispatcher/EventDi in **/home/op003rz4/www/home/shopware6/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php** on line **145**

---

<div class="post-metadata">

**Author:** ![opalion](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@opalion](https://forum.shopware.com/u/opalion)\
**Post date:** [18. Oktober 2019 um 23:17 UTC](https://forum.shopware.com/t/nach-erfolgreicher-installation-lasst-sich-weder-frontend-noch-administration-aufrufen/62492/3 "2019-10-18T23:17:41Z")

</div>

Problem nun gelöst, die Datei StateMachineHistory/StateMachineHistoryDefinition.php&nbsp; hat im Ordner gefehlt, ist anscheinend beim FTP-Upload auf den Server nicht kopiert worden. Nun geht der Admin zum Aufrufen.

---

<div class="post-metadata">

**Author:** ![Ciatronical](https://avatars.discourse-cdn.com/v4/letter/c/c77e96/32.png) [@Ciatronical](https://forum.shopware.com/u/Ciatronical)\
**Post date:** [19. Oktober 2019 um 06:54 UTC](https://forum.shopware.com/t/nach-erfolgreicher-installation-lasst-sich-weder-frontend-noch-administration-aufrufen/62492/4 "2019-10-19T06:54:40Z")

</div>

Verzichte doch auf den FTP upload und entpacke auf dem Server.  
Ich mache das so:  
&nbsp;

```
wget https://releases.shopware.com/sw6/install_6.0.0_ea2_1571125323.zip
unzip install_6.0.0_ea2_1571125323.zip 

```

Dauert nicht mal 5 Sekunden.

VG Ronny
