Page 1 of 1

No Graph is displayed

Posted: 24 Jul 2006, 13:01
by kerthi
Hey!

I want to use the visual summary in mantis.

I have configured the following variables:

# JP GRAPH SETTINGS
$g_use_jpgraph = ON;
$g_jpgraph_path = '.' . DIRECTORY_SEPARATOR . 'jpgraph' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR; # dont forget the ending slash!

When i display the summary_jpgraph_page.php page nothing is displayed. The System tries to create the images, but none of them is displayed.

If i access a report dirctly it says:
The Image "http://fibrecatn20i:8080/mantis2/summar ... status.php" cannot be displayed, because it contains errors.

Any solutions?

The same configuration of the mantis system works on my local testsystem (images are displayed correctly), but not on the server.

My Version is 1.0.5

thx kerthi

Posted: 24 Jul 2006, 13:28
by Narcissus
Under the JPGraph directory itself (somewhere) is an "Examples" directory.

Check under it first and make sure that the examples work. If they don't, then get your installation to the point where they do. If they do, then let us know.

Posted: 24 Jul 2006, 13:33
by kerthi
The examples work!

But i don't get the summary to work!!

CK

Posted: 31 Jul 2006, 05:49
by kerthi
I don't get the graphs to work.

Have no idea what's the problem.

Posted: 31 Jul 2006, 06:36
by kerthi
I copied the release where the summary is not working to my local test machine.
There all the graphs work as expected.

There must be something wrong with the server configuration.
I have no idea what.

Posted: 03 Aug 2006, 16:54
by TomR
What do you see?

A red cross?

Could be that your config file or custom files have blanks at the end.

Other thing could be memory exhaust from PHP.

Increase it to 16 Mb in php.ini

Posted: 07 Aug 2006, 12:19
by kerthi
Thanks, that worked.
I had a blank at the end of my custom_strings.

Posted: 14 Sep 2006, 23:04
by atomoid
We were getting all blank graph pages (no red 'X' or anything)
...yet all the jpgraph examples ran fine.

The clincher was:
php.ini: memory_limit = 8 (this defualt value was too small)

You need to set it to something like 16 or higher, we set it to 64 and all works fine now.

Re: No Graph is displayed

Posted: 06 Dec 2008, 22:16
by Uwe
Hi,

I had a similar problem with Mantis 1.1.5 & jpgraph 2.3.3.
Also no Mantis graphs were shown but the Jpgraph examples works without problem.
The cause was some leading spaces in my "custom_functions_inc.php" file.
Hopes that helps somebody...

--Uwe