Zurück   xt:Commerce Webshop Shop Support > xt:Commerce Shopsoftware Community Area > Shopbereich

Antwort
 
LinkBack Themen-Optionen Ansicht
  #1 (permalink)  
Alt 30.08.2006, 17:04
Erfahrener Benutzer
 
Registriert seit: 07.04.2005
Beiträge: 127
Standard Fehler in Bestellnachbearbeitung

3.0.4. SP 2.1

Hallo,

habe in einem "alten" Shop ("3.0.4 SP 1") die Bestellnachbearbeitung erst
mal getestet (hatte es noch nie ausprobiert) damit ich auch weiss wie es
funktioniert. In dem Shop hat es auch prima funktioniert!

Im aktuellen Shop (3.0.4 SP 2.1) habe ich folgendes Problem:
Bei der Nachbearbeitung der Versanddaten kann ich zwar alle
auswählen und auch speichern. Daten werden im ersten Schritt
übernommen.

Wenn ich aber die Versandart auf eigenes Selfpick ändere und
anschließend den Speicher Button rechts unten anwähle bekomme
ich folgende Fehlermeldung.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 30.08.2006, 17:14
Benutzer
 
Registriert seit: 01.09.2005
Beiträge: 89
Standard

Na bei der Meldung wirds ja nich so schlimm sein
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 30.08.2006, 17:36
Erfahrener Benutzer
 
Registriert seit: 07.04.2005
Beiträge: 127
Standard

PHP-Code:
Warningconstant() [function.constant]: Couldn't find constant MODULE_SHIPPING_SELFPICKUPNEW_TAX_CLASS in /home/xxx/public_html/shop2/admin/orders_edit.php on line 532

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/shop2/admin/orders_edit.php:532) in /home/xxx/public_html/shop2/admin/includes/functions/general.php on line 130 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 30.08.2006, 17:41
Benutzer
 
Registriert seit: 01.09.2005
Beiträge: 89
Standard

Halt, ein Edit - Problem gefunden! Öffne admin/orders_edit.php und ersetze
PHP-Code:
                if ($module_tmp_name != 'selfpickup') { 
in Zeile 530 durch
PHP-Code:
                if ($module_tmp_name != 'selfpickup' && $module_tmp_name != 'selfpickupnew') { 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 30.08.2006, 17:48
Erfahrener Benutzer
 
Registriert seit: 07.04.2005
Beiträge: 127
Standard

SUPI !!!

Jetzt gehts .. Danke
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 05.09.2006, 21:10
Erfahrener Benutzer
 
Registriert seit: 20.01.2005
Beiträge: 123
Standard

Hallo,

bekomme auch folgende Meldung beim nachbearbeietn von Kundenbestellungen.

Zitat:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/web11/html/admin/orders_edit.php:1) in /var/www/web11/html/admin/includes/application_top.php on line 338

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web11/html/admin/orders_edit.php:1) in /var/www/web11/html/admin/includes/functions/general.php on line 130
Kann mir jemand einen Tip geben, wo ich was ändern muss, bzw. woran das liegt ?

Danke und Gruß

ducky
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 07.09.2006, 21:42
Erfahrener Benutzer
 
Registriert seit: 20.01.2005
Beiträge: 123
Standard

ok problem gelöst, da hat sich ein Buchstabe eingeschlichen.

Nu habe ich das gleiche Problem wie @batman56 gehabt hat.

Habe auch die ANweisung von @casellini befolgt, allerdings hat es das problem nicht gelöst

bekomme noch immer folgende Meldung
Zitat:
Warning: constant(): Couldn't find constant MODULE_SHIPPING_FREEAMOUNT_TAX_CLASS in /var/www/web11/html/admin/orders_edit.php on line 501

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web11/html/admin/orders_edit.php:501) in /var/www/web11/html/admin/includes/functions/general.php on line 130


Wo kann das nun dran liegen ?
Gruß ducky


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #8 (permalink)  
Alt 07.09.2006, 22:49
xt:Commerce Support Kunde
 
Registriert seit: 24.09.2005
Beiträge: 1.596
Standard

Hi ducky,

eigentlich gibt deine Felhermeldung doch schon gute Tipps:

Schau' mal in Zeile 501 der order_edit.php

