#1 (permalink)  
Alt 03.12.2009, 16:27
Neuer Benutzer
 
Registriert seit: 25.10.2009
Beiträge: 5
Standard Fehlermeldung bei Bestellvorgang php code im browserfenster

so nach meinem installationsproblem, dass übrigens gelöst worden ist dass ich anstatt xampp und ein win2008 server extra apache php und mysql und einen win 2003 server genommen habe und es gab keine probleme mehr mit ioncube.....
aber....

Alles ist soweit so gut,
aber nachdem man zur kasse gehen will gibt der browser als erstes in textform folgendes aus :
content)==0) { $xtLink->_redirect($xtLink->_link(array('page'=>'cart'))); } $_SESSION['cart']->_checkCustomersStatusRange('shipping'); $brotkrumen->_addItem($xtLink->_link(array('page'=>'cart')),TEXT_CART); $brotkrumen->_addItem($xtLink->_link(array('page'=>'checkout','paction'=>'shippi ng', 'conn'=>'SSL')),TEXT_SHIPPING_METHOD); ?>

dahinter folgt dann der shop...
nach drücken des weiter buttons , zur erklärung ich habe nur eine versandart angegeben,wird der "kopf" mit der sogenannten (?)
fehlermeldung immer länger....und zwar :

content)==0) { $xtLink->_redirect($xtLink->_link(array('page'=>'cart'))); } $_SESSION['cart']->_checkCustomersStatusRange('payment'); $brotkrumen->_addItem($xtLink->_link(array('page'=>'cart')),TEXT_CART); $brotkrumen->_addItem($xtLink->_link(array('page'=>'checkout','paction'=>'shippi ng', 'conn'=>'SSL')),TEXT_SHIPPING_METHOD); $brotkrumen->_addItem($xtLink->_link(array('page'=>'checkout','paction'=>'paymen t', 'conn'=>'SSL')),TEXT_PAYMENT_METHOD); if (isset($_SESSION['selected_payment_sub'])) unset($_SESSION['selected_payment_sub']); if(empty($_SESSION['selected_shipping'])){ $info->_addInfo(ERROR_NO_SHIPPING_SELECTED); $checkout_data['page_action'] = 'shipping'; } unset($_SESSION['conditions_accepted']); unset($_SESSION['rescission_accepted']); ?>

dann kann ich im shop z.b. rechnung auswählen beim nächsten drücken von weiter wir dieser "kopf" noch länger....

content)==0) { $xtLink->_redirect($xtLink->_link(array('page'=>'cart'))); } $_SESSION['cart']->_checkCustomersStatusRange('confirmation'); $brotkrumen->_addItem($xtLink->_link(array('page'=>'cart')),TEXT_CART); $brotkrumen->_addItem($xtLink->_link(array('page'=>'checkout','paction'=>'shippi ng', 'conn'=>'SSL')),TEXT_SHIPPING_METHOD); $brotkrumen->_addItem($xtLink->_link(array('page'=>'checkout','paction'=>'paymen t', 'conn'=>'SSL')),TEXT_PAYMENT_METHOD); $brotkrumen->_addItem($xtLink->_link(array('page'=>'checkout','paction'=>'confir mation', 'conn'=>'SSL')),TEXT_CONFIRMATION); if(empty($_SESSION['selected_payment'])){ $info->_addInfo(ERROR_NO_PAYMENT_SELECTED); $checkout_data['page_action'] = 'payment'; } // sub payment ? if (strpos($_SESSION['selected_payment'],':')) { $_payments = explode(':',$_SESSION['selected_payment']); $_SESSION['selected_payment'] = $_payments[0]; $_SESSION['selected_payment_sub'] = $_payments[1]; } // if isset payment discount, add to card if($_SESSION['conditions_accepted'] != 'true'){ $info->_addInfo(ERROR_CONDITIONS_ACCEPTED); $checkout_data['page_action'] = 'payment'; } $p_data = $checkout->_getPayment(); $payment_info = $p_data[$_SESSION['selected_payment']]; $s_data = $checkout->_getShipping(); $shipping_info = $s_data[$_SESSION['selected_shipping']]; // Shipping $shipping_class_path = _SRV_WEBROOT._SRV_WEB_PLUGINS.$shipping_info['shipping_dir'].'/classes/'; $shipping_class_file = 'class.'.$shipping_info['shipping_code'].'.php'; if (file_exists($shipping_class_path . $shipping_class_file)) { require_once($shipping_class_path.$shipping_class_ file); $shipping_module_data = new $shipping_info['shipping_code'](); } // Payment $payment_class_path = _SRV_WEBROOT._SRV_WEB_PLUGINS.$payment_info['payment_dir'].'/classes/'; $payment_class_file = 'class.'.$payment_info['payment_code'].'.php'; if (file_exists($payment_class_path . $payment_class_file)) { require_once($payment_class_path.$payment_class_fi le); $payment_module_data = new $payment_info['payment_code'](); } ($plugin_code = $xtPlugin->PluginCode('module_checkout.php:checkout_pre_data ')) ? eval($plugin_code) : false; if ($payment_module_data->subpayments===true) { // check if subpayment is allowed if (!in_array($_SESSION['selected_payment_sub'],$payment_module_data->allowed_subpayments)) { $info->_addInfo(ERROR_NO_PAYMENT_SELECTED); $checkout_data['page_action'] = 'payment'; } } if (isset($_SESSION['selected_payment_sub'])) $payment_info['payment_name']=constant('TEXT_PAYMENT_'.strtoupper($_SESSION['selected_payment_sub'])); // post form ? $post_form = 0; if (isset($payment_module_data->post_form) && $payment_module_data->post_form==true) $post_form = 1; $data = array('data' => $_SESSION['cart']->show_content, 'payment_info' => $payment_info, 'shipping_info' => $shipping_info, 'post_form' => $post_form, 'sub_total' => $_SESSION['cart']->content_total['formated'], 'sub_data' => $_SESSION['cart']->show_sub_content, 'tax' => $_SESSION['cart']->tax, 'total' => $_SESSION['cart']->total['formated'] ); ($plugin_code = $xtPlugin->PluginCode('module_checkout.php:checkout_data') ) ? eval($plugin_code) : false; $checkout_data = array_merge($checkout_data, $data); ?>

