Page 1 of 1

Does jpgraph 2.3.4 work with mantis?

Posted: 06 Feb 2009, 13:06
by augur
Hi

I installed jpgraph Version: 2.3.4 and the examples works well. But I get an error message in mantis, that the image is corrupted. If I call e.g. summary_graph_bystatus.php?width=450 directly, I get the attached error. It is an png image, with tells me, that the image is corrupt.

Is the newest version working with mantis?

Best regards,
Nils Hendrik Rottgardt

Re: Does jpgraph 2.3.4 work with mantis?

Posted: 08 Feb 2009, 02:27
by amdei
Mantis version? OS?

It works fine on Windows for me in Mantis 1.1.6

Re: Does jpgraph 2.3.4 work with mantis?

Posted: 09 Feb 2009, 11:19
by augur
Hi.

I have an Opensuse 11, Apache 2, PHP5 system with Mantis 1.1.6.

What did you set in Mantis config?

thx, Nils

Re: Does jpgraph 2.3.4 work with mantis?

Posted: 12 Feb 2009, 11:01
by augur
Ok, I found the problem...there are 2 empty lines after the closing php Tag in the config.inc.

This run into problems with the image generation, because the image-output starts with 2 empty lines which brokes the binary image code.

Damn, a bad configuration error from me.

Nils