PDF graphics are not working

Hi All,
I need help to solve this issue.

My pdf graphs are not working and i am getting the below error:


PNP4Nagios Version 0.6.26

Please check the documentation for information about the following error.


Function get_magic_quotes_runtime() is deprecated

file [line]:


application/vendor/fpdf/fpdf.php [1043]:

[back]


Could you please help me to solve it? I cannot get the pdf graphs.

If you meant that this is not working in CMK 2 then yes as there is no PNP4Nagios anymore.
If this is a problem in version 1.6 then you have a problem with your PHP version what looks like a actual one.

Here is a quickfix for the 1.6

Hi i have trey whit this with no help

What exactly do you mean?

i have the same error return

can u help me ?

i have change the php version from 7.4 to 7.0 but also with no luck, now i have other return error

You see in the error message the “php_gd” is missing.
I would not recommend to manually change the installed PHP version.
Your installed CMK package depends on the version delivered with your OS.

Here is one other post from the forum regarding the fpdf problem.

but mine version of the fpdf is the same FPDF 1.8.1 and FPDI 1.6.1
what u think need to to next?

Inside the linked post they say you need FPDF 1.8.2 minimum. If i look at the source of 1.8.2 then there is no magic_quote check anymore.

Hi

I download from official site the all directory did i need only to remove the original and to paste the new downloadet ?

The new files must be at the same location as the old ones.
As i don’t use PNP4Nagios anymore i cannot test it.

1 Like

ok thanks anyway :smiley: cheers

can u tell me what u use for report like nagios open sorce?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.