Menu

#36 Fehlermeldung nach PHP Update

1.6
open
None
1
2020-12-08
2018-05-03
Kottenrodt
No

Hallo Edy,

immer wenn mein Hoster Updates macht, kommt es danach wieder mal zu einem Problem :(

PHP-Version 7.0 mit Fehlermeldung:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/compuf1/public_html/phpRechnung/include/smarty/libs/Smarty.class.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home/compuf1/public_html/phpRechnung/include/smarty/libs/Smarty.class.php:64) in /home/compuf1/public_html/phpRechnung/include/phprechnung.inc.php on line 182

mysqli ist bereits eingestellt und die neueste AdoDB5 ist installiert

Für deine Hilfe danke ich im Voraus

Viele Grüße
Jörg

Related

Bugs: #36

Discussion

  • Edy Corak

    Edy Corak - 2018-05-07

    Hallo Jörg,

    phpRechnung 1.6.6 ist verfügbar, sollte jetzt auch mit PHP 7 funktionieren.

    Edy

     
  • Kottenrodt

    Kottenrodt - 2020-12-08

    Hallo Edy,

    hat eigentlich alles prima funktioniert, bis zum nächsten PHP-Update. Momentan habe ich 1.66 auf PHP 7.4 laufen.
    Nun bekomme ich einen Fehler, wenn ich eine Rechnung drucken möchte. Habe die aktuellste AdoDB5 installiert, jedoch keine Änderung.
    Error 500

    Wo kann ich noch schauen, woran es liegen könnte?

    Für deine Hilfe vielen Dank im Voraus-
    Gruß
    Jörg

     
    • Kottenrodt

      Kottenrodt - 2020-12-17

      Hallo Edy,

      habe es geschafft. Läuft jetzt auf PhP7.4
      Umstellung auf UTF8 hat auch geklappt. Dazu muss man einen kleinen
      Eintrag in der fpdf.php verändert werden.

      In Zeile 645 ersetzt man:

      |if($txt!=='')|

      mit: $txt = iconv('utf-8', 'cp1252', $txt);

      und schon klappt es prima. Vielleicht interessant, falls mal jemand
      nachfragt.

      Viele Grüße
      Jörg Kottenrodt

      Am 08.12.2020 um 11:59 schrieb Kottenrodt:

      Hallo Edy,

      hat eigentlich alles prima funktioniert, bis zum nächsten PHP-Update.
      Momentan habe ich 1.66 auf PHP 7.4 laufen.
      Nun bekomme ich einen Fehler, wenn ich eine Rechnung drucken möchte.
      Habe die aktuellste AdoDB5 installiert, jedoch keine Änderung.
      Error 500

      Wo kann ich noch schauen, woran es liegen könnte?

      Für deine Hilfe vielen Dank im Voraus-
      Gruß
      Jörg


      [bugs:#36] https://sourceforge.net/p/phprechnung/bugs/36/
      Fehlermeldung nach PHP Update

      Status: open
      Group: 1.6
      Created: Thu May 03, 2018 02:47 PM UTC by Kottenrodt
      Last Updated: Mon May 07, 2018 07:49 PM UTC
      Owner: Edy Corak

      Hallo Edy,

      immer wenn mein Hoster Updates macht, kommt es danach wieder mal zu
      einem Problem :(

      PHP-Version 7.0 mit Fehlermeldung:
      Deprecated: Methods with the same name as their class will not be
      constructors in a future version of PHP; Smarty has a deprecated
      constructor in
      /home/compuf1/public_html/phpRechnung/include/smarty/libs/Smarty.class.php
      on line 64

      Warning: Cannot modify header information - headers already sent by
      (output started at
      /home/compuf1/public_html/phpRechnung/include/smarty/libs/Smarty.class.php:64)
      in /home/compuf1/public_html/phpRechnung/include/phprechnung.inc.php
      on line 182

      mysqli ist bereits eingestellt und die neueste AdoDB5 ist installiert

      Für deine Hilfe danke ich im Voraus

      Viele Grüße
      Jörg


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/phprechnung/bugs/36/
      https://sourceforge.net/p/phprechnung/bugs/36/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions/

      --
      Besuchen Sie meine Homepage,

      interessante Beiträge und Angebote erwarten Sie.

      joKotten Web & Service


      Kiefernstr. 7 | 55743 Idar-Oberstein

      Tel.: 01805-882280 (14 cts/Min a.d. Festnetz)

      Newsletterservice von joKotten Web & Service - http://www.jokotten.com

       

      Related

      Bugs: #36


Log in to post a comment.

MongoDB Logo MongoDB