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

When trying to launch phpsysinfo from a browser : http://localhost/phpsysinfo/
we first get a redirect to http://localhost/phpsysinfo/index.php?disp=dynamic
with a "Loading... please wait!" html message
then an alert popup "Error loading XML document" and nothing more.

Looking in error.log we found the cause of the problem :
Use of php deprecated function "split()" -> error

Problem still present at 2010-09-21 after an aptitude update + upgrade

-- Bug data:

Debian : squeeze/sid
Php : PHP 5.3.2-2 with Suhosin-Patch (cli) (built: Jul 19 2010 01:22:58)

/var/log/nginx/access.log :
localhost - [21/Sep/2010:06:08:21 +0200] "GET /+/phpsysinfo/ HTTP/1.1"
200 572 "" "Mozilla/5.0"
localhost - [21/Sep/2010:06:08:21 +0200] "GET
/+/phpsysinfo/index.php?disp=dynamic HTTP/1.1" 200 1861
"http://localhost/phpsysinfo/"; "Mozilla/5.0"

/var/log/nginx/error.log :
2010/09/21 05:15:02 [error] 2597#0: *180 FastCGI sent in stderr:
"PHP Deprecated:  Function split() is deprecated in
/usr/share/phpsysinfo/includes/common_functions.php on line 64

http://php.net/split :
This function has been DEPRECATED as of PHP 5.3.0.

# grep error_reporting\ = /etc/php5/cgi/php.ini
error_reporting = E_ALL | E_STRICT

# grep error_reporting\ =
/usr/share/doc/php5-common/examples/php.ini-development
error_reporting = E_ALL | E_STRICT


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34.6 x86_64 (SMP w/1 CPU core)
Glibc : 2.11.2-5
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages phpsysinfo depends on:
ii  nginx [httpd]                 0.7.67-3   small, but very powerful and effic
ii  php5                          5.3.2-2    server-side, HTML-embedded scripti

phpsysinfo recommends no packages.

Versions of packages phpsysinfo suggests:
ii  hddtemp                    0.3-beta15-46 hard drive temperature monitoring
ii  lm-sensors                 1:3.1.2-6     utilities to read temperature/volt

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to