Zum Inhalt springen

tx_thmailformplus verursacht fehler in t3 backend suche

Erstellt am 25. Oktober 2008 · 1 Antwort · letzte Antwort am 25. Oktober 2008

Tags: TCA, Datenbank, Frage

teddy86 ·

Hallo Forum!

ich habe die Extension tx_thmailformplus in der aktuellen version unter t3 4.2.2 am laufen. soweit läuft auch alles prima.

dummerweise wird mir aber bei einer suchanfrage im backend (lupe im rechten oberen bereich) eine fehlermeldung ausgegeben. sql debug sagt hierzu folgendes:

caller t3lib_DB::exec_SELECTquery
ERROR Unknown column 'email_html_as_attachment' in 'where clause'
lastBuiltQuery SELECT count(*)
FROM tx_thmailformplus_main
WHERE
pid IN (1,7,6,31,129,130,29,5,15,127,14,13,12,11,10,9,8,128,4,38,43,42,41,40,39,37,49,48,47,46,45,44,36,3,2,50,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,123,30,52,35,34,33,16,122,17,18,19,20,21,32,125,51,124,0) AND (uid LIKE '%tet%' OR email_to LIKE '%tet%' OR email_subject LIKE '%tet%' OR email_sender LIKE '%tet%' OR email_requiredfields LIKE '%tet%' OR email_html_as_attachment LIKE '%tet%' OR email_replyto LIKE '%tet%' OR email_sendtouser LIKE '%tet%' OR email_subject_user LIKE '%tet%')
debug_backtrace SC_db_list->main#451 // recordList->generateList#295 // localRecordList->getTable#268 // recordList->setTotalItems#387 // t3lib_DB->exec_SELECTquery#490 // t3lib_DB->debug#234

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /www/typo3/typo3_src-4.2.2/t3lib/class.t3lib_db.php on line 823

Warning: Cannot modify header information - headers already sent by (output started at /www/typo3/typo3_src-4.2.2/t3lib/class.t3lib_db.php:1140) in /www/typo3/typo3_src-4.2.2/typo3/template.php on line 632

wie bekomme ich diese fehlermeldung wohl am besten weg?!

viele grüße
ted

just2b ·

Hallo,

/html/typo3conf/ext/th_mailformplus/tca.php
entferne den block

		"email_html_as_attachment" => Array (
                        'exclude' => 1,
                        'label' => 'LLL:EXT:th_mailformplus/locallang_db.php:tx_thmailformplus_main.email_html_as_attachment',
                        'config' => Array (
                            'type' => 'input',
                            'size' => '1',
                        )
                ),

und lösch den cache

georg