|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23621 PHP 4.3.2 and JpGraph 1.12.1: "JpGraph Error: Unknown gradient style (=0
Submitted: 2003-05-13 23:38 UTC Modified: 2003-05-17 05:22 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: ggerardo at hotmail dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.3.2RC2 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
11 + 30 = ?
Subscribe to this entry?

 [2003-05-13 23:38 UTC] ggerardo at hotmail dot com
It seems to be that the GD2 extensions is not working correctly at this version.
When I use Jpgraph with PHP 4.3.1 works ok.

More Info:

Testing Enviroment Settings:
- Windows XP SP1 Professional
- IIS 5.1
- Jpgraph 1.12.1

Extensions enabled:
- php_gd2.dll
- php_gettext.dll

Error Message:
JpGraph Error: Unknown gradient style (=0).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-14 21:06 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2003-05-16 19:22 UTC] jpgraph at aditus dot nu
The problem seems to be that in 4.3.2RC2 there where a problem with class instance variabel initialization. Basically initialization with negative values did not work which caused JpGraph to fail.

For example

class SomeClassName {

  var $a = -1;



did not properly initialize $a.
This seems to have been fixed in RC3
 [2003-05-16 20:24 UTC] ggerardo at hotmail dot com
Thanxs a lot !!! 

 [2003-05-17 05:22 UTC]
closing then
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 10 17:05:45 2022 UTC