Discussion:
[Check_mk (deutsch)] application/vendor/fpdf/fpdi.php [562]:
Hollop, Karsten
2018-11-29 14:35:50 UTC
Permalink
Hallo,

bei einem check_mk 1.5.0p7 auf einem Ubuntu 18.04.1 LTS bekomme ich einen Fehler angezeigt wenn ich bei den perf-Daten pdfŽs erstellen lassen möchte:

PNP4Nagios Version 0.6.26
Please check the documentation for information about the following error.

The each() function is deprecated. This message will be suppressed on further calls

file [line]:

application/vendor/fpdf/fpdi.php [562]:

Leider komme ich bei meiner Suche nach einer Lösung nicht weiter. Über eure Hilfe würde ich mich sehr freuen.



VG



[logo]
Karsten Hollop
Plattformbetrieb
Kommunales Rechenzentrum Cottbus
Eigenbetrieb der Stadt Cottbus
Calauer Straße 71
03048 Cottbus
Tel: +49 (0) 355 49 49 71 61
E-Mail: ***@krz-cottbus.de<mailto:***@krz-cottbus.de>
[cid:***@01D487F9.34391670]E-Mails sparen Zeit und Geld.
Sie nicht auszudrucken spart Bäume.
Andreas Döhler
2018-11-29 16:14:13 UTC
Permalink
Hallo Karsten,

das ist ein Problem mit der PDF Komponente im PNP4Nagios und PHP 7.2.xx
Schneller Fix fÌr das Problem besteht im Àndern einer Zeile.

/omd/versions/1.5.0p7.cre/share/pnp4nagios/htdocs/application/vendor/fpdf/fpdi.php
562 while (list($k, $v) = each($value[1])) {

wird geÀndert in

foreach($value[1] as $k => $v) {

habs mal bei mir probiert und es kommt wieder ein PDF raus.

Gruß
Andreas


Am Do., 29. Nov. 2018 um 15:36 Uhr schrieb Hollop, Karsten <
Post by Hollop, Karsten
Hallo,
bei einem check_mk 1.5.0p7 auf einem Ubuntu 18.04.1 LTS bekomme ich einen
PNP4Nagios Version 0.6.26
Please check the documentation for information about the following error.
The each() function is deprecated. This message will be suppressed on further calls
application/vendor/fpdf/fpdi.php *[562]:*
Leider komme ich bei meiner Suche nach einer Lösung nicht weiter. Über
eure Hilfe wÃŒrde ich mich sehr freuen.
VG
[image: logo]
*Karsten Hollop*
Plattformbetrieb
Kommunales Rechenzentrum Cottbus
Eigenbetrieb der Stadt Cottbus
Calauer Straße 71
03048 Cottbus
Tel: +49 (0) 355 49 49 71 61
E-Mails sparen Zeit und Geld.
Sie nicht auszudrucken spart BÀume.
_______________________________________________
checkmk-de mailing list
Verwaltung & Abmeldung unter
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-de
Mueller, Bernd
2018-11-30 08:28:13 UTC
Permalink
Hi Karsten,

es gibt hierzu bereits einen Bug eintrag bei CMK.
FEED-940

Irgendwann sollte das eingearbeitet werden..

ZusÀtzlich hatte ich noch Probleme bei fpdi, welches mittlerweile in der Version 2.x existiert. Diese muss aber erst noch von pnp4nagios eingearbeitet werden.
Daniel Steiner meinte, dieses wÃŒrde eine Weile dauern. Die verwendete Version 1.x ist out of Date


Habe da auch mal einen Bug aufgemacht.. Stand August 2018
 ☺


Mit freundlichen GrÌßen


Bernd Mueller

System Administrator
Information Technology (IT)

LISEGA SE • Germany
Gerhard-Liesegang-Straße 1 • 27404 Zeven
Tel. +49 (4281) 713 - 189
Fax +49 (4281) 713 - 214
Internet http://www.lisega.de


Register Court and Number: Tostedt HRB 121249
Executive Board: Hans-Herlof Hardtke (CEO), Peter Vogt (CFO), Dr. Holger Leistner (COO)
Chairman of the Supervisory Board: Johann-Georg Eule

We herewith inform you about the processing of your personal data which we process on the basis of the business relationship with you (as customer, supplier, etc.). Detailed information on the purposes, the deletion periods, the recipients, your rights as the person concerned, contact details of our data protection officer etc. can be found at the following link: https://www.lisega.de/en/privacy-se.
________________________________
[Get the new LICAD 10 - http://www.lisega.de/downloads/design-development-tools-2.html]<http://www.lisega.de/downloads/licad-software/>

~~~~~~~~~~~~~~


From: checkmk-de [mailto:checkmk-de-***@lists.mathias-kettner.de] On Behalf Of Hollop, Karsten
Sent: Donnerstag, 29. November 2018 15:36
To: checkmk-***@lists.mathias-kettner.de
Subject: [Check_mk (deutsch)] application/vendor/fpdf/fpdi.php [562]:

Hallo,

bei einem check_mk 1.5.0p7 auf einem Ubuntu 18.04.1 LTS bekomme ich einen Fehler angezeigt wenn ich bei den perf-Daten pdfŽs erstellen lassen möchte:

PNP4Nagios Version 0.6.26
Please check the documentation for information about the following error.

The each() function is deprecated. This message will be suppressed on further calls

file [line]:

application/vendor/fpdf/fpdi.php [562]:

Leider komme ich bei meiner Suche nach einer Lösung nicht weiter. Über eure Hilfe wÃŒrde ich mich sehr freuen.



VG



[logo]
Karsten Hollop
Plattformbetrieb
Kommunales Rechenzentrum Cottbus
Eigenbetrieb der Stadt Cottbus
Calauer Straße 71
03048 Cottbus
Tel: +49 (0) 355 49 49 71 61
E-Mail: ***@krz-cottbus.de<mailto:***@krz-cottbus.de>
[cid:***@01D4888F.03AC2060]E-Mails sparen Zeit und Geld.
Sie nicht auszudrucken spart BÀume.

Loading...