Update auf PHP 7.2

Thema wurde von Yvonne M, 15. Januar 2019 erstellt.

  1. Yvonne M
    Yvonne M Aktives Mitglied
    Registriert seit:
    25. Mai 2012
    Beiträge:
    43
    Danke erhalten:
    1
    Danke vergeben:
    1
    Nach dem PHP Update von Version 5.6 auf Version 7.2 kommt auf der Startseite immer eine Fehlermeldung die im Anhang als Screenshot ist.
    Der Shop funktioniert soweit ich das bis jetzt feststellen konnte im Frontend sowie im Backend normal.
    Die Fehlermeldung ist aber ja nicht umsonst erschienen. Der Shop, Vers. 3.10.1.0, ist bei 1und1 gehostet.
    Hat jemand eine Idee wie das behoben werden kann?
     

    Anhänge:

  2. barbara
    barbara G-WARD 2014-2020
    Registriert seit:
    14. August 2011
    Beiträge:
    35.657
    Danke erhalten:
    11.371
    Danke vergeben:
    1.616
    Du hast ein veraltetes Modul oder eine Anpassung, die nicht mit php 7.2 geht.
    Entweder das aktualisieren, oder auf php 7.1 zurückstellen
     
  3. Yvonne M
    Yvonne M Aktives Mitglied
    Registriert seit:
    25. Mai 2012
    Beiträge:
    43
    Danke erhalten:
    1
    Danke vergeben:
    1
    Auf PHP 7.1 zurückstellen funktioniert auch nicht. Kann das auch etwas mit einem Versandmodul sein?
     
  4. Wilken (Gambio)
    Wilken (Gambio) Erfahrener Benutzer
    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.311
    Danke vergeben:
    2.208
    Barbaras Diagnose scheint mir richtig zu sein, aber da steht kein Ort. Mit dem Errorlog könnte man noch genauer sehen wo das ist, mit dem bisschen Screenshot nicht.
     
  5. Yvonne M
    Yvonne M Aktives Mitglied
    Registriert seit:
    25. Mai 2012
    Beiträge:
    43
    Danke erhalten:
    1
    Danke vergeben:
    1
    Habe mal im Anhang die Log Datei . Vielleicht könnt ihr damit was anfangen.
     

    Anhänge:

  6. Wilken (Gambio)
    Wilken (Gambio) Erfahrener Benutzer
    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.311
    Danke vergeben:
    2.208
    Das sind wieder nur die Zusammenfassungen, da kann man rechts auf Details klicken. In den Details sind wieder Details zum aufklappen. Mit der ganzen Tapete, nach aufklappen von allem was ein Ereignis so hergibt, sieht man wo im Code es knallt.
     
  7. barbara
    barbara G-WARD 2014-2020
    Registriert seit:
    14. August 2011
    Beiträge:
    35.657
    Danke erhalten:
    11.371
    Danke vergeben:
    1.616
    Ein Tipp:
    auf den kleinen Bildern kann man kaum etwas erkennen.
    Besser ist, wenn man den Text markiert, kopiert und hier (als unformatierten Text, bei langen Texten in einer Box) einfügt.
     
  8. Dennis (MotivMonster.de)
    Dennis (MotivMonster.de) G-WARD 2013/14/15/16
    Registriert seit:
    22. September 2011
    Beiträge:
    31.303
    Danke erhalten:
    6.268
    Danke vergeben:
    1.118
    Beruf:
    Mann für alles :)
    Ort:
    Weilburg
    und die Details rechts öffnen. Sonst steht da oft nur Auto kapuut, aber nciht ob Beule, Motorschaden oder nur das Scheibenwischerwasser leer ist.
    Die öffnen, copy-paste vom Text und hier in eine Box posten.
     
  9. Yvonne M
    Yvonne M Aktives Mitglied
    Registriert seit:
    25. Mai 2012
    Beiträge:
    43
    Danke erhalten:
    1
    Danke vergeben:
    1
    Habe mal die Details geöffnet. Vielleicht kann man damit was anfangen

    Code:
    2019-01-16 19:45:05 (d8ddbe5ac15377847ff5e9d11ce69aad) WARNING(2): "Declaration of products_shipping_costs_main::getShippingLink($costs = 0) should be compatible with main_ORIGIN::getShippingLink($p_lightbox = false, $p_productId = 0)" in /homepages/16/d384453718/htdocs/html/system/core/MainFactory.inc.php(42) : eval()'d code:6 (Details)
    #6    File: /homepages/16/d384453718/htdocs/html/system/core/MainFactory.inc.php(42) : eval()'d code:6 (Details)
    #5    File: /homepages/16/d384453718/htdocs/html/system/core/MainFactory.inc.php(42) : eval()'d code:6 (Details)
        Function: include_once
    #4    File: /homepages/16/d384453718/htdocs/html/system/core/MainFactory.inc.php:42 (Details)
        Function: eval
        Code:
    │    line 40:         if(array_key_exists($cacheFileName, $mainFactoryCache))
    │    line 41:         {
    ├─    line 42:             eval($mainFactoryCache[$cacheFileName]);
    │    line 43:           
    │    line 44:             return;
    #3    File: /homepages/16/d384453718/htdocs/html/system/core/MainAutoloader.inc.php:101 (Details)
        Class: MainFactory
        Method: load_origin_class('main', '/homepages/16/d384453718/htdocs/html/includes/classes/main.php') (Details)
            - $p_class_name: 'main'
            - $p_class_path: '/homepages/16/d384453718/htdocs/html/includes/classes/main.php'
        Code:
    │    line 99:         {
    │    line 100:             $t_mapped_class_path = $this->v_frontend_classes_array[$p_class];
    ├─    line 101:             MainFactory::load_origin_class($p_class, $t_mapped_class_path);
    │    line 102:         }
    │    line 103:         else
    #2 (Details)
        Class: MainAutoloader
        Method: load('main') (Details)
            - $p_class: 'main'
    #1    File: /homepages/16/d384453718/htdocs/html/includes/application_top.php:1129 (Details)
        Function: spl_autoload_call('main') (Details)
            - $class_name: ### indeterminate value ###
        Code:
    │    line 1127:
    │    line 1128: //require (DIR_WS_CLASSES.'main.php');
    ├─    line 1129: $main = new main();
    │    line 1130:
    │    line 1131: require (DIR_WS_CLASSES.'xtcPrice.php');
    #0    File: /homepages/16/d384453718/htdocs/html/index.php:27 (Details)
        Function: include('/homepages/16/d384453718/htdocs/html/includes/application_top.php')
        Code:
    │    line 25:   --------------------------------------------------------------------------------------- */
    │    line 26:
    ├─    line 27: include ('includes/application_top.php');
    │    line 28:
    │    line 29: if(    $_GET['gm_boosted_category'] == '' && (
    Request: GET /favicon.ico (Details)
        - duration: ~178ms
        - server: Apache
        - server address: 82.165.86.27
        - user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
        - remote address: d8ddbe5ac15377847ff5e9d11ce69aad
    Session: (Details)
        - tpl: Honeygrid
        - MOBILE_ACTIVE: false
        - language: german
        - languages_id: 2
        - language_charset: utf-8
        - language_code: de
        - currency: EUR
        - customers_status: [...]
        - cart: [...]
        - wishList: [...]
        - customer_id: 1
        - payment: ### Session entry not present ###
        - shipping: ### Session entry not present ###
        - cartID: ### Session entry not present ###
        - sendto: ### Session entry not present ###
        - billto: ### Session entry not present ###
    Get: (Details)
        - gm_boosted_category: favicon
        - cat: c0
    2019-01-16 19:45:05 (d8ddbe5ac15377847ff5e9d11ce69aad) WARNING(2): "Cannot modify header information - headers already sent by (output started at /homepages/16/d384453718/htdocs/html/gm/classes/ErrorHandler.php:419)" in /homepages/16/d384453718/htdocs/html/includes/application_top.php:1687 (Details)
    #1    File: /homepages/16/d384453718/htdocs/html/includes/application_top.php:1687 (Details)
        Function: header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0') (Details)
            - $header: ### indeterminate value ###
            - $replace: ### indeterminate value ###
            - $http_response_code: ### indeterminate value ###
        Code:
    │    line 1685: if ($pageNotFound)
    │    line 1686: {
    ├─    line 1687:     header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
    │    line 1688:     header('Expires: Sat, 26 Jul 1997 05:00:00 GMT');
    │    line 1689:     header("HTTP/1.0 404 Not Found");
    #0    File: /homepages/16/d384453718/htdocs/html/index.php:27 (Details)
        Function: include('/homepages/16/d384453718/htdocs/html/includes/application_top.php')
        Code:
    │    line 25:   --------------------------------------------------------------------------------------- */
    │    line 26:
    ├─    line 27: include ('includes/application_top.php');
    │    line 28:
    │    line 29: if(    $_GET['gm_boosted_category'] == '' && (
    Request: GET /favicon.ico (Details)
        - duration: ~234ms
        - server: Apache
        - server address: 82.165.86.27
        - user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
        - remote address: d8ddbe5ac15377847ff5e9d11ce69aad
    Session: (Details)
        - tpl: Honeygrid
        - MOBILE_ACTIVE: false
        - language: german
        - languages_id: 2
        - language_charset: utf-8
        - language_code: de
        - currency: EUR
        - customers_status: [...]
        - cart: [...]
        - wishList: [...]
        - customer_id: 1
        - payment: ### Session entry not present ###
        - shipping: ### Session entry not present ###
        - cartID: ### Session entry not present ###
        - sendto: ### Session entry not present ###
        - billto: ### Session entry not present ###
    Get: (Details)
        - gm_boosted_category: favicon
    2019-01-16 19:45:05 (d8ddbe5ac15377847ff5e9d11ce69aad) WARNING(2): "Cannot modify header information - headers already sent by (output started at /homepages/16/d384453718/htdocs/html/gm/classes/ErrorHandler.php:419)" in /homepages/16/d384453718/htdocs/html/includes/application_top.php:1688 (Details)
    #1    File: /homepages/16/d384453718/htdocs/html/includes/application_top.php:1688 (Details)
        Function: header('Expires: Sat, 26 Jul 1997 05:00:00 GMT') (Details)
            - $header: ### indeterminate value ###
            - $replace: ### indeterminate value ###
            - $http_response_code: ### indeterminate value ###
        Code:
    │    line 1686: {
    │    line 1687:     header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
    ├─    line 1688:     header('Expires: Sat, 26 Jul 1997 05:00:00 GMT');
    │    line 1689:     header("HTTP/1.0 404 Not Found");
    │    line 1690:
    #0    File: /homepages/16/d384453718/htdocs/html/index.php:27 (Details)
        Function: include('/homepages/16/d384453718/htdocs/html/includes/application_top.php')
        Code:
    │    line 25:   --------------------------------------------------------------------------------------- */
    │    line 26:
    ├─    line 27: include ('includes/application_top.php');
    │    line 28:
    │    line 29: if(    $_GET['gm_boosted_category'] == '' && (
    Request: GET /favicon.ico (Details)
        - duration: ~235ms
        - server: Apache
        - server address: 82.165.86.27
        - user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
        - remote address: d8ddbe5ac15377847ff5e9d11ce69aad
    Session: (Details)
        - tpl: Honeygrid
        - MOBILE_ACTIVE: false
        - language: german
        - languages_id: 2
        - language_charset: utf-8
        - language_code: de
        - currency: EUR
        - customers_status: [...]
        - cart: [...]
        - wishList: [...]
        - customer_id: 1
        - payment: ### Session entry not present ###
        - shipping: ### Session entry not present ###
        - cartID: ### Session entry not present ###
        - sendto: ### Session entry not present ###
        - billto: ### Session entry not present ###
    Get: (Details)
        - gm_boosted_category: favicon
    2019-01-16 19:45:05 (d8ddbe5ac15377847ff5e9d11ce69aad) WARNING(2): "Cannot modify header information - headers already sent by (output started at /homepages/16/d384453718/htdocs/html/gm/classes/ErrorHandler.php:419)" in /homepages/16/d384453718/htdocs/html/includes/application_top.php:1689 (Details)
    #1    File: /homepages/16/d384453718/htdocs/html/includes/application_top.php:1689 (Details)
        Function: header('HTTP/1.0 404 Not Found') (Details)
            - $header: ### indeterminate value ###
            - $replace: ### indeterminate value ###
            - $http_response_code: ### indeterminate value ###
        Code:
    │    line 1687:     header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
    │    line 1688:     header('Expires: Sat, 26 Jul 1997 05:00:00 GMT');
    ├─    line 1689:     header("HTTP/1.0 404 Not Found");
    │    line 1690:
    │    line 1691:     if(file_exists(DIR_FS_CATALOG.'error404.html')) {
    #0    File: /homepages/16/d384453718/htdocs/html/index.php:27 (Details)
        Function: include('/homepages/16/d384453718/htdocs/html/includes/application_top.php')
        Code:
    │    line 25:   --------------------------------------------------------------------------------------- */
    │    line 26:
    ├─    line 27: include ('includes/application_top.php');
    │    line 28:
    │    line 29: if(    $_GET['gm_boosted_category'] == '' && (
    Request: GET /favicon.ico (Details)
        - duration: ~236ms
        - server: Apache
        - server address: 82.165.86.27
        - user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
        - remote address: d8ddbe5ac15377847ff5e9d11ce69aad
    Session: (Details)
        - tpl: Honeygrid
        - MOBILE_ACTIVE: false
        - language: german
        - languages_id: 2
        - language_charset: utf-8
        - language_code: de
        - currency: EUR
        - customers_status: [...]
        - cart: [...]
        - wishList: [...]
        - customer_id: 1
        - payment: ### Session entry not present ###
        - shipping: ### Session entry not present ###
        - cartID: ### Session entry not present ###
        - sendto: ### Session entry not present ###
        - billto: ### Session entry not present ###
    Get: (Details)
        - gm_boosted_category: favicon
    2019-01-16 19:45:05 (d8ddbe5ac15377847ff5e9d11ce69aad) WARNING(2): "Cannot modify header information - headers already sent by (output started at /homepages/16/d384453718/htdocs/html/gm/classes/ErrorHandler.php:419)" in /homepages/16/d384453718/htdocs/html/includes/application_top.php:1756 (Details)
    #1    File: /homepages/16/d384453718/htdocs/html/includes/application_top.php:1756 (Details)
        Function: header('Content-Type: text/html; charset=utf-8') (Details)
            - $header: ### indeterminate value ###
            - $replace: ### indeterminate value ###
            - $http_response_code: ### indeterminate value ###
        Code:
    │    line 1754: $gmLangFileMaster = MainFactory::create_object('GMLangFileMaster');
    │    line 1755:
    ├─    line 1756: header('Content-Type: text/html; charset=' . $_SESSION['language_charset'] . '');
    │    line 1757:
    #0    File: /homepages/16/d384453718/htdocs/html/index.php:27 (Details)
        Function: include('/homepages/16/d384453718/htdocs/html/includes/application_top.php')
        Code:
    │    line 25:   --------------------------------------------------------------------------------------- */
    │    line 26:
    ├─    line 27: include ('includes/application_top.php');
    │    line 28:
    │    line 29: if(    $_GET['gm_boosted_category'] == '' && (
    Request: GET /favicon.ico (Details)
        - duration: ~245ms
        - server: Apache
        - server address: 82.165.86.27
        - user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
        - remote address: d8ddbe5ac15377847ff5e9d11ce69aad
    Session: (Details)
        - tpl: Honeygrid
        - MOBILE_ACTIVE: false
        - language: german
        - languages_id: 2
        - language_charset: utf-8
        - language_code: de
        - currency: EUR
        - customers_status: [...]
        - cart: [...]
        - wishList: [...]
        - customer_id: 1
        - payment: ### Session entry not present ###
        - shipping: ### Session entry not present ###
        - cartID: ### Session entry not present ###
        - sendto: ### Session entry not present ###
        - billto: ### Session entry not present ###
    Get: (Details)
        - gm_boosted_category: favicon
     
  10. Wilken (Gambio)
    Wilken (Gambio) Erfahrener Benutzer
    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.311
    Danke vergeben:
    2.208
    Die Mainfactory meckert beim Einbinder der xtcprice, aber den Ort der ursprünglichen Deklaration der inkompatiblen Methode lese ich nicht raus. Nee, ohne Ticket oder sonstigen Fachmann am Objekt wird das nix.