Problem with phpsysinfo
Problem with phpsysinfo
Hi, since it's an external program, I post in this forum.
I downloaded the phpsysinfo there and when I access it I have some errors at the top and I don't know why.
here's the adress of my phpsysinfo page http://ww2.r0bzombie.com:81/phpsysinfo/phpsysinfo.php
You can access all my files there
Thank you
I downloaded the phpsysinfo there and when I access it I have some errors at the top and I don't know why.
here's the adress of my phpsysinfo page http://ww2.r0bzombie.com:81/phpsysinfo/phpsysinfo.php
You can access all my files there
Thank you
My linux only Xbox:
V1.0
CheapMod
160gig hdd
128mb Ram
V1.0
CheapMod
160gig hdd
128mb Ram
Can't seem to connect to it... Times out trying to connect to ww2.r0bzombie.com:81. I can connect to http://www.r0bzombie.com but that seems to redirect to the above and times out on the redirect.
Now you can, my server was down and I didn't notice it.clpalmer wrote:Can't seem to connect to it... Times out trying to connect to ww2.r0bzombie.com:81. I can connect to http://www.r0bzombie.com but that seems to redirect to the above and times out on the redirect.
BTW, the only thing I did with the zipped file on shallax's server was renaming the config.php.new to config.php
Thank you
My linux only Xbox:
V1.0
CheapMod
160gig hdd
128mb Ram
V1.0
CheapMod
160gig hdd
128mb Ram
Can you post the output from:
Code: Select all
lspci
If you want me to do that in SSH then this is what I haveclpalmer wrote:Can you post the output from:Code: Select all
lspci
Code: Select all
Pro ~ # lspci -v
-bash: lspci: command not found
My linux only Xbox:
V1.0
CheapMod
160gig hdd
128mb Ram
V1.0
CheapMod
160gig hdd
128mb Ram
wierd... try /sbin/lspci (where mine is). In any case, phpsysinfo is looking for that to get a list of pci devices in the system (which is why you see "none" under PCI devices). It's trying to reference that in class.parseProgs.inc.php and parse the output, which is why it's throwing up an error when the $lines variable isn't set.
If you do find lspci in /sbin (or elsewhere, try "locate lspci") then it's possible it's just not in your path for some reason. There's a variable ($addpaths) in config.php to add additional paths to search for programs. If you find lspci in /sbin, modify $addpaths to this:
or tack that on the end of the list if it's already set. If you can't find lspci anywhere, you can either try and reinstall it or just comment out the section that looks for it, but you won't see any pci devices on your info page.
In class.Linux.inc.php there's a function called:
In there, add a return statement right after the declaration of $results:
and try that.
If you do find lspci in /sbin (or elsewhere, try "locate lspci") then it's possible it's just not in your path for some reason. There's a variable ($addpaths) in config.php to add additional paths to search for programs. If you find lspci in /sbin, modify $addpaths to this:
Code: Select all
$addpaths = array('/sbin');
In class.Linux.inc.php there's a function called:
Code: Select all
function pci () {
Code: Select all
$results = array();
return $results;
Just as an additional thing I just configured... You can get your hdd temperature as well in the list (as shallax's does). Modify config.php and uncomment the line (leave the suid line commented out):
Then run:
Unless I forgot something, you should get your HDD temperature in the list along with MB and CPU.
Code: Select all
$hddtemp_avail = "tcp";
Code: Select all
emerge hddtemp
rc-update add hddtemp default
/etc/init.d/hddtemp start
I found my problem with a little help from google.
I had to
Now it's working like a charm
Maybe you thought I was running Home version but I have the PRO, maybe it's preinstalled in the home version.
Anyway thanks for your help, you pointed me in the good direction.
I had to
Code: Select all
emerge pciutils
Maybe you thought I was running Home version but I have the PRO, maybe it's preinstalled in the home version.
Anyway thanks for your help, you pointed me in the good direction.
My linux only Xbox:
V1.0
CheapMod
160gig hdd
128mb Ram
V1.0
CheapMod
160gig hdd
128mb Ram
-
- Power user
- Posts: 239
- Joined: Wed Jan 26, 2005 1:32 pm
- Location: Luton UK
- Contact:
Code: Select all
$hddtemp_avail = "tcp";
I tried things like $hddtemp_avail = "192.168.100.250:7634", "tcp"; remote & local all fail miserably, does anyone know if there are any more options other than the limited default?
Regards
Go fully native, it's the destiny of all Mk1 Xboxes
The needs of the many out way the needs of the few or the one ...
The needs of the many out way the needs of the few or the one ...