Bug #2420 [Opn->Csd]: Stats-per-release graph broken

From: Date: Wed, 01 Jun 2005 14:14:17 +0000
Subject: Bug #2420 [Opn->Csd]: Stats-per-release graph broken
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-4120@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=2420&edit=1 ID: 2420 Updated by: danielc@analysisandsolutions.com Reported By: eru at php dot net -Status: Open +Status: Closed Type: Bug Package: Web Site Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: danielc New Comment: Fixed in CVS. Thanks Klaus. Previous Comments: ------------------------------------------------------------------------ [2005-06-01 06:45:37] klaus at capitalfocus dot org It seems that the whole problem is the ampersand as an HTML entity. If it is changed to a simple ampersand, it works just fine. Of course, it takes forever for PEAR to generate a complete graph. But on the statistics page it shows up properly all the same. This should be a simple fix. Unfortunately I don't have the pearweb module checked out else I would submit a patch. (The problem is in the "updateGraph" javascript function: line 250 of /pearweb/public_html/package-stats.php.) ------------------------------------------------------------------------ [2004-09-30 09:51:49] eru at php dot net 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 this bug report at http://pear.php.net/bugs/bug.php?id=2420&edit=1

« previous php.pear.webmaster (#4120) next »