dann wird nichts angezeigt an der stelle wo man die bestellunmg bestätigten soll

auf der nun folgenden seite wird der kopf kleiner und zwar :
_addItem($xtLink->_link(array('page'=>'checkout','paction'=>'succes s')),TEXT_SUCCESS); $success_order_id = (int)$_SESSION['success_order_id']; $success_order = new order($_SESSION['success_order_id'],$_SESSION['customer']->customers_id); $_show = 'true'; ($plugin_code = $xtPlugin->PluginCode('module_checkout.php:success')) ? eval($plugin_code) : false; // Payment $payment_class_path = _SRV_WEBROOT._SRV_WEB_PLUGINS.$success_order->order_data['payment_code'].'/classes/'; $payment_class_file = 'class.'.$success_order->order_data['payment_code'].'.php'; if (file_exists($payment_class_path . $payment_class_file)) { require_once($payment_class_path.$payment_class_fi le); $payment_module_data = new $success_order->order_data['payment_code'](); } $checkout_data = array('page_action'=>$page_data,'show_next_button' =>$_show); ?>

die bestellung wird auch gebucht und eine email geschickt.....
aber es ist natuerlich störend dass dieser "Fehlermeldungsheader" erscheint....

wer kennt das problem oder kann mir helfen ?
viele gruesse von eucom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 15.12.2009, 12:52
Neuer Benutzer
 
Registriert seit: 08.01.2007
Beiträge: 1
Idee Lösung

Die Dateien im Ordner

xtCore/pages/page_action/checkout.***.php

werden eingeleitet durch den Tag <? welche dadurch nicht durch den PHP Interpreter abgearbeitet werden.

Du hast 2 Möglichkeiten:

1. Setze den beginnenden Tag in den betreffenden Dateien auf <?php

oder

2. Setze in deiner php.ini den Wert "short_open_tag" auf "On"


Grüße wirtie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 16.12.2009, 10:30
Neuer Benutzer
 
Registriert seit: 25.10.2009
Beiträge: 5
Standard Vielen Dank noch ein fehler

Danke für die Antwort...
ich hatte das mittlerweile auch herausgefunden...
ich hab nicht im entferntesten daran gedacht dass im gesamten checkout ordner
in jeder datei "php" gefehlt hat......und zwar schon im original file....

seitdem bin ich auf der hut und habe noch einen fehler der mit der datenbank zu tun hat ....
wenn ich eine kategorie erzeugen will kommt folgende fehlermeldung :

Fatal error: mysql error: [0: ] in EXECUTE("INSERT INTO xt_categories_description ( CATEGORIES_ID, LANGUAGE_CODE ) VALUES ( 6, 'de' )") in C:\Apache2\htdocs\boogieblast\veyton_4012\xtFramew ork\library\adodb\adodb-errorhandler.inc.php on line 77

wenn ich den fehler noch wegbekomme dann kann ich den shop auch richtig benutzen

vielleicht hat jemand dazu auch eine idee...
mfg eucom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
bestellvorgang, browserfenster, code, fehlermeldung, php

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


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Fehlermeldung bei Installation vom Import-Plugin habbelle Fragen zur Software 0 31.08.2009 15:56
Installationsprobleme Apache/winxp wini2 Installation und Konfiguration 18 28.10.2008 11:57


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:28 Uhr.

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

xt:Commerce is a SafeCharge brand