Ich denke, dort solltest Du einen (schreib)-Fehler entdecken..


Ben
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #9 (permalink)  
Alt 07.09.2006, 22:58
Erfahrener Benutzer
 
Registriert seit: 20.01.2005
Beiträge: 123
Standard

Zitat:
$module_tax_class = constant(MODULE_SHIPPING_.strtoupper($module_tmp_n ame)._TAX_CLASS);
ich bin leider kein PHP Kenner und lerne gerade damit umzugehen.

o. gen. Zitat steht in der Zeile 501 der order_edit.php

mir kommt dieses Wortlaut strtoupper irgendwie komsich vor, kann das der fehler sein, weiss leider nicht, wie es eigentlich aussehen soll.

Vielleicht kannst mir nochmal behilflich sein.
Würd mich freuen

PS Glaube es liegt an den Ausrufezeichen, werde da mal efolgendes testen [0], so ist es im Original shop

ducky

EDIT: Daran lag es nicht

Geändert von ducky (07.09.2006 um 23:08 Uhr)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #10 (permalink)  
Alt 07.09.2006, 23:10
Erfahrener Benutzer
 
Registriert seit: 20.01.2005
Beiträge: 123
Standard Um die Überischt net zu verlieren muss ich doppelposten!

Zitat:
// Module Anfang
$module_query = xtc_db_query("select value, class from ".TABLE_ORDERS_TOTAL." where orders_id = '".$_POST['oID']."' and class!='ot_total' and class!='ot_subtotal_no_tax' and class!='ot_tax' and class!='ot_subtotal'");
while ($module_value = xtc_db_fetch_array($module_query)) {
;

$module_name = str_replace('ot_', '', $module_value['class']);

if ($module_name != 'discount') {
if ($module_name != 'shipping') {
$module_tax_class = constant(MODULE_ORDER_TOTAL_.strtoupper($module_na me)._TAX_CLASS);
} else {
$module_tmp_name = split('_', $order->info['shipping_class']);
$module_tmp_name = $module_tmp_name[0];
if ($module_tmp_name [0]= 'selfpickup' &&$module_tmp_name [0]= 'selfpickupnew') {
$module_tax_class = constant(MODULE_SHIPPING_.strtoupper($module_tmp_n ame)._TAX_CLASS);
}else{
$module_tax_class = '';
}
}
} else {
$module_tax_class = '0';
}

$cinfo = xtc_oe_customer_infos($order->customer['ID']);
$module_tax_rate = xtc_get_tax_rate($module_tax_class, $cinfo['country_id'], $cinfo['zone_id']);

$status_query = xtc_db_query("select customers_status_show_price_tax from ".TABLE_CUSTOMERS_STATUS." where customers_status_id = '".$order->info['status']."'");
$status = xtc_db_fetch_array($status_query);

if ($status['customers_status_show_price_tax'] == 1) {
$module_b_price = $module_value['value'];
if ($module_tax == '0') {
$module_n_price = $module_value['value'];
} else {
$module_n_price = $xtPrice->xtcRemoveTax($module_b_price, $module_tax_rate);
}
$module_tax = $xtPrice->calcTax($module_n_price, $module_tax_rate);
} else {
$module_n_price = $module_value['value'];
$module_b_price = $xtPrice->xtcAddTax($module_n_price, $module_tax_rate);
$module_tax = $xtPrice->calcTax($module_n_price, $module_tax_rate);
}

$sql_data_array = array ('orders_id' => xtc_db_prepare_input($_POST['oID']), 'n_price' => xtc_db_prepare_input($module_n_price), 'b_price' => xtc_db_prepare_input($module_b_price), 'tax' => xtc_db_prepare_input($module_tax), 'tax_rate' => xtc_db_prepare_input($module_tax_rate));

$insert_sql_data = array ('class' => $module_value['class']);
$sql_data_array = xtc_array_merge($sql_data_array, $insert_sql_data);
xtc_db_perform(TABLE_ORDERS_RECALCULATE, $sql_data_array);
}
// Module Ende
So sieht derzeit der Teil in der order_edit.php aus.

Kannst du da was verkehrtes entdecken?

Gruß ducky

Geändert von ducky (07.09.2006 um 23:15 Uhr)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
bestellnachbearbeitung, fehler

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 00:07 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand