Franz Holzinger

Verse of the day

Denn es ist ein Gott und ein Mittler zwischen Gott und den Menschen, nämlich der Mensch Christus Jesus, der sich selbst gegeben hat für alle zur Erlösung, daß solches zu seiner Zeit gepredigt würde;
1 Timotheus 2:5-6

© Bible Gateway's Verse of the Day


autor  
31-05-16 12:01:36 Zubehör und ähnliche Produkte gehen nicht
Nadine Wohlrabe
Hallo, ich habe im Template der Single-View folgendes stehen:

<!--hier steht Zubehoer zum Produkt-->
Zubehör: ###PRODUCT_ACCESSORY_UID###
###PRODUCT_RELATED_UID###
<!-- ende: Zubehoer-->

leider erscheint überhaupt keine Anzeige.
8-06-16 14:36:49 debug
Franz Holzinger
Gibt es einen Eintrag in der SQL Debug Datei?
Sind die Ausgangspunkte (pid_list) richtig gesetzt?

9-06-16 10:15:06 Ja gibt einen Eintrag
Nadine Wohlrabe

http://www.typo3-shop.de/erweiterungen/shop-tt-products/produktdetails/z/eispulver/products/neutral-fibre.html


exec_SELECTquery

caller TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery

ERROR Unknown column 'title' in 'order clause'

lastBuiltQuery SELECT * FROM tt_products_accessory_products_products_mm WHERE uid_local = 8 ORDER BY title

debug_backtrace require(typo3_src-6.2.19/typo3/sysext/cms/tslib/index_ts.php),typo3_src-6.2.19/index.php#28 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript#232 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent#3644 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process#3677 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER#3729 // TYPO3\CMS\Frontend\ContentObject\UserContentObject->render#862 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction#41 // call_user_func_array#6665 // tx_ttproducts_pi1->main# // tx_ttproducts_pi1_base->main#71 // tx_ttproducts_main->run#85 // tx_ttproducts_main->products_display#865 // tx_ttproducts_single_view->printView#1558 // tx_ttproducts_relatedlist_view->getListMarkerArray#1277 // tx_ttproducts_product->getRelated#228 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_SELECTgetRows#451 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_SELECTquery#370 // TYPO3\CMS\Core\Database\DatabaseConnection->debug#305



exec_SELECTquery

caller TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery

ERROR Unknown column 'title' in 'order clause'

lastBuiltQuery SELECT * FROM tt_products_accessory_products_products_mm WHERE uid_local = 8 ORDER BY title

debug_backtrace require(typo3_src-6.2.19/typo3/sysext/cms/tslib/index_ts.php),typo3_src-6.2.19/index.php#28 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript#232 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent#3644 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process#3677 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER#3729 // TYPO3\CMS\Frontend\ContentObject\UserContentObject->render#862 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction#41 // call_user_func_array#6665 // tx_ttproducts_pi1->main# // tx_ttproducts_pi1_base->main#71 // tx_ttproducts_main->run#85 // tx_ttproducts_main->products_display#865 // tx_ttproducts_single_view->printView#1558 // tx_ttproducts_relatedlist_view->getListMarkerArray#1277 // tx_ttproducts_product->getRelated#228 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_SELECTgetRows#451 // TYPO3\CMS\Core\Database\DatabaseConnection->debug#372



exec_SELECTquery

caller TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery

ERROR Unknown column 'title' in 'order clause'

lastBuiltQuery SELECT * FROM tt_products_related_products_products_mm WHERE uid_local = 8 ORDER BY title

debug_backtrace require(typo3_src-6.2.19/typo3/sysext/cms/tslib/index_ts.php),typo3_src-6.2.19/index.php#28 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript#232 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent#3644 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process#3677 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER#3729 // TYPO3\CMS\Frontend\ContentObject\UserContentObject->render#862 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction#41 // call_user_func_array#6665 // tx_ttproducts_pi1->main# // tx_ttproducts_pi1_base->main#71 // tx_ttproducts_main->run#85 // tx_ttproducts_main->products_display#865 // tx_ttproducts_single_view->printView#1558 // tx_ttproducts_relatedlist_view->getListMarkerArray#1277 // tx_ttproducts_product->getRelated#228 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_SELECTgetRows#451 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_SELECTquery#370 // TYPO3\CMS\Core\Database\DatabaseConnection->debug#305



exec_SELECTquery

caller TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery

ERROR Unknown column 'title' in 'order clause'

lastBuiltQuery SELECT * FROM tt_products_related_products_products_mm WHERE uid_local = 8 ORDER BY title

debug_backtrace require(typo3_src-6.2.19/typo3/sysext/cms/tslib/index_ts.php),typo3_src-6.2.19/index.php#28 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript#232 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent#3644 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process#3677 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER#3729 // TYPO3\CMS\Frontend\ContentObject\UserContentObject->render#862 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction#41 // call_user_func_array#6665 // tx_ttproducts_pi1->main# // tx_ttproducts_pi1_base->main#71 // tx_ttproducts_main->run#85 // tx_ttproducts_main->products_display#865 // tx_ttproducts_single_view->printView#1558 // tx_ttproducts_relatedlist_view->getListMarkerArray#1277 // tx_ttproducts_product->getRelated#228 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_SELECTgetRows#451 // TYPO3\CMS\Core\Database\DatabaseConnection->debug#372

11-06-16 17:00:36 Korrektur
Franz Holzinger
Ich habe den Fehler nun in tt_products 2.12.0.14 behoben.
Die Sortierung ist fehlerhaft gewesen. Es ist irrtümlich der Parameter $orderBy für die Sortierung der mm-Tabellen wie tt_products_accessory_products_products_mm und tt_products_related_products_products_mm verwendet worden. Dort muss es aber über das Feld sorting_foreign sortiert werden, weil damit die Reihenfolge bei der Zuweisung beim Produkt erhalten bleibt. Dieses Feld hat außerdem noch in der jeweiligen Datenbanktabelle gefehlt.
< Zurück zum Forum