Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ultraxmode

    (@ultraxmode)

    Nevermind… I fixed it myself. 😉

    Thread Starter ultraxmode

    (@ultraxmode)

    Anyone please? I want some help?… 🙂 I still cannot login to WordPress Dashboard..!

    Thread Starter ultraxmode

    (@ultraxmode)

    I also want to show you, whats in Line 868 (in pluggable.php)Its where it says “header(“Location: $location”, true, $status);”

    */
    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", true, $status);
    	}
    }
    endif;

    Also, in wp-login.php, the code is below…

    eader('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));
    
    if ( defined('RELOCATE') ) { // Move flag is set
    	if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) )
    		$_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );
    
    	$schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
    	if ( dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_option('siteurl') )
    		update_option('siteurl', dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
    }
    
    //Set a cookie now to see if they are supported by the browser.
    setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);

    (its from Line 302 to 314)

    I also see, that when I type “www.dailyfix.gr” in Internet Explorer, I get an error (for pluggable.php, Line 868) BUT when I type “dailyfix.gr” in IE8, I see the page (without the header)…weird..

Viewing 3 replies - 1 through 3 (of 3 total)