Franz Holzinger

Verse of the day

Bei Gott ist mein Heil, meine Ehre, der Fels meiner Stärke; meine Zuversicht ist auf Gott.
Psalm 62:7

© Bible Gateway's Verse of the Day


autor  
16-05-16 10:33:13 SQL-Error unter TYPO3 7.6.6
Nadine Wohlrabe
Beim Betrachen oder Ändern eines Produktes erhalte ich immer folgende Fehlermeldung im Backend:

array(4 items)
caller => "TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery" (60 chars)
ERROR => "Table 'db445254.tt_products_products_mm_damcat' doesn't exist" (61 chars)
lastBuiltQuery => "SELECT * FROM tt_products_products_mm_damcat WHERE uid_local=2 ORDER BY sort
ing" (79 chars)

-------------------------------------------------------------

Ich habe kein DAM installiert, will ich auch nicht.

Gruß und Danke
17-05-16 11:01:48 nicht nachvollziehbar
Franz Holzinger
Ich kann diesen Fehler nicht reproduzieren. Das TCA für tt_products damcat hat die Bedingung bereits gesetzt, dass DAM installiert sein muss.

Aber andererseits gibt es die DAM Extension nur für TYPO3 4.7. D.h. ab TYPO3 6.2 steht das ohnehin nicht mehr zur Verfügung.

Also einfach die Datei Configuration/TCA/tt_products.php editieren und den ganzen Bereich mit 'damcat' herauslöschen.

'damcat' => array (
'exclude' => 1,
'label' => 'LLL:EXT:' . TT_PRODUCTS_EXT . '/locallang_db.xml:tt_products.damcat',
'displayCond' => 'EXT:' . DAM_EXT . ':LOADED:true',
'config' => array (
'type' => 'group',
'internal_type' => 'db',
'allowed' => 'tx_dam_cat',
'MM' => 'tt_products_products_mm_damcat',
'size' => '12',
'autoSizeMax' => '30',
'minitems' => '0',
'maxitems' => '30',
'show_thumbs' => '1',
),
),
17-05-16 12:01:01 Es fehlte bei 2.12 folgende Tabelle in der ext_Tables.sql
Nadine Wohlrabe
Fehlende Datenbankeinträge in ext_tables.sql

#
# Table structure for table 'tt_products_products_mm_damcat'
#
CREATE TABLE tt_products_products_mm_damcat (
uid_local int(11) unsigned DEFAULT '0' NOT NULL,
uid_foreign int(11) unsigned DEFAULT '0' NOT NULL,
tablenames varchar(30) DEFAULT '' NOT NULL,
sorting int(11) unsigned DEFAULT '0' NOT NULL,
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
< Zurück zum Forum