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  
22-10-08 10:01:25 AJAX-Fehler nach Update
Uli Linn
Hallo!

Ich arbeite mit T3 4.2.2 und tt_products 2.7. - alles prima, bis ein Fehler im IE aufgetaucht ist - jedesmal wenn ich im List-View eine andere Artikel-Größe wähle, wird ein XML-Fehler angezeigt. Im Firefox ändert sich der Preis - so wie es sein sollte.

Ich habe nun auf 2.7.0.34 geupdaten - und habe nun einen anderen XML-Error dafür aber bei IE und Firefox! Hier der Fehler:

Error: the XML response that was returned from the server is invalid.
Received:
<br />
<b>Fatal error</b>: Call to a member function getReplaceTaxPercentage() on a non-object in <b>/html/typo3conf/ext/tt_products/model/field/class.tx_ttproducts_field_price.php</b> on line <b>225</b><br />

You have whitespace in your response.

Irgendeine Idee woran's liegt? Ist relativ dringend, weil die Seite längst im Produktiv-Betrieb ist.

Vielen Dank schon mal!

Uli
24-10-08 11:01:10 Korrektur
Franz Holzinger
In tt_products/model/field/class.tx_ttproducts_field_price.php Zeile 225 folgende Änderung machen:

----------------
$paymentshippingObj = &t3lib_div::getUserObj('&tx_ttproducts_paymentshipping');
if (isset($paymentshippingObj) && is_object($paymentshippingObj)) {
$taxFromShipping = $paymentshippingObj->getReplaceTaxPercentage(); // if set then this has a tax which will override the tax of the products
}
24-10-08 12:03:23 Korrektur funzt nicht
Uli Linn
Hallo!

Danke für die schnelle Hilfe - funktioniert prima!

Uli
< Zurück zum Forum