php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56069 Statistics broken links... and more on the subject
Submitted: 2004-05-20 07:10 UTC Modified: 2004-08-02 13:17 UTC
From: klaus at capitalfocus dot org Assigned: danielc (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: klaus at capitalfocus dot org
New email:
PHP Version: OS:

 

 [2004-05-20 07:10 UTC] klaus at capitalfocus dot org
Description:
------------
On the statistics page for a given package, the link to the release is wrong:

http://pear.php.net/package/HTML_CSS&release=0.3.3

Instead, it should be to:

http://pear.php.net/package/HTML_CSS/download/0.3.3

I think you must have just changed it it one of the recent commits. (I think when you changed to /package/ because before that it could simply add &release=X to the querystring.)

It really annoys me that I can't see all the statistical information I used to be able to. For example, last download, etc. The graph also takes much longer to load.

And there's no link to the statistics on the package page. Instead, it's rather troublesome to always have to select from the statistics dropdown menus.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-20 08:12 UTC] danielc at analysisandsolutions dot com
As far as the version number break, I'll generate a patch for that.
 [2004-05-20 10:17 UTC] danielc at analysisandsolutions dot com
The broken links have been fixed.  Thanks for your help.

Regarding the enhancements (or replacing what was there), I agree.  We'll look into implementing it.
 [2004-07-26 14:32 UTC] danielc at analysisandsolutions dot com
Added release date when looking at package's stats.

Martin:

Can you please update the database with this query:
    alter table package_stats add last_dl datetime
    default '0000-00-00 00:00:00' not null;  

_AND_ update pear-database.php lines 1688 et seq to this:

$query = 'INSERT INTO package_stats VALUES (1, ?, ?, ?, ?, ?, ?)';
$dbh->query($query, array($pkg_info['name'],
                          $version,
                          $package,
                          $release_id,
                          $pkg_info['categoryid'],
                          date('Y-m-d H:i:s')
                          )
            );
 [2004-08-02 11:40 UTC] mj@php.net
The database is altered and the script is changed now.
 [2004-08-02 13:17 UTC] danielc at analysisandsolutions dot com
Fixed in CVS.

NOTE: last download times will be correct once someone downloads the given file via the updated website.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC