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
Hallo Jörg,
phpRechnung 1.6.6 ist verfügbar, sollte jetzt auch mit PHP 7 funktionieren.
Edy
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
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:
--
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