Does jpgraph 2.3.4 work with mantis?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
augur
Posts: 11
Joined: 09 Jul 2008, 08:03

Does jpgraph 2.3.4 work with mantis?

Post 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
amdei
Posts: 5
Joined: 08 Feb 2009, 02:15

Re: Does jpgraph 2.3.4 work with mantis?

Post by amdei »

Mantis version? OS?

It works fine on Windows for me in Mantis 1.1.6
augur
Posts: 11
Joined: 09 Jul 2008, 08:03

Re: Does jpgraph 2.3.4 work with mantis?

Post 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
augur
Posts: 11
Joined: 09 Jul 2008, 08:03

Re: Does jpgraph 2.3.4 work with mantis?

Post 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
Post Reply