charts are always empty (no pie showed on screen)

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
Cyrille
Advanced user
Posts: 28
Joined: Mon Aug 27, 2007 8:52 am
Location: FRANCE (Brittany)

charts are always empty (no pie showed on screen)

Post by Cyrille »

Hello,

i have php_gd2.dll activated in php.ini.
I have last TL 1.8.4 version (released on 5 october 2009)

When clicking on Charts, in Test reports and Metrics, Charts are always empty.

I only see 2 parameters in config.inc.php,

// used to draw charts:
$tlCfg->charts_font_path = TL_ABS_PATH . "third_party/pchart/Fonts/tahoma.ttf";
$tlCfg->charts_font_size = 8;

do i forgot something to do in configuration for charts ?

Cyrille
Cyrille
Advanced user
Posts: 28
Joined: Mon Aug 27, 2007 8:52 am
Location: FRANCE (Brittany)

Post by Cyrille »

i configure these options in custom_config:

$tlCfg->results['charts']['status_colour']=array(
"not_run" => "000000",
"passed" => "00FF00",
"failed" => "FF0000",
"blocked" => "0000FF"
);


but it does not change anything, any idea ?
Cyrille
Advanced user
Posts: 28
Joined: Mon Aug 27, 2007 8:52 am
Location: FRANCE (Brittany)

Post by Cyrille »

Still on my problem:

On a fresh TL 1.8.4 installation, it works. I see all the charts.

On a migrated TL 1.8.4 (from TL 1.7.4), it does not work.

Concerning a previous post on freetype , i verify GD extension , and i have this:

gd

GD Support => enabled
GD Version => bundled (2.0.34 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.1.9
T1Lib Support => enabled
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled

== same configuration between my 2 WAMP servers ==

I do not understand why charts are always empty when you do a migration
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Your environment looks suitable. Both GD library and freetype are supported. What says your apache log?
Cyrille
Advanced user
Posts: 28
Joined: Mon Aug 27, 2007 8:52 am
Location: FRANCE (Brittany)

Post by Cyrille »

as a consequence, before your mail, i think it was only a configuration problem. I read apache log, no erros.

So, as a last chance to solve the problem, i decide to put all my custom_config.inc.php in config.inc.php with a file comparison with the config.inc.php from TL from scratch.

So in fact, there are some variables which are not in my 2 files custom.inc.php and custom_config.inc.php , when comparing with a good config.inc.php .

Now it works

:D
Christophe
TestLink user
Posts: 12
Joined: Wed Sep 16, 2009 4:52 pm

Re: charts are always empty (no pie showed on screen)

Post by Christophe »

May I kindly ask you some more details about the solution of you problem, I guess I am facing the same?
Thanks a lot
Locked