# Updatescript springt wieder auf Startseite

**URL:** https://forum.shopware.com/t/updatescript-springt-wieder-auf-startseite/9896
**Category:** Shopware 3.5
**Tags:** installation--gettin
**Created:** [16. November 2012 um 11:55 UTC](https://forum.shopware.com/t/updatescript-springt-wieder-auf-startseite/9896 "2012-11-16T11:55:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![snagel](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@snagel](https://forum.shopware.com/u/snagel)
#### Post date: [16. November 2012 um 11:55 UTC](https://forum.shopware.com/t/updatescript-springt-wieder-auf-startseite/9896/1 "2012-11-16T11:55:50Z")

</div>

Hi, Würde gerne von 3.5.6. auf die 4.0 updaten. Ordner update im Root ist erstellt, Zugriff bekomme ich auf das Script unter wwww.shopadresse.biz/update auch. Sobald ich jedoch die korrekten Logindaten eingegeben habe, werde ich direkt immer wieder direkt auf die Startseite meines Shops geworfen :S Interessant ist auch, dass scheinbar immer erst einmal das Passwort in der Script-Maske als falsch ausgegeben wird, beim zweiten Mal eingeben werde ich dann direkt wieder auf Shop-Startseite geworfen. Getestet in Chrome und Firefox

---

<div class="post-metadata">

### Author: ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)
#### Post date: [16. November 2012 um 14:48 UTC](https://forum.shopware.com/t/updatescript-springt-wieder-auf-startseite/9896/2 "2012-11-16T14:48:35Z")

</div>

Hallo, in dem Verzeichnis /update ist ebenfalls eine htaccess vorhanden. Ggf. muss dort ein RewriteBase /update definiert werden, wenn das bei deinem Hosting nicht standardmäßig aktiv ist. Die neue htaccess unter /update könnte dann so aussehen: `<ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /update
    RewriteCond %{REQUEST_URI} !(\/(assets)\/)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php [QSA,L]
</ifmodule>` Ist aber nur ein Vermutung, da du schreibst immer auf die Startseite geleitet zu werden.

---

<div class="post-metadata">

### Author: ![snagel](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@snagel](https://forum.shopware.com/u/snagel)
#### Post date: [19. November 2012 um 12:04 UTC](https://forum.shopware.com/t/updatescript-springt-wieder-auf-startseite/9896/3 "2012-11-19T12:04:30Z")

</div>

[quote=„Sebastian Klöpper“]Hallo, in dem Verzeichnis /update ist ebenfalls eine htaccess vorhanden. Ggf. muss dort ein RewriteBase /update definiert werden, wenn das bei deinem Hosting nicht standardmäßig aktiv ist. Die neue htaccess unter /update könnte dann so aussehen: `<ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /update
    RewriteCond %{REQUEST_URI} !(\/(assets)\/)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php [QSA,L]
</ifmodule>` Ist aber nur ein Vermutung, da du schreibst immer auf die Startseite geleitet zu werden.[/quote] Dankeschön, daran scheint es gelegen zu haben :happy: Aber der Teufel ist ja bekanntlich ein Eichhörnchen… Das Update scheint einigermaßen funktioniert zu haben. Manche Teile des Templates sind nicht mit rübergekommen, aber was solls, das kann man schnell wieder einbauen. Schlimmer ist allerdings das Backend. Logindaten werden nur in 50% der EIngaben als erfolgreich ausgegeben, und wenn ich drin bin folgender 503 Fehler: [quote] Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. [Semantical Error] The class „Doctrine\ORM\Mapping\Table“ is not annotated with @Annotation. Are you sure this class can be used as annotation? If so, then you need to add @Annotation to the \_class\_ doc comment of „Doctrine\ORM\Mapping\Table“. If it is indeed no annotation, then you need to add @IgnoreAnnotation(„ORM\Table“) to the \_class\_ doc comment of class Shopware\Models\Widget\Widget. in Doctrine/Common/Annotations/AnnotationException.php on line 52 Stack trace: #0 Doctrine/Common/Annotations/DocParser.php(613): Doctrine\Common\Annotations\AnnotationException::semanticalError(‚The class "Doct…‘) #1 Doctrine/Common/Annotations/DocParser.php(518): Doctrine\Common\Annotations\DocParser-\>Annotation() #2 Doctrine/Common/Annotations/DocParser.php(283): Doctrine\Common\Annotations\DocParser-\>Annotations() #3 Doctrine/Common/Annotations/AnnotationReader.php(149): Doctrine\Common\Annotations\DocParser-\>parse(’/\*\*?? \* todo@al…’, ‚class Shopware…‘) #4 Doctrine/Common/Annotations/CachedReader.php(80): Doctrine\Common\Annotations\AnnotationReader-\>getClassAnnotations(Object(ReflectionClass)) #5 Doctrine/ORM/Mapping/Driver/AnnotationDriver.php(143): Doctrine\Common\Annotations\CachedReader-\>getClassAnnotations(Object(ReflectionClass)) #6 Doctrine/ORM/Mapping/Driver/DriverChain.php(75): Doctrine\ORM\Mapping\Driver\AnnotationDriver-\>loadMetadataForClass(‚Shopware\Models…‘, Object(Doctrine\ORM\Mapping\ClassMetadata)) #7 Doctrine/ORM/Mapping/ClassMetadataFactory.php(293): Doctrine\ORM\Mapping\Driver\DriverChain-\>loadMetadataForClass(‚Shopware\Models…‘, Object(Doctrine\ORM\Mapping\ClassMetadata)) #8 Doctrine/ORM/Mapping/ClassMetadataFactory.php(178): Doctrine\ORM\Mapping\ClassMetadataFactory-\>loadMetadata(‚Shopware\Models…‘) #9 Doctrine/ORM/EntityManager.php(269): Doctrine\ORM\Mapping\ClassMetadataFactory-\>getMetadataFor(‚Shopware\Models…‘) #10 Doctrine/ORM/Query/Parser.php(1474): Doctrine\ORM\EntityManager-\>getClassMetadata(‚Shopware\Models…‘) #11 Doctrine/ORM/Query/Parser.php(1404): Doctrine\ORM\Query\Parser-\>RangeVariableDeclaration() #12 Doctrine/ORM/Query/Parser.php(1171): Doctrine\ORM\Query\Parser-\>IdentificationVariableDeclaration() #13 Doctrine/ORM/Query/Parser.php(758): Doctrine\ORM\Query\Parser-\>FromClause() #14 Doctrine/ORM/Query/Parser.php(727): Doctrine\ORM\Query\Parser-\>SelectStatement() #15 Doctrine/ORM/Query/Parser.php(213): Doctrine\ORM\Query\Parser-\>QueryLanguage() #16 Doctrine/ORM/Query/Parser.php(288): Doctrine\ORM\Query\Parser-\>getAST() #17 Doctrine/ORM/Query.php(230): Doctrine\ORM\Query\Parser-\>parse() #18 Doctrine/ORM/Query.php(241): Doctrine\ORM\Query-\>\_parse() #19 Doctrine/ORM/AbstractQuery.php(595): Doctrine\ORM\Query-\>\_doExecute() #20 Doctrine/ORM/AbstractQuery.php(432): Doctrine\ORM\AbstractQuery-\>execute(Array, 2) #21 Shopware/Controllers/Backend/Widgets.php(83): Doctrine\ORM\AbstractQuery-\>getArrayResult() #22 Enlight/Controller/Action.php(135): Shopware\_Controllers\_Backend\_Widgets-\>getListAction() #23 Enlight/Controller/Dispatcher/Default.php(521): Enlight\_Controller\_Action-\>dispatch(‚getListAction‘) #24 Enlight/Controller/Front.php(214): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #25 Shopware/Bootstrap.php(79): Enlight\_Controller\_Front-\>dispatch() #26 Enlight/Application.php(192): Shopware\_Bootstrap-\>run() #27 shopware.php(74): Enlight\_Application-\>run() #28 {main} [/quote]
