Fehler beim Checkout nach PHP 7.0 Umstellung

Thema wurde von Don Alfredo, 25. Oktober 2018 erstellt.

  1. Don Alfredo

    Don Alfredo Erfahrener Benutzer

    Registriert seit:
    27. Januar 2012
    Beiträge:
    262
    Danke erhalten:
    5
    Danke vergeben:
    111
    #1 Don Alfredo, 25. Oktober 2018
    Zuletzt bearbeitet: 25. Oktober 2018
    Guten Tag,
    Hosteurope hat heute von PHP5.6 auf 7,0 bzw 7.1 und 7.2 umgestellt.Habe die Shops alle vor einigen Wochen umgestellt.
    Jetzt habe ich bei einem Shop folgenden Fehler welcher nach der Versandart Auswahl zur Zahlunsgart auftritt:

    WARNING(2): "include_once(/is/htdocs/wp1053847_8XRRBKEXJU/www/meinedomian/includes/modules/order_total/ot_z_paylater_fee.php): failed to open stream: No such file or directory"
    WARNING(2): "include_once(): Failed opening '/is/htdocs/wp1053847_8XRRBKEXJU/www/meinedomian/includes/modules/order_total/ot_z_paylater_fee.php' for inclusion (include_path='.:/usr/share/php7.0')"
    FATAL ERROR(1): "Uncaught Error: Class 'ot_z_paylater_fee' not found in /is/htdocs/wp1053847_8XRRBKEXJU/www/meinedomian/includes/classes/order_total.php:242
    Stack trace:
    #0 /is/htdocs/wp1053847_8XRRBKEXJU/www/meinedomian/system/classes/checkout/CheckoutPaymentContentControl.inc.php(116): order_total_ORIGIN->__construct()
    #1 /is/htdocs/wp1053847_8XRRBKEXJU/www/meinedomian/GXModules/Gambio/Hub/Shop/Overloads/CheckoutPaymentContentControl/GambioHubStartSession.inc.php(30): CheckoutPaymentContentControl->proceed()
    #2 /is/htdocs/wp1053847_8XRRBKEXJU/www/meinedomian/checkout_payment.php(57): GambioHubStartSession->proceed()
    #3 {main}
    thrown"

    Die Datei ot_z_paylater_fee.php ist nicht vorhanden wurde von Gambio gelöscht: Wenn ich diese von einem funktiinierenden Shop einfüge. Kommt nur mehr diese Meldung:

    COMPILE ERROR(64): "require_once(): Failed opening required '/is/htdocs/wp1053847_8XRRBKEXJU/www/gx2/coinoperatorshop/includes/billpay/base/BillpayOT.php' (include_path='.:/usr/share/php7.0')"

    Billpay ist bei mir gar nicht installiert. Wenn ich die Billpay Dateien lösche bringt das auch keine Abhilfe.

    Danke
     
  2. Wilken (Gambio)

    Wilken (Gambio) Erfahrener Benutzer

    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.309
    Danke vergeben:
    2.208
    Reste eines alten Moduls in der Datenbank.Dateien weg, aber Modul vorher nicht deinstalliert. Module -> Zusammenfassung. Irgendein Modul installieren, dann wieder deinstallieren. Dabei wird die Liste der installierten Module neu geschrieben, das müsste reichen.
     
  3. Don Alfredo

    Don Alfredo Erfahrener Benutzer

    Registriert seit:
    27. Januar 2012
    Beiträge:
    262
    Danke erhalten:
    5
    Danke vergeben:
    111
    Herzlichen Dank. Jetzt sieht es schon besser aus.
    Komme jetzt zur Zahlungsauswahl.
    dort habe folgende Medlung:
    WARNING(2): "Declaration of BillpayPayLater::_getStaticLimit($config) should be compatible with billpayBase::_getStaticLimit()"
    WARNING(2): "Declaration of BillpayPayLater::_getMinValue($config) should be compatible with billpayBase::_getMinValue()"


    Im Backend Module/Zusammenfassung gibt es folgende Meldung:

    WARNING(2): "Declaration of BillPayTransactionCredit::eek:nDisplayPdf($pdf, $orderId, $bankDataQuery) should be compatible with billpayBase::eek:nDisplayPdf()"
    WARNING(2): "Declaration of BillPayTransactionCredit::_getStaticLimit($config) should be compatible with billpayBase::_getStaticLimit()"
    WARNING(2): "Declaration of BillPayTransactionCredit::_getMinValue($config) should be compatible with billpayBase::_getMinValue()"
    WARNING(2): "Declaration of BillPayTransactionCredit::getPayUntilText($bank_data, $currency) should be compatible with billpayBase::getPayUntilText()"
    WARNING(2): "Declaration of BillpayPayLater::_getStaticLimit($config) should be compatible with billpayBase::_getStaticLimit()"
    WARNING(2): "Declaration of BillpayPayLater::_getMinValue($config) should be compatible with billpayBase::_getMinValue()"


    Im Backend
    WARNING(2): "Declaration of BillPay::eek:nDisplayPdf($pdf, $orderId, $bankDataQuery) should be compatible with billpayBase::eek:nDisplayPdf()"
    WARNING(2): "Declaration of BillPay::_getStaticLimit($config) should be compatible with billpayBase::_getStaticLimit()"
    WARNING(2): "Declaration of BillPay::_getMinValue($config) should be compatible with billpayBase::_getMinValue()"
    WARNING(2): "Declaration of BillPay::_is_b2c_allowed($config) should be compatible with billpayBase::_is_b2c_allowed()"
    WARNING(2): "Declaration of BillPay::_is_b2b_allowed($config) should be compatible with billpayBase::_is_b2b_allowed()"
    WARNING(2): "Declaration of BillPay::isDobRequired($data) should be compatible with billpayBase::isDobRequired()"
    WARNING(2): "Declaration of BillPay::getPayUntilText($bank_data, $currency) should be compatible with billpayBase::getPayUntilText()"
    WARNING(2): "Declaration of billpaydebit::eek:nDisplayPdf($pdf, $orderId, $bankDataQuery) should be compatible with billpayBase::eek:nDisplayPdf()"
    WARNING(2): "Declaration of billpaydebit::_getStaticLimit($config) should be compatible with billpayBase::_getStaticLimit()"
    WARNING(2): "Declaration of billpaydebit::_getMinValue($config) should be compatible with billpayBase::_getMinValue()"
    WARNING(2): "Declaration of billpaydebit::getPayUntilText($bank_data, $currency) should be compatible with billpayBase::getPayUntilText()"
    WARNING(2): "Declaration of BillpayPayLater::_getStaticLimit($config) should be compatible with billpayBase::_getStaticLimit()"
    WARNING(2): "Declaration of BillpayPayLater::_getMinValue($config) should be compatible with billpayBase::_getMinValue()"
    WARNING(2): "Declaration of BillPayTransactionCredit::eek:nDisplayPdf($pdf, $orderId, $bankDataQuery) should be compatible with billpayBase::eek:nDisplayPdf()"
    WARNING(2): "Declaration of BillPayTransactionCredit::_getStaticLimit($config) should be compatible with billpayBase::_getStaticLimit()"
    WARNING(2): "Declaration of BillPayTransactionCredit::_getMinValue($config) should be compatible with billpayBase::_getMinValue()"
    WARNING(2): "Declaration of BillPayTransactionCredit::getPayUntilText($bank_data, $currency) should be compatible with billpayBase::getPayUntilText()"


    Das kommt beim Bestellabschluss;
    WARNING(2): "Declaration of BillpayPayLater::_getStaticLimit($config) should be compatible with billpayBase::_getStaticLimit()"
    WARNING(2): "Declaration of BillpayPayLater::_getMinValue($config) should be compatible with billpayBase::_getMinValue()"
    WARNING(2): "Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1053847_8XRRBKEXJU/www/gx2/coinoperatorshop/gm/classes/ErrorHandler.php:419)"
     
  4. Wilken (Gambio)

    Wilken (Gambio) Erfahrener Benutzer

    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.309
    Danke vergeben:
    2.208
    Das ja noch etwas mehr, das Billpay Modul scheint echt grössere PHP 7 Probleme zu haben. Das muss raus. Selbst machen oder Ticket schreiben.
     
  5. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    Habe das selbe Problem. Nach update auf die neueste Gambio Version und PHP 7.0 zickt das inaktive Billpaymodul genauso herum und blockiert die anderen Zahlungsmodule. Auch kann ich keinen Kunden mehr anlegen. Habe zwar eine Ticket aufgemacht, aber vielleicht könnt ihr mich auch hier im Forum etwas unterstützen....

    Könnt ihr das Billpay Modul entfernen oder soll ich das machen? Müssen die Einträge auch aus DB entfernt werden?

    Gruß

    Kai
     
  6. Don Alfredo

    Don Alfredo Erfahrener Benutzer

    Registriert seit:
    27. Januar 2012
    Beiträge:
    262
    Danke erhalten:
    5
    Danke vergeben:
    111
    Ticket habe ich schon vor einer Woche eröffnet. Es kam nur die Antwort, dass das Billpay Modul nicht von Gambio kommt und ich es selbst entfernen muss. So einfach ist das aber nicht, wie mann sieht. Mit dem Testen begann ich schon vor einem Monat. Immer wieder zurück zu PHP 5.6, aber jetzt hat Hosteurope unwiderrufflich umgestellt.
     
  7. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    Das Ding zerschießt gerade meinen Shop. Zurück kann ich auch nicht. Billpay hat keine Lösung für das richtige Deinstallieren. Jetzt geht garn nichts mehr. Habe zwar alles von dem Modul rausgeschmissen...aber das reicht anscheinend noch nicht.

    Bekomme nun immer diesen Fehler im Checkout

    WARNING(2): "include_once(/www/htdocs/w00dfa40/shop/includes/modules/order_total/ot_billpay_fee.php): failed to open stream: No such file or directory"
    WARNING(2): "include_once(): Failed opening '/www/htdocs/w00dfa40/shop/includes/modules/order_total/ot_billpay_fee.php' for inclusion (include_path='.:/usr/share/php:..')"


    Fatal error: Class 'ot_billpay_fee' not found in /www/htdocs/w00dfa40/shop/includes/classes/order_total.php on line 242
    FATAL ERROR(1): "Class 'ot_billpay_fee' not found"
     
  8. Anonymous

    Anonymous Beta-Held

    Registriert seit:
    22. März 2015
    Beiträge:
    2.381
    Danke erhalten:
    640
    Danke vergeben:
    414
    Hast du den Cache geleert?
     
  9. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    alles versucht
     
  10. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    irendwo ist noch ein Rest, den ich aber nicht finde....Da könne nur die Leute von Gambio helfen.BITTTTE
     
  11. Wilken (Gambio)

    Wilken (Gambio) Erfahrener Benutzer

    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.309
    Danke vergeben:
    2.208
    Müsste gelöst sein.
     
  12. Wilken (Gambio)

    Wilken (Gambio) Erfahrener Benutzer

    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.309
    Danke vergeben:
    2.208
    Bitte einmal die Ticket ID.
     
  13. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    Danke... Wilken...bloss die anderen Zahlungsmodule wie Paypal oder vorkasse werden nicht als Zahlungsoption angezeigt.
     
  14. Wilken (Gambio)

    Wilken (Gambio) Erfahrener Benutzer

    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.309
    Danke vergeben:
    2.208
    Bei mir sieht das bei dir so aus...

    Screenshot_2018-10-26 Maritimschmuck com - Biker und Taucherschmuck.png
     
  15. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    Cache geleert...nun scheint es wieder zu funktionieren. Ihr seit Spitze.....
     
  16. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    Doch noch einen Fehler gefunden!!! Wenn ich von PHP 5.6 (aktuell) auf 7.0 umstelle, bekomme ich bei einer Gastbestellung folgenden Fehlercode ausgegeben.

    WARNING(2): "Declaration of NoCreateAccountMail::_sendMail() should be compatible with CreateAccountProcess::_sendMail(array $mailDataArray)"

    WARNING(2): "Cannot modify header information - headers already sent by (output started at /www/htdocs/w00dfa40/shop/gm/classes/ErrorHandler.php:419)"

    Shop: https://www.maritimschmuck.com/shop/
     
  17. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    Muss aber jetz auf mindestens 7.0 umstellen, da meine neue WAWI nicht unter 5.6 arbeitet.
     
  18. Don Alfredo

    Don Alfredo Erfahrener Benutzer

    Registriert seit:
    27. Januar 2012
    Beiträge:
    262
    Danke erhalten:
    5
    Danke vergeben:
    111
  19. KKW

    KKW Erfahrener Benutzer

    Registriert seit:
    19. August 2014
    Beiträge:
    183
    Danke erhalten:
    22
    Danke vergeben:
    30
    Danke noch einmal für die schnelle Hilfe....