v3.10.x Fehlermeldung bei der Rechnungserstellung

Thema wurde von Anonymous, 14. Dezember 2018 erstellt.

  1. Anonymous

    Anonymous Erfahrener Benutzer

    Registriert seit:
    15. Mai 2017
    Beiträge:
    691
    Danke erhalten:
    129
    Danke vergeben:
    176
    Hallo alle,

    in letzter Zeit erscheinen bei der Erstellung von Rechungen immer häufiger folgende Fehlermeldung. Ich interpretiere die Fehlermeldung so, alos ob das Logo fehlen würde. Da ist aber auf der ersten Seite drauf, aber nicht mehr auf den Folgeseiten.
    Irgendeiner eine Idee?
    Code:
    ================================================================================
    
    2018-12-14 11:59:01 (20f159afcbffd1c5b693ad7f6a5bda87) WARNING(2): "fopen(/var/www/vhosts/dogs-in-the-city.de/shop/cache/__tcpdf_imgmask_plain_99c0752a72b6b3c7a8ad0d3b09edd72b): failed to open stream: No such file or directory" in /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/include/tcpdf_images.php:238
    
    #12    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/include/tcpdf_images.php:238
    
        Code:
    │    line 236:      */
    │    line 237:     public static function _parsepng($file) {
    ├─    line 238:         $f = fopen($file, 'rb');
    │    line 239:         if ($f === false) {
    │    line 240:             // Can't open image file
    
    #11    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:6968
    
        Code:
    │    line 6966:             if ((method_exists('TCPDF_IMAGES', $mtd)) AND (!($resize AND (function_exists($gdfunction) OR extension_loaded('imagick'))))) {
    │    line 6967:                 // TCPDF image functions
    ├─    line 6968:                 $info = TCPDF_IMAGES::$mtd($file);
    │    line 6969:                 if (($ismask === false) AND ($imgmask === false) AND (strpos($file, '__tcpdf_imgmask_') === FALSE)
    │    line 6970:                     AND (($info === 'pngalpha') OR (isset($info['trns']) AND !empty($info['trns'])))) {
    
    #10    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:6947
    
        Code:
    │    line 6945:                     $imgmask = $this->Image($tempfile_alpha, $x, $y, $w, $h, 'PNG', '', '', $resize, $dpi, '', true, false);
    │    line 6946:                     // embed image, masked with previously embedded mask
    ├─    line 6947:                     return $this->Image($tempfile_plain, $x, $y, $w, $h, $type, $link, $align, $resize, $dpi, $palign, false, $imgmask);
    │    line 6948:                 }
    │    line 6949:             }
    
    #9    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:850
    
        Code:
    │    line 848:         $pos_x = parent::getLeftMargin() + parent::getInnerWidth() - $mm_x;
    │    line 849:
    ├─    line 850:         parent::Image($this->pdf_logo_path, $pos_x, parent::getTopMargin(), $mm_x, $mm_y, substr(strrchr($logo_size['mime'], '/'), 1), $this->pdf_link);
    │    line 851:
    │    line 852:         parent::SetY(parent::getTopMargin() + $mm_y);
    
    #8    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:295
    
        Code:
    │    line 293:         if($this->pdf_use_logo == 1)
    │    line 294:         {
    ├─    line 295:             $this->getLogo();
    │    line 296:             parent::Ln(3);
    │    line 297:         }
    
    #7    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmPDF.php:143
    
        Code:
    │    line 141:             if($this->pdf_fix_header == 1 && $this->pdf_use_header == 1 && empty($this->pdf_is_attachment)) {   
    │    line 142:                 // -> call function of daughter class
    ├─    line 143:                 $this->getHeader();
    │    line 144:             } elseif(!empty($this->pdf_is_attachment)) {
    │    line 145:                 $this->getCondralHeader();
    
    #6    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:3507
    
        Code:
    │    line 3505:         }
    │    line 3506:         $this->SetFont($this->header_font[0], $this->header_font[1], $this->header_font[2]);
    ├─    line 3507:         $this->Header();
    │    line 3508:         //restore position
    │    line 3509:         if ($this->rtl) {
    
    #5    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:3175
    
        Code:
    │    line 3173:         $this->setPageMark();
    │    line 3174:         // print page header
    ├─    line 3175:         $this->setHeader();
    │    line 3176:         // restore graphic settings
    │    line 3177:         $this->setGraphicVars($gvars);
    
    #4    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:3087
    
        Code:
    │    line 3085:         $this->endPage();
    │    line 3086:         // start new page
    ├─    line 3087:         $this->startPage($orientation, $format, $tocpage);
    │    line 3088:     }
    │    line 3089:
    
    #3    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:667
    
        Code:
    │    line 665:         if(($this->getMaxHeight($order, $table_size) + $y + $break + $extra) >= ($this->h - parent::getPageBreak()))
    │    line 666:         {
    ├─    line 667:             parent::AddPage();
    │    line 668:             $this->getOrderHeader();
    │    line 669:         }
    
    #2    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:552
    
        Code:
    │    line 550:             parent::getFont($this->pdf_fonts['ORDER_INFO']);
    │    line 551:
    ├─    line 552:             $y = $this->is_newPageOi($this->order_info, parent::GetY(), (int)$this->pdf_order_info_margin_top, (parent::getCellHeight()) + 3, $this->pdf_order_info_cell_width);
    │    line 553:
    │    line 554:             parent::SetY($y);
    
    #1    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:261
    
        Code:
    │    line 259:        
    │    line 260:         $this->getOrderHeader();
    ├─    line 261:         $this->getBody();
    │    line 262:        
    │    line 263:         // -> use conditions - show them in a newpage
    
    #0    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/gm_pdf_order.php:754
    
        Code:
    │    line 752:     );
    │    line 753:    
    ├─    line 754:     $pdf->Body();
    │    line 755:    
    │    line 756:     if (!isset($next_id)) {
    
    Request: GET /admin/gm_pdf_order.php?oID=30920&type=invoice
        - duration: ~344ms
        - server: Apache
        - server address: 128.127.64.7
        - user agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
        - remote address: 20f159afcbffd1c5b693ad7f6a5bda87
    
    Session:
        - tpl: Honeygrid
        - MOBILE_ACTIVE: false
        - language: german
        - languages_id: 2
        - language_charset: utf-8
        - language_code: de
        - currency: EUR
        - customers_status: Array
            (
                [customers_status_id] => 0
                [customers_status_name] => Admin
                [customers_status_image] => admin_status.gif
                [customers_status_public] => 0
                [customers_status_min_order] => 0
                [customers_status_max_order] => 0
                [customers_status_discount] => 30.00
                [customers_status_ot_discount_flag] => 1
                [customers_status_ot_discount] => 0.00
                [customers_status_graduated_prices] => 1
                [customers_status_show_price] => 1
                [customers_status_show_price_tax] => 1
                [customers_status_add_tax_ot] => 1
                [customers_status_payment_unallowed] =>
                [customers_status_shipping_unallowed] =>
                [customers_status_discount_attributes] => 1
                [customers_fsk18] => 1
                [customers_fsk18_display] => 1
                [customers_status_write_reviews] => 1
                [customers_status_read_reviews] => 1
            )
           
        - cart: shoppingCart Object
            (
                [contents] => Array
                    (
                        [546x989] => Array
                            (
                                [qty] => 1.0000
                            )
           
                    )
           
                [total] => 14.9
                [weight] => 0
                [cartID] => 94582
                [content_type] =>
                [tax] => Array
                    (
                        [1] => Array
                            (
                                [value] => 2.3789915966387
                                [desc] => inkl. 19% MwSt.
                            )
           
                    )
           
            )
           
        - wishList: wishList Object
            (
                [contents] => Array
                    (
                    )
           
                [total] => 0
                [weight] => 0
                [cartID] =>
                [content_type] =>
            )
           
        - 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:
        - oID: 30920
        - type: invoice
    
    
    ================================================================================
    
    2018-12-14 11:59:01 (20f159afcbffd1c5b693ad7f6a5bda87) WARNING(2): "imagecreatefrompng(/var/www/vhosts/dogs-in-the-city.de/shop/cache/__tcpdf_imgmask_plain_99c0752a72b6b3c7a8ad0d3b09edd72b): failed to open stream: No such file or directory" in /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:6977
    
    #11    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:6977
    
        Code:
    │    line 6975:                 try {
    │    line 6976:                     // GD library
    ├─    line 6977:                     $img = $gdfunction($file);
    │    line 6978:                     if ($img !== false) {
    │    line 6979:                         if ($resize) {
    
    #10    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:6947
    
        Code:
    │    line 6945:                     $imgmask = $this->Image($tempfile_alpha, $x, $y, $w, $h, 'PNG', '', '', $resize, $dpi, '', true, false);
    │    line 6946:                     // embed image, masked with previously embedded mask
    ├─    line 6947:                     return $this->Image($tempfile_plain, $x, $y, $w, $h, $type, $link, $align, $resize, $dpi, $palign, false, $imgmask);
    │    line 6948:                 }
    │    line 6949:             }
    
    #9    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:850
    
        Code:
    │    line 848:         $pos_x = parent::getLeftMargin() + parent::getInnerWidth() - $mm_x;
    │    line 849:
    ├─    line 850:         parent::Image($this->pdf_logo_path, $pos_x, parent::getTopMargin(), $mm_x, $mm_y, substr(strrchr($logo_size['mime'], '/'), 1), $this->pdf_link);
    │    line 851:
    │    line 852:         parent::SetY(parent::getTopMargin() + $mm_y);
    
    #8    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:295
    
        Code:
    │    line 293:         if($this->pdf_use_logo == 1)
    │    line 294:         {
    ├─    line 295:             $this->getLogo();
    │    line 296:             parent::Ln(3);
    │    line 297:         }
    
    #7    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmPDF.php:143
    
        Code:
    │    line 141:             if($this->pdf_fix_header == 1 && $this->pdf_use_header == 1 && empty($this->pdf_is_attachment)) {   
    │    line 142:                 // -> call function of daughter class
    ├─    line 143:                 $this->getHeader();
    │    line 144:             } elseif(!empty($this->pdf_is_attachment)) {
    │    line 145:                 $this->getCondralHeader();
    
    #6    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:3507
    
        Code:
    │    line 3505:         }
    │    line 3506:         $this->SetFont($this->header_font[0], $this->header_font[1], $this->header_font[2]);
    ├─    line 3507:         $this->Header();
    │    line 3508:         //restore position
    │    line 3509:         if ($this->rtl) {
    
    #5    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:3175
    
        Code:
    │    line 3173:         $this->setPageMark();
    │    line 3174:         // print page header
    ├─    line 3175:         $this->setHeader();
    │    line 3176:         // restore graphic settings
    │    line 3177:         $this->setGraphicVars($gvars);
    
    #4    File: /var/www/vhosts/dogs-in-the-city.de/shop/PdfCreator/tcpdf.php:3087
    
        Code:
    │    line 3085:         $this->endPage();
    │    line 3086:         // start new page
    ├─    line 3087:         $this->startPage($orientation, $format, $tocpage);
    │    line 3088:     }
    │    line 3089:
    
    #3    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:667
    
        Code:
    │    line 665:         if(($this->getMaxHeight($order, $table_size) + $y + $break + $extra) >= ($this->h - parent::getPageBreak()))
    │    line 666:         {
    ├─    line 667:             parent::AddPage();
    │    line 668:             $this->getOrderHeader();
    │    line 669:         }
    
    #2    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:552
    
        Code:
    │    line 550:             parent::getFont($this->pdf_fonts['ORDER_INFO']);
    │    line 551:
    ├─    line 552:             $y = $this->is_newPageOi($this->order_info, parent::GetY(), (int)$this->pdf_order_info_margin_top, (parent::getCellHeight()) + 3, $this->pdf_order_info_cell_width);
    │    line 553:
    │    line 554:             parent::SetY($y);
    
    #1    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/gm/classes/gmOrderPDF.php:261
    
        Code:
    │    line 259:        
    │    line 260:         $this->getOrderHeader();
    ├─    line 261:         $this->getBody();
    │    line 262:        
    │    line 263:         // -> use conditions - show them in a newpage
    
    #0    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/gm_pdf_order.php:754
    
        Code:
    │    line 752:     );
    │    line 753:    
    ├─    line 754:     $pdf->Body();
    │    line 755:    
    │    line 756:     if (!isset($next_id)) {
    
    Request: GET /admin/gm_pdf_order.php?oID=30920&type=invoice
        - duration: ~379ms
        - server: Apache
        - server address: 128.127.64.7
        - user agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
        - remote address: 20f159afcbffd1c5b693ad7f6a5bda87
    
    Session:
        - tpl: Honeygrid
        - MOBILE_ACTIVE: false
        - language: german
        - languages_id: 2
        - language_charset: utf-8
        - language_code: de
        - currency: EUR
        - customers_status: Array
            (
                [customers_status_id] => 0
                [customers_status_name] => Admin
                [customers_status_image] => admin_status.gif
                [customers_status_public] => 0
                [customers_status_min_order] => 0
                [customers_status_max_order] => 0
                [customers_status_discount] => 30.00
                [customers_status_ot_discount_flag] => 1
                [customers_status_ot_discount] => 0.00
                [customers_status_graduated_prices] => 1
                [customers_status_show_price] => 1
                [customers_status_show_price_tax] => 1
                [customers_status_add_tax_ot] => 1
                [customers_status_payment_unallowed] =>
                [customers_status_shipping_unallowed] =>
                [customers_status_discount_attributes] => 1
                [customers_fsk18] => 1
                [customers_fsk18_display] => 1
                [customers_status_write_reviews] => 1
                [customers_status_read_reviews] => 1
            )
           
        - cart: shoppingCart Object
            (
                [contents] => Array
                    (
                        [546x989] => Array
                            (
                                [qty] => 1.0000
                            )
           
                    )
           
                [total] => 14.9
                [weight] => 0
                [cartID] => 94582
                [content_type] =>
                [tax] => Array
                    (
                        [1] => Array
                            (
                                [value] => 2.3789915966387
                                [desc] => inkl. 19% MwSt.
                            )
           
                    )
           
            )
           
        - wishList: wishList Object
            (
                [contents] => Array
                    (
                    )
           
                [total] => 0
                [weight] => 0
                [cartID] =>
                [content_type] =>
            )
           
        - 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:
        - oID: 30920
        - type: invoice
    
    
    ================================================================================
    
    2018-12-14 11:59:01 (20f159afcbffd1c5b693ad7f6a5bda87) WARNING(2): "Cannot modify header information - headers already sent by (output started at /var/www/vhosts/dogs-in-the-city.de/shop/gm/classes/ErrorHandler.php:419)" in /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/functions/general.php:186
    
    #1    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/includes/functions/general.php:186
    
        Code:
    │    line 184: function xtc_redirect($url)
    │    line 185: {
    ├─    line 186:     header('Location: ' . $url);
    │    line 187:
    │    line 188:     LogControl::get_instance()->get_stop_watch()->stop();
    
    #0    File: /var/www/vhosts/dogs-in-the-city.de/shop/admin/gm_pdf_order.php:1159
    
        Code:
    │    line 1157:     }
    │    line 1158:    
    ├─    line 1159:     xtc_redirect($url);
    │    line 1160: }
    Request: GET /admin/gm_pdf_order.php?oID=30920&type=invoice
        - duration: ~492ms
        - server: Apache
        - server address: 128.127.64.7
        - user agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
        - remote address: 20f159afcbffd1c5b693ad7f6a5bda87
    
    Session:
        - tpl: Honeygrid
        - MOBILE_ACTIVE: false
        - language: german
        - languages_id: 2
        - language_charset: utf-8
        - language_code: de
        - currency: EUR
        - customers_status: Array
            (
                [customers_status_id] => 0
                [customers_status_name] => Admin
                [customers_status_image] => admin_status.gif
                [customers_status_public] => 0
                [customers_status_min_order] => 0
                [customers_status_max_order] => 0
                [customers_status_discount] => 30.00
                [customers_status_ot_discount_flag] => 1
                [customers_status_ot_discount] => 0.00
                [customers_status_graduated_prices] => 1
                [customers_status_show_price] => 1
                [customers_status_show_price_tax] => 1
                [customers_status_add_tax_ot] => 1
                [customers_status_payment_unallowed] =>
                [customers_status_shipping_unallowed] =>
                [customers_status_discount_attributes] => 1
                [customers_fsk18] => 1
                [customers_fsk18_display] => 1
                [customers_status_write_reviews] => 1
                [customers_status_read_reviews] => 1
            )
           
        - cart: shoppingCart Object
            (
                [contents] => Array
                    (
                        [546x989] => Array
                            (
                                [qty] => 1.0000
                            )
           
                    )
           
                [total] => 14.9
                [weight] => 0
                [cartID] => 94582
                [content_type] =>
                [tax] => Array
                    (
                        [1] => Array
                            (
                                [value] => 2.3789915966387
                                [desc] => inkl. 19% MwSt.
                            )
           
                    )
           
            )
           
        - wishList: wishList Object
            (
                [contents] => Array
                    (
                    )
           
                [total] => 0
                [weight] => 0
                [cartID] =>
                [content_type] =>
            )
           
        - 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:
        - oID: 30920
        - type: invoice
    
    
     
  2. Dennis (MotivMonster.de)

    Dennis (MotivMonster.de) G-WARD 2013/14/15/16

    Registriert seit:
    22. September 2011
    Beiträge:
    30.984
    Danke erhalten:
    6.096
    Danke vergeben:
    1.079
    Beruf:
    Mann für alles :)
    Ort:
    Weilburg
    Can't open image file
    failed to open stream: No such file or directory"

    da scheint dir ne Datei zu fehlen
     
  3. Anonymous

    Anonymous Erfahrener Benutzer

    Registriert seit:
    15. Mai 2017
    Beiträge:
    691
    Danke erhalten:
    129
    Danke vergeben:
    176
    Ja genau, nur welche.
    Support-Ticket #100689364
     
  4. Dennis (MotivMonster.de)

    Dennis (MotivMonster.de) G-WARD 2013/14/15/16

    Registriert seit:
    22. September 2011
    Beiträge:
    30.984
    Danke erhalten:
    6.096
    Danke vergeben:
    1.079
    Beruf:
    Mann für alles :)
    Ort:
    Weilburg
    Minderwertigkeitskomplexe oder warum meinst die Support Ticketnummer hier so groß schreiben zu müssen?
    Check Logo für die Rechnung und schau in datei die dabei steht an der zeilennummer, vielleicht findest nen Hinweis.
     
  5. Wilken (Gambio)

    Wilken (Gambio) Erfahrener Benutzer

    Registriert seit:
    7. November 2012
    Beiträge:
    18.737
    Danke erhalten:
    7.309
    Danke vergeben:
    2.208
    Dennis, pfui. So nicht.

    Ein Ticket ist trotzdem gut, aber die Großschreiberei ändert tatsächlich wenig.
     
  6. Dennis (MotivMonster.de)

    Dennis (MotivMonster.de) G-WARD 2013/14/15/16

    Registriert seit:
    22. September 2011
    Beiträge:
    30.984
    Danke erhalten:
    6.096
    Danke vergeben:
    1.079
    Beruf:
    Mann für alles :)
    Ort:
    Weilburg
    Nix gegen ein Ticket, aber immer diese Großschreiberei nervt langsam.
     
  7. Anonymous

    Anonymous Erfahrener Benutzer

    Registriert seit:
    15. Mai 2017
    Beiträge:
    691
    Danke erhalten:
    129
    Danke vergeben:
    176
    #7 Anonymous, 17. Dezember 2018
    Zuletzt bearbeitet: 17. Dezember 2018
    Schalt mal einen Gang zurück Dennis, das ist Copy & Paste aus dem Ticket Formular,
     
  8. Dennis (MotivMonster.de)

    Dennis (MotivMonster.de) G-WARD 2013/14/15/16

    Registriert seit:
    22. September 2011
    Beiträge:
    30.984
    Danke erhalten:
    6.096
    Danke vergeben:
    1.079
    Beruf:
    Mann für alles :)
    Ort:
    Weilburg
    okay, sorry. machen nur viele letzterzeit das sie schrift ändern oder groß schreiben usw....