PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Images » Image_Graph » Bug #5994

Error

Details

Submitted2005-11-17 10:04 UTC
Frommatjaz dot toplisek at toplisek dot net
StatusBogus
PackageImage_Graph
PHP Version4.3.10
OSLinux
Roadmaps(Not assigned)

Comments

[2005-11-17 10:04 UTC] matjaz dot toplisek at toplisek dot net

Description:
------------
When I would like to show Graph there will be error
in file GRAPH.PHP
line:
class Image_Graph extends Image_Graph_Element

Test script:
---------------
File is as sample logo_graph.php

Expected result:
----------------
I would like to see sample graph:
logo_graph.php

Actual result:
--------------
Fatal error: Cannot redeclare class image_graph in /usr/lib/php/Graph.php on line 66

[2005-11-17 11:20 UTC] matjaz dot toplisek at toplisek dot net

I use the following in Graph:
* Include file Image/Graph/Element.php
*/
require_once 'Image/Graph/Element.php';

/**
* Include file Image/Graph/Constants.php
*/
require_once 'Image/Graph/Constants.php';

[2005-11-17 18:48 UTC] matjaz dot toplisek at toplisek dot net

I have fixed problems, but there is the following error:
Warning: imagettfbbox(): Could not find/open font in /usr/lib/php/Image/Canvas/GD.php on line 1240

do you know what is wrong? Need help

[2005-11-19 11:36 UTC] matjaz dot toplisek at toplisek dot net

If I have problem to show graph, there is bad support to implement chart. you are not helpful. Thanks. I will use another chart software.