Jump to content
xt:Commerce Community Forum

Abbruch beim Bestellvorgang


klerafukan

Recommended Posts

Hallo zusammen!

Wenn ich bei einer ganz frischen Neuinstallation von xt:Commerce 4.2.0 die Versandart in der "Kasse" auswählen will, stoppt der Vorgang und er lädt ein kleines Fehlerprotokoll mit 0 Byte herunter.

In der php.log vom Zend Server kann ich folgendes lesen:


[20-Nov-2014 16:39:45 Europe/Berlin] PHP Warning:  Illegal string offset 'customer_default_address' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 101

[20-Nov-2014 16:39:45 Europe/Berlin] PHP Warning:  Illegal string offset 'products' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 107

[20-Nov-2014 16:39:45 Europe/Berlin] PHP Warning:  Illegal string offset 'count' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 113

[20-Nov-2014 16:39:45 Europe/Berlin] PHP Warning:  Illegal string offset 'total' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 119

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'customer_shipping_address' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.shipping.php on line 96

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'products' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.shipping.php on line 102

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'weight' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.shipping.php on line 108

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'count' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.shipping.php on line 114

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'total' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.shipping.php on line 120

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'customer_default_address' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 101

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'products' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 107

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'count' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 113

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'total' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 119

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'customer_default_address' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 101

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'products' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 107

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'count' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 113

[20-Nov-2014 16:39:46 Europe/Berlin] PHP Warning:  Illegal string offset 'total' in C:\Program Files (x86)\Zend\Apache2\htdocs\xtc_4200\xtFramework\classes\class.payment.php on line 119

Ich meine das sind nur Warnings, aber wenn ich die betreffenden Zeilen in der class.payment.php auskommentiere, dann geht der Bestellvorgang durch:


if(!empty($data['language'])){
$this->lang = $data['language'];
}else{
$this->lang = $language->code;
}

if(is_data($data['customer_default_address'])){
$this->billing_address = $data['customer_default_address'];
}else{
$this->billing_address = $_SESSION['customer']->customer_payment_address;
}

if(is_data($data['products'])){
$this->products = $data['products'];
}else{
$this->products = $_SESSION['cart']->show_content;
}

if(is_data($data['count'])){
$this->count = $data['count'];
}else{
$this->count = $_SESSION['cart']->content_count;
}

if(is_data($data['total'])){
$this->total = $data['total'];
}else{
$this->total = $_SESSION['cart']->total;
}
[/PHP]

Scheint nicht Shopspezifisch zu sein, bei der Installation der 4.1.10 gab es ähnliche Probleme.

Hat wer eine Idee?

Grüße!

Tilmann

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...