Hallo
Erhalte folgende Fehlermeldung wenn ich den Shop (tt_products 2.4.9)auf eine andere Sprache per GPL im Frontend aufrufe:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /typo3_src-3.8.1/t3lib/class.t3lib_db.php on line 754
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /typo3_src-3.8.1/t3lib/class.t3lib_db.php on line 741
Warning: Cannot modify header information - headers already sent by (output started at /typo3_src-3.8.1/t3lib/class.t3lib_db.php:754) in /typo3_src-3.8.1/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2614
Mein TS im Setup sieht folgendermapen aus:
[TS]config.linkVars = L
//Deutsch
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = de
config.locale_all = german
// English language, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
config.locale_all = english
[global][/TS]
In den Constants steht folgendes:
[TS]//Deutsch default
plugin.tt_products{
file.templateFile = products_template_css_neu*.html
alwaysInStock=1
agbtarget = _blank
clickIntoBasket = 1
NoSingleViewOnList = 0
useStaticInfoCountry = 1
maxW_list = 100
maxW_popup = 550
maxH_list = 0
maxW_single = 190
orderEmail_to = xxx
orderEmail_from = xxx
orderEmail_fromName = xxx Online Shop
orderNumberPrefix = Order_
update_code = xxx
domain = xxx
PIDbasket = 10
PID_sys_products_orders = 42
PIDitemDisplay = 45
PIDtracking = 41
PIDagb = 34
PIDdelivery = 57
PIDbilling = 58
outputfolder = fileadmin/data
requiredInfoFields = name,address,telephone,email,city,zip,country
plugin.tt_products.AGBattachment = EXT:tt_products/template/agb_de.txt
}
plugin.tt_products.file.noImageAvailable = kein_bild*.jpg
plugin.tt_products.TAXpercentage = 16
plugin.tt_products.limit = 15
plugin.tt_products.orderBy = itemnumber
plugin.tt_products.conf.tt_products.ALL.orderBy = itemnumber
// English
[globalVar = GP:L = 1]
plugin.tt_products{
file.templateFile = products_template_css_neu*.html
alwaysInStock=1
agbtarget = _blank
clickIntoBasket = 1
NoSingleViewOnList = 0
useStaticInfoCountry = 1
maxW_list = 100
maxW_popup = 550
maxH_list = 0
maxW_single = 190
orderEmail_to = xxx
orderEmail_from = xxx
orderEmail_fromName = xxx Online Shop
orderNumberPrefix = Order_
update_code = xxxx
domain = xxxx
PIDbasket = 10
PID_sys_products_orders = 42
PIDitemDisplay = 45
PIDtracking = 41
PIDagb = 34
PIDdelivery = 57
PIDbilling = 58
outputfolder = fileadmin/data
requiredInfoFields = name,address,telephone,email,city,zip,country
plugin.tt_products.AGBattachment = EXT:tt_products/template/agb_gb.txt
}
plugin.tt_products.file.noImageAvailable = kein_bild*.jpg
plugin.tt_products.TAXpercentage = 16
plugin.tt_products.limit = 15
plugin.tt_products.orderBy = itemnumber
plugin.tt_products.conf.tt_products.ALL.orderBy = itemnumber
[global][/TS]
Habe für die Englische Variante erst mal alles gleich gelassen. Dementsprechend müsste dann auch das deutsche Template angezeigt werden. Aber es kommt wie gesagt die obige Fehlermeldung.
Ich habe auf der englischen Seite das Plugin Produkte eingefügt und auf den Ordner mit der alternativen Sprachvariante und der Produktkategorie verlinkt.
Vielleicht kennt ja jemand das Problem mit der Fehlermeldung.
PS: Wenn ich im Produkt Plugin den Inhaltstyp auf "Allgemein: Hilfe" stelle kommt folgende Fehlermeldung auf der Seite der Alternativsprache im Frontend:
TYPO3 Fatal Error: Extension key "" was NOT loaded! (t3lib_extMgm::extPath)