Hallo, sobald ich eine Rechnung für den Kunden Buchhändler fertig mache (er bezahlt auf Rechng), bekomme ich folgende Fehlermeldung: d constant MODULE_PAYMENT_ - assumed 'MODULE_PAYMENT_' (this will throw an Error in a future version of PHP)" WARNING(2): "Use of undefined constant _TEXT_TITLE - assumed '_TEXT_TITLE' (this will throw an Error in a future version of PHP)" Den Rest davor kann ich leider nicht lesen bzw. rauskopieren, da verdeckt. VG
Veraltetes Modul. die Dateien gehen jetzt noch, es wird aber bei einer höheren PHP-Version nicht mehr gehen.
Welches Modul soll ich nehmen? Unter Module->Zahlungsweisen>Reite Gambio Hub ist InvoiceHub installiert und aktiviert.
Dazu müsste man erstmal wissen, welches Modul da veraltet ist. Wenn Du das in der Fehlermeldung nicht sehen kannst, hilft ein Blick in Toolbox -> Logs anzeigen
Dort steht nur: 20-04-29T11:08:14.247576+02:00,1766,EAN 9783743000599,Abiturprüfung FOS/BOS Bayern 2020 - Internationale Betriebs- und Volkswirtschaftslehre 12. Klasse,252,Bestellabschluss,1766 2020-04-29T14:26:58.000264+02:00,1766,EAN 9783743000599,Abiturprüfung FOS/BOS Bayern 2020 - Internationale Betriebs- und Volkswirtschaftslehre 12. Klasse,251,Bestellabschluss,1766 Das wars.
Falsche Datei: Hier die richtige: #7 File: /www/htdocs/w0141d87/lern-verlag.de/GXModules/AlkimMedia/FreePerProductsCount/Shop/Overloads/CheckoutConfirmationContentView/FreePerProductsCountCheckoutConfirmationContentView.inc.php:296 (Details) Code: │ line 294: { │ line 295: $coo_lang_file_master->init_from_lang_file('lang/' . $this->language . '/modules/payment/' . $coo_order->info['payment_method'] . '.php'); ├─ line 296: $this->content_array['PAYMENT_METHOD'] = constant(MODULE_PAYMENT_ . strtoupper($coo_order->info['payment_method']) . _TEXT_TITLE); │ line 297: │ line 298: if(isset($_GET['payment_error']) && is_object(${$_GET['payment_error']}) && ($error = ${$_GET['payment_error']}->get_error())) #6 File: /www/htdocs/w0141d87/lern-verlag.de/GXModules/Gambio/GoogleECommerce/Shop/Overloads/CheckoutConfirmationContentView/GoogleAnalyticsCheckoutConfirmation.inc.php:22 (Details) Class: FreePerProductsCountCheckoutConfirmationContentView (Details) Method: prepare_data() Code: │ line 20: public function prepare_data() │ line 21: { ├─ line 22: parent:repare_data(); │ line 23: │ line 24: $trackingService = GoogleAnalyticsServiceFactory::trackingService(); #5 File: /www/htdocs/w0141d87/lern-verlag.de/GXModules/Gambio/Hub/Shop/Overloads/CheckoutConfirmationContentView/GambioHubCheckoutConfirmation.inc.php:27 (Details) Class: GoogleAnalyticsCheckoutConfirmation (Details) Method: prepare_data() Code: │ line 25: public function prepare_data() │ line 26: { ├─ line 27: parent:repare_data(); │ line 28: │ line 29: if($_SESSION['payment'] === 'gambio_hub') #4 File: /www/htdocs/w0141d87/lern-verlag.de/system/core/ContentView.inc.php:158 (Details) Class: GambioHubCheckoutConfirmation (Details) Method: prepare_data() Code: │ line 156: { │ line 157: $t_html_output = ''; ├─ line 158: $this->prepare_data(); │ line 159: if($this->build_html == true) │ line 160: { #3 File: /www/htdocs/w0141d87/lern-verlag.de/system/classes/checkout/CheckoutConfirmationContentControl.inc.php:338 (Details) Class: ContentView (Details) Method: get_html() Code: │ line 336: $coo_checkout_confirmation_view->set_('error_message', $t_error_message); │ line 337: ├─ line 338: $this->v_output_buffer = $coo_checkout_confirmation_view->get_html(); │ line 339: │ line 340: return true; #2 File: /www/htdocs/w0141d87/lern-verlag.de/system/overloads/CheckoutConfirmationContentControl/AmazonPayCheckoutConfirmationContentControl.inc.php:23 (Details) Class: CheckoutConfirmationContentControl (Details) Method: proceed() Code: │ line 21: } │ line 22: ├─ line 23: return parent:roceed(); │ line 24: } │ line 25: #1 File: /www/htdocs/w0141d87/lern-verlag.de/system/overloads/CheckoutConfirmationContentControl/CheckoutConfirmationContentControlOverload.inc.php:8 (Details) Class: AmazonPayCheckoutConfirmationContentControl (Details) Method: proceed() Code: │ line 6: { │ line 7: $error = ''; ├─ line 8: $response = parent:roceed(); │ line 9: │ line 10: $transportConditionsSuccess = $this->_checkTransportConditions($error); #0 File: /www/htdocs/w0141d87/lern-verlag.de/checkout_confirmation.php:56 (Details) Class: CheckoutConfirmationContentControlOverload (Details) Method: proceed() Code: │ line 54: $coo_checkout_confirmation_control->set_data('POST', $_POST); │ line 55: ├─ line 56: $coo_checkout_confirmation_control->proceed(); │ line 57: │ line 58: $t_redirect_url = $coo_checkout_confirmation_control->get_redirect_url(); Request: POST /checkout_confirmation.php (Details) - duration: ~1121ms - server: Apache - server address: XX.XX.XX.XX - user agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0 - remote address: 16c1d01876e426ac3d16f7ce01dfb54d Session: (Details) Post: (Details) - payment: gambio_hub - gambio_hub_selection: InvoiceHub - comments: Telefonisch bestellt Bestellzeichen: XXXXXXX Wir haben weitere Prüfungstrainer FOS/BOS, Realschule, Mittelschule und Grundschule. - comments_added: YES - withdrawal: withdrawal - conditions: conditions
Mit einer Code-Box (das kleine, eingerahmte + in der Leiste über dem Textfeld) wäre das nciht passiert und man müsste nciht so lange Scrollen. Ganz oben steht "Alkim Media" vermutlich braucht das Modul ein Update
Wenn du ihn erreichst, sag ihm ruhig, dass das PHP: $this->content_array['PAYMENT_METHOD'] = constant('MODULE_PAYMENT_' . strtoupper($coo_order->info['payment_method']) . '_TEXT_TITLE'); heißen muss.