Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50009 - dev-php/phpsysinfo-2.1-r2 does not correctly display loadavg > 2
Summary: dev-php/phpsysinfo-2.1-r2 does not correctly display loadavg > 2
Status: VERIFIED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 12:00 UTC by james lische
Modified: 2004-06-26 17:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch created in xml directory (vitals.php.loadavg.patch,368 bytes, patch)
2004-05-04 12:02 UTC, james lische
Details | Diff
screenshot (before.png,36.16 KB, image/png)
2004-05-04 12:03 UTC, james lische
Details
screenshot (after.png,43.43 KB, image/png)
2004-05-04 12:04 UTC, james lische
Details

Note You need to log in before you can comment on or make changes to this bug.
Description james lische 2004-05-04 12:00:39 UTC
In phpsysinfo/includes/xml/vitals.php there is a broken IF statement in the first FOR loop that suppresses display of any loadavg greater than 2. This IF statement appears to have already been removed in the 2.2-rc1 version at sourceforge. I will attach my diff patch that appears to correct the problem.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 james lische 2004-05-04 12:02:35 UTC
Created attachment 30732 [details, diff]
patch created in xml directory
Comment 2 james lische 2004-05-04 12:03:45 UTC
Created attachment 30733 [details]
screenshot 

notice the third loadavg is missing.
Comment 3 james lische 2004-05-04 12:04:39 UTC
Created attachment 30734 [details]
screenshot

after patching, loadavg's now display correctly.
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-05-06 16:13:11 UTC
It's about time we moved this out of the dev-php category.  I'll sort out the patch over the weekend, and include it in the larger category move I'm planning for later in May.

Best regards,
Stu
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2004-06-26 17:24:26 UTC
phpsysinfo-2.2 is now in Portage.  Please use that instead.

Best regards,
Stu
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-06-26 17:43:06 UTC
Closing old bug.