PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Graph » Bug #3496

Image/Graph/value/marker.php - dir don't exist

Details

Submitted2005-02-16 18:48 UTC
Fromandreas dot grip at gmail dot com
StatusBogus
PackageImage_Graph
PHP Version5.0.1
OSWin2000
Roadmaps(Not assigned)

Comments

[2005-02-16 18:48 UTC] andreas dot grip at gmail dot com

Description:
------------
Warning: Image_Graph::factory(Image/Graph/value/marker.php) [function.factory]: failed to open stream: No such file or directory in C:\pear\pear_install\PEAR\Image\Graph.php on line 513

Warning: Image_Graph::factory() [function.include]: Failed opening 'Image/Graph/value/marker.php' for inclusion (include_path='C:\pear\pear_install\PEAR') in C:\pear\pear_install\PEAR\Image\Graph.php on line 513

Fatal error: Class 'Image_Graph_value_marker' not found in C:\pear\pear_install\PEAR\Image\Graph.php on line 632

Installed with pear.bat install
version Image_Graph 0.3.0dev4
version Image_Color 1.0.1
Running apache 2.0.51
Php 5.0.1

Reproduce code:
---------------
http://pear.veggerby.dk/samples/index.php?sample=31&code=1

Expected result:
----------------
The sample to work?

Actual result:
--------------
Se description

[2005-02-16 20:00 UTC] pear dot nosey at veggerby dot dk

Not a bug, more a problem with the sample.

This is because the sample has been (mistakenly) updated to the latest CVS version, where a class "alias" exists for Image_Graph_Marker_Value: 'value_marker.

To fix this simply use the full class name instead (i.e. Image_Graph_Marker_Value)