Package: phpsysinfo
Version: 3.0~rc6-1.1
Severity: important

I have fount some details, when package loads good, in lenny reports (even
path its included) that sensor programs was no found, but lmsensors its
instaled.

*Solved, so then therefore, i defined in /etc/phpsysinfo/config.php the
sensor progran absolute path "/usr/bin/lmsensor" and then modprobe apropiate
sensor module, for try, i load a simple coretemp interl module, and then
reload, everiting fine!*

later, i reproduce the error, firts, reboot (/etc/modules or any file
handles coretemp or any sensor related module, defined, for manualy control
of error and sensor loading), and then lest config.php in original state,
and then load http://localhost/phpsysinfo, everitinh diaplay normal but with
this icon warning mensage if clicked:
-------------------------------------------------------------------------
*/usr/bin/sensors*

No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
Return value: 0
./xml.php on line 113
./includes/xml.class.php on line 41 in function __construct( "", false )
./includes/mb/class.lmsensors.inc.php on line 27 in function __construct()
./includes/common_functions.php on line 95 in function
execute_program( "sensors", "", "" )
-------------------------------------------------------------------------

then i defined an arbitrari name sensor program in
/etc/phpsysinfo/config.php, go reload phpsysinfo and then load page but none
info was displayed! page loads with template desing but empty!

*But there is more details about xml loading CDATA*:

then if I mount a very long path with default config file, the string path
causes not to load CDATA from the xml component for the displayed mounted
drives; and appears the first described error

"Error loading XML document"

cited prevously!

So, i think its two bugs derived from contructor in php class that
previously, phpsysinfo not verify if sensor program exist or are working (as
described above in solution).

-- Bug data:

-- System Information:
Debian Release: lenny
Kernel: Linux 2.6.34-massenkoh-1 686 (SMP PREEMPT)
Glibc : GNU C Library stable release version 2.7
Locale: LANG=es_VE.UTF8, LC_CTYPE=es_VE.UTF8 (charmap=UTF-8)
Shell: /bin/bash

packages
ii  phpsysinfo                                   3.0~rc6-1.1
                       PHP based host information

Versions of packages phpsysinfo depends on:
ii  apache2                                      2.2.9-10+lenny6
                       Apache HTTP Server metapackage
ii  php5                                         5.2.6.dfsg.1-1+lenny9
                       server-side, HTML-embedded scripting language
(metapackage)

phpsysinfo recommends no packages.

Versions of packages phpsysinfo suggests:
ii  hddtemp                                      0.3-beta15-44
                       hard drive temperature monitoring utility
ii  lm-sensors                                   1:3.0.2-1+b2
                       utilities to read temperature/voltage/fan
sensors

-- no debconf information



-- 
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
Cofundador de Venenux;
http://shutendouji.net
creador de massenkoh linux.

Reply via email to