Nach update auf 6.3.1 keine Artikelsuche mehr

Hallo Leute ich bin am verzweifeln.
Ich bin kein Experte und brauche dringend eure hilfe.

Nach dem Update von Oxid 6.2.3 auf 6.3.1 welches auch alles ohne Fehler funktioniert hat und soweit auch der Shop läuft,
geht die Artikelsuch nicht mehr.

Sobald ich nach einem Artikel suche im Shop Suchfenster bekomme ich ein Maintenance mode, please try again later.
Ich hab alles in einer Testumgebung gemacht und möchte den Liveshop gerne updaten was ich mich nicht traue.
Der Rest vom Shop scheint normal zu laufen.
Ich denke ist dürfte ein Fehler in der Datenbank sein, weil nach einer Neuinstallation von Oxid 6.3.1 und dem einspielen der aktuellen Datenbank die Suchfunktion auch nicht mehr geht.
Bei der erzeugten neuen Datenbank geht die Suche wieder.

Bitte dringend um Hilfe.

Danke allen Helfern im Voraus.

Gruß
Bohne

Was steht den in oxideshop.log? Die ist im Verzeichnis /source/log zu finden!
Vermutlich suchst du in einer Tabelle, die es nicht (mehr) gibt.

Das ist die oxideshop.log Datei, die XXXXXXXXXXXX sind der Pfad den hab ich ausgetauscht.

Mir sagt das nicht viel und ich hoffe auf eure Hilfe.

[2021-09-28 12:45:29] OXID Logger.ERROR: Unknown column ‘oxv_oxarticles_de.oetags’ in ‘where clause’ ["[object] (OxidEsales\Eshop\Core\Exception\DatabaseErrorException(code: 1054): Unknown column ‘oxv_oxarticles_de.oetags’ in ‘where clause’ at XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Core\Database\Adapter\Doctrine\Database.php:954, Doctrine\DBAL\Exception\InvalidFieldNameException(code: 0): An exception occurred while executing 'select oxv_oxarticles_de.oxid, oxv_oxarticles_de.oxtimestamp from oxv_oxarticles_de where ( oxv_oxarticles_de.oxactive = 1 and oxv_oxarticles_de.oxhidden = 0 and ( oxv_oxarticles_de.oxstockflag != 2 or ( oxv_oxarticles_de.oxstock + oxv_oxarticles_de.oxvarstock ) > 0 ) and IF( oxv_oxarticles_de.oxvarcount = 0, 1, ( select 1 from oxv_oxarticles_de as art where art.oxparentid=oxv_oxarticles_de.oxid and art.oxactive = 1 and ( art.oxstockflag != 2 or art.oxstock > 0 ) limit 1 ) ) ) and oxv_oxarticles_de.oxparentid = ‘’ and oxv_oxarticles_de.oxissearch = 1 and ( ( oxv_oxarticles_de.oxtitle like ‘%yad%’ or oxv_oxarticles_de.oxshortdesc like ‘%yad%’ or oxv_oxarticles_de.oxsearchkeys like ‘%yad%’ or oxv_oxarticles_de.oxartnum like ‘%yad%’ or oxv_oxarticles_de.oetags like ‘%yad%’ ) ) LIMIT 10 OFFSET 0 ':\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column ‘oxv_oxarticles_de.oetags’ in ‘where clause’ at XXXXXXXXXXXXXXXX\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\AbstractMySQLDriver.php:79, Doctrine\DBAL\Driver\PDO\Exception(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘oxv_oxarticles_de.oetags’ in ‘where clause’ at XXXXXXXXXXXXXXXX\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDO\Exception.php:18, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘oxv_oxarticles_de.oetags’ in ‘where clause’ at XXXXXXXXXXXXXXXX\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:125)\n[stacktrace]\n#0 XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Core\Database\Adapter\Doctrine\Database.php(614): OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\Database->convertException(Object(Doctrine\DBAL\Exception\InvalidFieldNameException))\n#1 XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Core\Database\Adapter\Doctrine\Database.php(710): OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\Database->select(‘select oxv_oxa...', Array)\n#2 XXXXXXXXXXXXXXXX\\vendor\\oxid-esales\\oxideshop-ce\\source\\Core\\Model\\ListModel.php(371): OxidEsales\\EshopCommunity\\Core\\Database\\Adapter\\Doctrine\\Database->selectLimit('select oxv_oxa…’, 10, 0, Array)\n#3 XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Application\Model\ArticleList.php(72): OxidEsales\EshopCommunity\Core\Model\ListModel->selectString(‘select oxv_oxa...', Array)\n#4 XXXXXXXXXXXXXXXX\\vendor\\oxid-esales\\oxideshop-ce\\source\\Application\\Model\\Search.php(75): OxidEsales\\EshopCommunity\\Application\\Model\\ArticleList->selectString('select oxv_oxa…’)\n#5 XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Application\Controller\SearchController.php(186): OxidEsales\EshopCommunity\Application\Model\Search->getSearchArticles(‘yad’, ‘’, ‘’, ‘’, NULL)\n#6 XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Core\ShopControl.php(398): OxidEsales\EshopCommunity\Application\Controller\SearchController->init()\n#7 XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Core\ShopControl.php(278): OxidEsales\EshopCommunity\Core\ShopControl->_initializeViewObject(‘OxidEsales\\Esho…’, NULL, NULL, NULL)\n#8 XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Core\ShopControl.php(142): OxidEsales\EshopCommunity\Core\ShopControl->_process(‘OxidEsales\\Esho…’, NULL, NULL, NULL)\n#9 XXXXXXXXXXXXXXXX\vendor\oxid-esales\oxideshop-ce\source\Core\Oxid.php(27): OxidEsales\EshopCommunity\Core\ShopControl->start()\n#10 XXXXXXXXXXXXXXXX\source\index.php(16): OxidEsales\EshopCommunity\Core\Oxid::run()\n#11 {main}\n"] []

Ja, das Problem steht gleich in der 1. Zeile!
Vielleicht reicht es schon die views neu zu erstellen! oxv_oxarticles_de.oetags Tabelle nicht vorhanden.
Ansonsten Plan B
Gehe in das Backend, Stammdaten - Grundeinstellungen - Einst. - Suche lösche dort die Suchbedingung für die Tags (oxtags) raus.

Steffen Winde

1 Like

[2021-09-28 12:45:29] OXID Logger.ERROR: Unknown column ‘oxv_oxarticles_de.oetags’

Die Tags Funktionalität wurde mit der 6er Serie entfernt beachte Extracted features — OXID eShop developer documentation 6.1.0 documentation und Database — OXID eShop developer documentation 6.1.0 documentation

Wahrscheinlich bereits die Datenbank Migration von 4.10 Serie auf 6er Serie bezüglich Datenbank unvollständig. Dort müsste man im Detail untersuchen was dort im Argen liegt nach dem Update von 6.2 auf 6.3 Serie.

Hattest bereits mal die Datenbank Views über den Admin aktualisiert?

Ah okay dies wird Grund sein.

Hallo Leute Ihr seid spitze.
Genau das war der Grund.

Ich hab die oetags gelöscht und schon geht es wieder.

Danke für eure schnelle Hilfe.

Gruß Bohne

2 Likes

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