Bug #2420 [NEW]: Stats-per-release graph broken
| From: | eru at php dot net | Date: | Thu, 30 Sep 2004 13:51:49 +0000 |
| Subject: | Bug #2420 [NEW]: Stats-per-release graph broken | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-3197@lists.php.net to get a copy of this message | ||
From: eru at php dot net
Operating system: Irrelevant
PHP version: Irrelevant
Package: Web Site
Bug Type: Bug
Bug description: Stats-per-release graph broken
Description:
------------
On modifying the statistics graph for a package (adding a release at "Show
graph of" with its own color and pressing "Update graph") no picture is
being shown. Reason is multiple errors in the picture-generating
script...
Reproduce code:
---------------
Try to modify a download statistic or browse to
http://pear.php.net/package-stats-graph.php?pid=14&releases=1092_339900
Expected result:
----------------
A nice graph.
Actual result:
--------------
Warning: Invalid argument supplied for foreach() in
/usr/local/www/pearweb/public_html/package-stats-graph.php on line 63
Warning: array_values(): The argument should be an array in
/usr/local/www/pearweb/public_html/package-stats-graph.php on line 103
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/local/www/pearweb/public_html/package-stats-graph.php:63) in
/usr/local/www/pearweb/public_html/package-stats-graph.php on line 116
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/local/www/pearweb/public_html/package-stats-graph.php:63) in
/usr/local/www/pearweb/public_html/package-stats-graph.php on line 117
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/local/www/pearweb/public_html/package-stats-graph.php:63) in
/usr/local/www/pearweb/public_html/package-stats-graph.php on line 118
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/local/www/pearweb/public_html/package-stats-graph.php:63) in
/usr/local/www/pearweb/public_html/package-stats-graph.php on line 119
JpGraph Error: Graph::Add() You tried to add a null plot to the graph.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=2420&edit=1
--