Problem with 'Graphs' after upgrade from 1.7.5 to 1.8.3

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
yoshikawa
TestLink user
Posts: 7
Joined: Sat Nov 24, 2007 7:17 pm

Problem with 'Graphs' after upgrade from 1.7.5 to 1.8.3

Post by yoshikawa »

We've been using TestLink for a while now. Last week, we upgraded from version 1.7.5 to 1.8.3. Everything seems to work fine, the only issue we have is with the 'Graphs' report: it won't load the images. When using Firefox (3.0.11), only the titles for the images appear; no error/warning messages in the event viewer. It doesn't work on IE and Opera either.

We could only see something when we tried to open the report in Google Chrome.

Fatal error: Call to undefined function imageftbbox() in /usr/local/apache2.0/htdocs/hom/183/evolucao_asmacs/third_party/pchart/pChart/pChart.class on line 556

Here are the steps:
1- In the 'Test reports and Metrics' page, select a TP for which there are results and select 'Graphs' report.
2- In the right frame, select one of the images that didn't load (the 'x' icon) and select to open the image in a new tab. The error message appears in the new tab.

Here goes the details of our environment:

OS: DEBIAN GNU/LINUX
Web Server: APACHE 2.2 (working as a proxy to a APACHE 2.0)
DB: mySQL 4.1
PHP: 5.2.5

The strange thing about this behavior is that it is the same setup (servers) we had for version 1.7.5 and we didn't have problems with this particular report then. Also, in a test installation of v 1.8.3 that I have in my local machine (Windows XP), this report works fine.

So, does anybody know what is going on here? Has anybody seen this behavior before? Is there any configuration that needs to be changed in our environment?

Any help/tips will be greatly appreciated.

Thanks,

Ana Sousa.
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Post by TurboPT »

Are there any PHP-related errors in the Apache error log?

That sounds like, but may not be the problem, the GD extension for PHP is not present? (there was a check during the install that verified if this was present [or not])
yoshikawa
TestLink user
Posts: 7
Joined: Sat Nov 24, 2007 7:17 pm

Post by yoshikawa »

Hi, TurboPT.

Thanks for the feedback. I'll forward your questions to our TI guys.

But one thing that I find mysterious about all this is that, in this same server, we have TestLink instances both of versions 1.7.4 (some of the other areas haven't migrated yet) and 1.8.3. And this particular report works just fine on the older version.

So, unless this new version uses something different from the 1.7.x, this behavior doesn't seem to make much sense, does it?
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

The problem is that this function (used in chart component) requires PHP is compiled with freetype support (--with-freetype-dir=DIR) . TL misses the verification of this parameter.
Locked