Einzelnen Beitrag anzeigen
Alt 23.12.2008, 16:59   #8 (permalink)
marX
WPD-Team
 
Benutzerbild von marX
 
Registriert seit: 05.10.2006
Beiträge: 12.943
Wie du schon festgestellt hast ist das keine WP-Funktion. In der pluggable.php:850 steht:
Code:
function wp_redirect($location, $status = 302) {
	global $is_IIS;

	$location = apply_filters('wp_redirect', $location, $status);
	$status = apply_filters('wp_redirect_status', $status, $location);

	if ( !$location ) // allows the wp_redirect filter to cancel a redirect
		return false;

	$location = wp_sanitize_redirect($location);

	if ( $is_IIS ) {
		header("Refresh: 0;url=$location");
	} else {
		if ( php_sapi_name() != 'cgi-fcgi' )
			status_header($status); // This causes problems on IIS and some FastCGI setups
		header("Location: $location");
	}
}
(Zeile 850 rot hervorgehoben).

Der Redirect funktioniert eben nicht mehr, weil zuvor in der (externen?) Anwendung ein Fehler aufgetreten ist - die Fehlermeldung "error mail(): wrong value for subject" verursacht den "Cannot modify"-Fehler und verhindert den Redirect.

Die externe Anwendung scheint auch irgendwas mit der mail()-Funktion zu tun zu haben. Vielleichtfragst du mal beim Hoster an, oder schaust mal ins error.log ob dort weitere Informationen zum Fehler stehen.
__________________
FAQ // Codex // Plugins // marcus.zelend.de // "1984" war keine Anleitung!
marX ist offline   Mit Zitat antworten