Updatescript springt wieder auf Startseite

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

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.

1 „Gefällt mir“

[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]