Fatal error

Hallo Community wo hab ich noch einen Fehler ? ES kommt nur bei Paypal und Clickandbuy wenn man damit bezahlen will Fatal error: Class ‘sPaymentMean’ not found engine/core/class/sAdmin.php on line 453 anbei mein auszug der sAdmin.php vielleicht hilft es euch ja zur Lösung /\*\* \* Loads the system class of the specified payment (engine/core/class/paymentmeans) \* @param array $paymentData - Array with payment data \* @access public \* @return object or false - \*/ public function sInitiatePaymentClass($paymentData){ include\_once("paymentmeans/".$paymentData['class']); $sPaymentObject = new sPaymentMean(); $sPaymentObject-\>sSYSTEM = &$this-\>sSYSTEM; if (!$sPaymentObject){ $this-\>sSYSTEM-\>E\_CORE\_WARNING("sValidateStep3 #02","Payment-Class not found"); return false; }else { return $sPaymentObject; } } bitte helft mir dringend ich weiss nicht weiter und brauche das Danke

[quote=“junak”]Hallo Community wo hab ich noch einen Fehler ? ES kommt nur bei Paypal und Clickandbuy wenn man damit bezahlen will Fatal error: Class ‘sPaymentMean’ not found in /www/htdocs/w00e5de4/engine/core/class/sAdmin.php on line 453 anbei mein auszug der sAdmin.php vielleicht hilft es euch ja zur Lösung /\*\* \* Loads the system class of the specified payment (engine/core/class/paymentmeans) \* @param array $paymentData - Array with payment data \* @access public \* @return object or false - \*/ public function sInitiatePaymentClass($paymentData){ include\_once("paymentmeans/".$paymentData['class']); $sPaymentObject = new sPaymentMean(); $sPaymentObject-\>sSYSTEM = &$this-\>sSYSTEM; if (!$sPaymentObject){ $this-\>sSYSTEM-\>E\_CORE\_WARNING("sValidateStep3 #02","Payment-Class not found"); return false; }else { return $sPaymentObject; } } bitte helft mir dringend ich weiss nicht weiter und brauche das Danke[/quote] hallo kannst du mal den code von dem pfad class/sAdmin.php on line 453 anzeigen???

Das ist der COde der oben steht. Die paar Zeilen hab ich rauskopiert und hier eingefügt $sPaymentObject = new sPaymentMean(); das ist die Zeile 453

Habe gerade mal ind dem Ordner engine/core/class/paymentmeans nachgesehen und dort liegen keine DAten warum auch immer und so wie ich den Code verstehe will er dort was finden kann einer mal bei sich nachsehen ob dort Daten liegen wenn man Click and Buy oder Pay Pal benutzt ?

Hallo, dort sollten für die Zahlungsarten (auch die, die man nicht nutzt) php-Dateien liegen… Bei mir sind das 14 Dateien.

1 „Gefällt mir“

Das könnte das Problem sein nur wie die dort rausgekommen sind ist echt ein Wunderkann es mir nicht erklären. Kann man die irgendwo her bekommen als Download oder so ?

Hi, schick mir per PN Deine eMail-Adresse, dann schicke ich Dir das kmplt. Verzeichnis.

Danke habs gerade runtergeladen nun kommt bei Paypal checkout dieser fehler Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Transaction refused because of an invalid argument. See additional error messages for details. Order total is missing. in Shopware/Plugins/Default/Frontend/Paypal/Paypal.php on line 43 Stack trace: #0 Enlight/Controller/Action.php(70): Shopware\_Controllers\_Frontend\_Paypal-\>errorApiAction() #1 Enlight/Controller/Dispatcher/DispatcherDefault.php(329): Enlight\_Controller\_Action-\>dispatch('errorApiAction') #2 Enlight/Controller/Front.php(99): Enlight\_Controller\_Dispatcher\_DispatcherDefault-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #3 Shopware/Bootstrap.php(33): Enlight\_Controller\_Front-\>dispatch() #4 Enlight/Application.php(86): Shopware\_Bootstrap-\>run() #5 shopware.php(6): Enlight\_Application-\>run() #6 {main} Anbei die Paypal php [code]<?php class Shopware_Controllers_Frontend_Paypal extends Enlight_Controller_Action
{
protected $sSystem;

public function init()
{
	$this->sSystem = Shopware()-\>System(); } public function errorAction() { throw new Enlight\_Exception($this-\>Request()-\>error); $this-\>View()-\>sError = $this-\>Request()-\>error; } public function errorApiAction() { $variables = array(); $variables["payPalURL"] = $this-\>sSystem-\>\_SESSION['payPalURL'];; if(isset($this-\>sSystem-\>\_SESSION['curl\_error\_no'])) { // URL Error, something goes wrong throw new Enlight\_Exception($this-\>sSystem-\>\_SESSION['curl\_error\_msg'], $this-\>sSystem-\>\_SESSION['curl\_error\_no']); $variables["errorCode"] = $this-\>sSystem-\>\_SESSION['curl\_error\_no'] ; $variables["errorMessage"] = $this-\>sSystem-\>\_SESSION['curl\_error\_msg'] ; $variables["urlError"] = true; session\_unset(); } else { $resArray = $this-\>sSystem-\>\_SESSION['reshash']; $variables["check"] = "OK"; $variables["ACK"] = $resArray['ACK']; $variables["CORRELATIONID"] = $resArray['CORRELATIONID']; $variables["VERSION"] = $resArray['VERSION']; $count=0; $e = null; while (isset($resArray["L\_SHORTMESSAGE".$count])) { $e = new Enlight\_Exception($resArray["L\_SHORTMESSAGE".$count].' '.$resArray["L\_LONGMESSAGE".$count], $resArray["L\_ERRORCODE".$count], $e); $count++; } if($e!==null) { throw $e; } $count=0; while (isset($resArray["L\_SHORTMESSAGE".$count])) { $paypalAPIError[$count]["errorCode"] = $resArray["L\_ERRORCODE".$count]; $paypalAPIError[$count]["shortMessage"] = $resArray["L\_SHORTMESSAGE".$count]; $paypalAPIError[$count]["longMessage"] = $resArray["L\_LONGMESSAGE".$count]; $count=$count+1; } $variables["paypalAPIError"] = $paypalAPIError; } $this-\>View()-\>assign($variables); } }[/code]