Package: wordpress Version: 2.5.1-11 Severity: minor
wp-config.php should exit after returning a 404 header and not try to include the missing file. 404 Not found Warning: require_once(/etc/wordpress/config-10.42.22.5.php) [function.require-once]: failed to open stream: No such file or directory in /etc/wordpress/wp-config.php on line 17 Fatal error: require_once() [function.require]: Failed opening required '/etc/wordpress/config-10.42.22.5.php' (include_path='.:/usr/share/php:/usr/share/pear') in /etc/wordpress/wp-config.php on line 17 --- wp-config.php.old +++ wp-config.php @@ -11,6 +11,7 @@ if (!file_exists($debian_file)) { header("HTTP/1.0 404 Not Found"); echo "404 Not found"; + exit; } require_once($debian_file); -- System Information: Debian Release: 5.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-xen-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages wordpress depends on: ii apache2 2.2.9-10+lenny2 Apache HTTP Server metapackage ii apache2-mpm-prefor 2.2.9-10+lenny2 Apache HTTP Server - traditional n ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny3 server-side, HTML-embedded scripti ii libjs-prototype 1.6.0.2-4 JavaScript Framework for dynamic w ii libjs-scriptaculou 1.8.1-5 JavaScript library for dynamic web ii libphp-phpmailer 1.73-6 full featured email transfer class ii libphp-snoopy 1.2.4-1 Snoopy is a PHP class that simulat ii mysql-client-5.0 [ 5.0.51a-24+lenny1 MySQL database client binaries ii php5 5.2.6.dfsg.1-1+lenny3 server-side, HTML-embedded scripti ii php5-gd 5.2.6.dfsg.1-1+lenny3 GD module for php5 ii php5-mysql 5.2.6.dfsg.1-1+lenny3 MySQL module for php5 ii tinymce 3.0.8-1 platform independent web based Jav wordpress recommends no packages. Versions of packages wordpress suggests: ii mysql-server-5.0 [virt 5.0.51a-24+lenny1 MySQL database server binaries -- 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