Server- und Domainumzug

Liebe Experten,

leider komme ich gerade nicht so richtig weiter. Ich habe bereits das Forum und das Internet komplett durchsucht.

Ich habe es nach der folgenden Anleitung gemacht (allerdings für die 6.1.3):

Dabei u.a. die config.inc.php mit meinen Daten gefüllt und den folgenden Ordnern 777 gegegen:

/out/pictures
/out/media
/log
/export
/tmp (inhalt gelöscht)

Jetzt komme ich zwar in das Backend rein, aber da fehlen z.B. meine Stammdaten und ich kann den Shop weder Produktiv, noch auf Aktiv setzen. Die Systemgesundheit zeigt alles fehlerfrei an.

In der Logdatei steht sehr oft der Fehler (OxidEsales\Eshop\Core\Exception\DatabaseErrorException(code: 1347): usw

Beim Importieren der sql-Datei in meine Datenbank kommt die Meldung "MySQL meldet: Dokumentation
#1227 - Kein Zugriff. Hierfür wird die Berechtigung SUPER benötigt"

Ich bekomme leider nicht mehr Privilegien für die DB. Kann das die Ursache sein?

Muss man etwas in der .htaccess umstellen?

Bin über jeden Ratschlag sehr dankbar.

Ergänzung:

Mit dem setzen $this->blSkipViewUsage = false;
ändere das auf ‘‘true’’ in config.inc.php erscheint die Seite wieder. Damit ist der Wartungsmodus abgestellt.

Nachdem ich nochmal die Datenbank importiert habe, schein fast alles zu laufen.

Auf der Homepage kommt aber teilweise trotzdem ein “Maintenance mode, please try again later.” z.B. bei der Artikelansicht ist mir das aufgefallen. Woran könnte das liegen?

Error Log anschauen im Ordner log.

Scheinbar funktioniert tatsächlich alles, bis auf die Artikelansicht.

In der Log kommt es beim Anklicken auf den Artikel zu dieser Meldung:

[2020-04-01 08:25:16] OXID Logger.ERROR: Key ‘oxartid’ doesn’t exist in table ‘d’ [“[object] (OxidEsales\Eshop\Core\Exception\DatabaseErrorException(code: 1176): Key ‘oxartid’ doesn’t exist in table ‘d’ at /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/Database/Adapter/Doctrine/Database.php:938, Doctrine\DBAL\Exception\DriverException(code: 0): An exception occurred while executing ‘select distinct oxarticles.* from (\r\n select d.oxorderid as suborderid from oxorderarticles as d use index ( oxartid ) where d.oxartid in ( ‘4a9ec813888603bd6ca9aca00796e66e’ ) limit 50\r\n ) as suborder\r\n left join oxorderarticles force index ( oxorderid ) on suborder.suborderid = oxorderarticles.oxorderid\r\n left join oxarticles on oxarticles.oxid = oxorderarticles.oxartid\r\n where oxarticles.oxid not in ( ‘4a9ec813888603bd6ca9aca00796e66e’ )\r\n and ( oxarticles.oxissearch = 1 or oxarticles.oxparentid <> ‘’ ) and ( oxarticles.oxactive = 1 and oxarticles.oxhidden = 0 and ( oxarticles.oxstockflag != 2 or ( oxarticles.oxstock + oxarticles.oxvarstock ) > 0 ) and IF( oxarticles.oxvarcount = 0, 1, ( select 1 from oxarticles as art where art.oxparentid=oxarticles.oxid and art.oxactive = 1 and ( art.oxstockflag != 2 or art.oxstock > 0 ) limit 1 ) ) ) LIMIT 5 OFFSET 0 ‘:\n\nSQLSTATE[42000]: Syntax error or access violation: 1176 Key ‘oxartid’ doesn’t exist in table ‘d’ at /is/htdocs/MEIN_ORDNER/www/demo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115, Doctrine\DBAL\Driver\PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1176 Key ‘oxartid’ doesn’t exist in table ‘d’ at /is/htdocs/MEIN_ORDNER/www/demo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1176 Key ‘oxartid’ doesn’t exist in table ‘d’ at /is/htdocs/MEIN_ORDNER/www/demo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)\n[stacktrace]\n#0 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/Database/Adapter/Doctrine/Database.php(621): OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\Database->convertException(Object(Doctrine\DBAL\Exception\DriverException))\n#1 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/Database/Adapter/Doctrine/Database.php(694): OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\Database->select(‘select distinct…’, Array)\n#2 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/Model/ListModel.php(370): OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\Database->selectLimit(‘select distinct…’, 5, 0, Array)\n#3 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Application/Model/ArticleList.php(71): OxidEsales\EshopCommunity\Core\Model\ListModel->selectString(‘select distinct…’, Array)\n#4 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Application/Model/Article.php(1403): OxidEsales\EshopCommunity\Application\Model\ArticleList->selectString(‘select distinct…’)\n#5 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Application/Component/Widget/ArticleDetails.php(672): OxidEsales\EshopCommunity\Application\Model\Article->getCustomerAlsoBoughtThisProducts()\n#6 /is/htdocs/MEIN_ORDNER/www/demo/source/tmp/smarty/b79af9fc60572684f94d29c109e5f241^%%1E^1E7^1E7B11A6%%related_products.tpl.php(6): OxidEsales\EshopCommunity\Application\Component\Widget\ArticleDetails->getAlsoBoughtTheseProducts()\n#7 /is/htdocs/MEIN_ORDNER/www/demo/vendor/smarty/smarty/libs/Smarty.class.php(1876): include(’/is/htdocs/wp13…’)\n#8 /is/htdocs/MEIN_ORDNER/www/demo/source/tmp/smarty/b79af9fc60572684f94d29c109e5f241^%%A5^A59^A595DDB8%%fullproductinfo.tpl.php(50): Smarty->_smarty_include(Array)\n#9 /is/htdocs/MEIN_ORDNER/www/demo/vendor/smarty/smarty/libs/Smarty.class.php(1876): include(‘/is/htdocs/wp13…’)\n#10 /is/htdocs/MEIN_ORDNER/www/demo/source/tmp/smarty/b79af9fc60572684f94d29c109e5f241^%%08^08A^08ABD53A%%details.tpl.php(107): Smarty->_smarty_include(Array)\n#11 /is/htdocs/MEIN_ORDNER/www/demo/vendor/smarty/smarty/libs/Smarty.class.php(1876): include(‘/is/htdocs/wp13…’)\n#12 /is/htdocs/MEIN_ORDNER/www/demo/source/tmp/smarty/b79af9fc60572684f94d29c109e5f241^%%79^790^7907FF72%%details.tpl.php(6): Smarty->_smarty_include(Array)\n#13 /is/htdocs/MEIN_ORDNER/www/demo/vendor/smarty/smarty/libs/Smarty.class.php(1270): include(‘/is/htdocs/wp13…’)\n#14 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(488): Smarty->fetch(‘widget/product/…’, ‘ox|0|0|0|0’)\n#15 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(344): OxidEsales\EshopCommunity\Core\ShopControl->_render(Object(OxidEsales\Eshop\Application\Component\Widget\ArticleDetails))\n#16 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(276): OxidEsales\EshopCommunity\Core\ShopControl->formOutput(Object(OxidEsales\Eshop\Application\Component\Widget\ArticleDetails))\n#17 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(137): OxidEsales\EshopCommunity\Core\ShopControl->_process(‘OxidEsales\\Esho…’, NULL, Array, Array)\n#18 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/WidgetControl.php(62): OxidEsales\EshopCommunity\Core\ShopControl->start(‘oxwarticledetai…’, NULL, Array, Array)\n#19 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/Smarty/Plugin/function.oxid_include_widget.php(31): OxidEsales\EshopCommunity\Core\WidgetControl->start(‘oxwarticledetai…’, NULL, Array, Array)\n#20 /is/htdocs/MEIN_ORDNER/www/demo/source/tmp/smarty/b79af9fc60572684f94d29c109e5f241^%%08^08A^08ABD53A%%details.tpl.php(10): smarty_function_oxid_include_widget(Array, Object(Smarty))\n#21 /is/htdocs/MEIN_ORDNER/www/demo/vendor/smarty/smarty/libs/Smarty.class.php(1270): include(‘/is/htdocs/wp13…’)\n#22 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(488): Smarty->fetch(‘page/details/de…’, ‘ox|0|0|0|0|4a9e…’)\n#23 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(344): OxidEsales\EshopCommunity\Core\ShopControl->_render(Object(OxidEsales\Eshop\Application\Controller\ArticleDetailsController))\n#24 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(276): OxidEsales\EshopCommunity\Core\ShopControl->formOutput(Object(OxidEsales\Eshop\Application\Controller\ArticleDetailsController))\n#25 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(137): OxidEsales\EshopCommunity\Core\ShopControl->_process(‘OxidEsales\\Esho…’, NULL, NULL, NULL)\n#26 /is/htdocs/MEIN_ORDNER/www/demo/vendor/oxid-esales/oxideshop-ce/source/Core/OXID.php(26): OxidEsales\EshopCommunity\Core\ShopControl->start()\n#27 /is/htdocs/MEIN_ORDNER/www/demo/source/index.php(15): OxidEsales\EshopCommunity\Core\OXID::run()\n#28 /is/htdocs/MEIN_ORDNER/www/demo/source/oxseo.php(28): require(‘/is/htdocs/wp13…’)\n#29 {main}\n”]

Er bemängelt u.a. dass 4a9ec813888603bd6ca9aca00796e66e in oxarticles fehl. Wenn ich aber in der DB nachschaue, so gibt es den Eintrag.

Hallo, views mal neu generiert und tmp gelöscht?
Gruss

Jupp. Den Ordner TMP habe ich leer gemacht. Mit Viewes neu generiert meinst Du bestimmt das:

Auch gemacht…

Allerding schreibt er hierbei "Fehler beim Aktualisieren der Datenbank-Views. "

Ich glaub du hast nicht genug Rechte auf die DB?

Ich habe den Fehler gefunden. Weiß aber nicht, warum das jetzt funktioniert hat, weil ich gefühlt das 100x schon gemacht habe.

Zusammenfassung für andere, die das gleiche Problem haben:

Beim Import der SQL-Datei in die neue Datenbank kommt diese Fehlermeldung:

CREATE ALGORITHM=UNDEFINED DEFINER=xxxxx-ad@localhost SQL SECURITY INVOKER VIEW oxv_oxactions AS select

#1227 - Kein Zugriff. Hierfür wird die Berechtigung SUPER benötigt

Diese Fehlermeldung war für mich etwas irreleitend. Hatte meinen Provider gefragt, ob es ein Privilegen-Problem ist. Der Support meinte, ich muss zu einem höherwertigen Produkt wechseln, damit das funktioniert. Das habe ich nicht gemacht.

Ich habe die SQL-Datei aufgemacht und folgendes eingetragen:

DEFINER='xxx'@'xxxx'

mit

DEFINER=CURRENT_USER

ersetzt

Wie hier der User @rubbercut hier beschreibt https://forum.oxid-esales.com/t/allgemeind-frage-zur-datenbank/52154/8:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.