Your message dated Tue, 11 Aug 2009 09:15:54 +0200
with message-id <[email protected]>
and subject line Fixed
has caused the Debian Bug report #531909,
regarding wordpress: wp-config.php should exit after 404
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
531909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531909
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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





--- End Message ---
--- Begin Message ---
Version: 2.7.1-2


This bug was fixed in wordpress 2.7.1-2

Cheers,
Giuseppe.

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to