Zum Inhalt springen

Fehlermeldung nach Sprachauswahl

Erstellt am 9. Juli 2006 · 2 Antworten · letzte Antwort am 9. Juli 2006

Tags: Datenbank, Frage

upstroke ·

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:

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]

In den Constants steht folgendes:

//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]

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)

upstroke ·

Danke Franz
Das war eine gute Idee mal neach den Versionen der Plugins zu schauen.
Die Extension fh_library V 0.0.10 schaffte noch keine Abhilfe aber nachdem ich die anderen benötigten Extension upgedated habe ging der Shop dann auch im Englischen.

tt_products 2.4.11
fh_library 0.0.10
sr_static_info 2.0.0
table 0.1.5

Was noch nicht funktioniert:
Wenn ich bei der Singleviewanzeige oder dem Warenkob (betrifft wohl alle Ansichten) von einer Sprache auf die andere wechsle wird leider das falsche Produkt angezeigt bzw ist in der anderen Sprache keine Ware im Warenkorb.

Gruß