WordPress.org

Ready to get started?Download WordPress

Forums

Quick Adsense
Problem updating config quick adsense (2 posts)

  1. mEsteves
    Member
    Posted 11 months ago #

    I'm trying update config of quick adsense and my browser returns:

    Warning: Cannot modify header information - headers already sent by (output started at /home/daquepen/public_html/wp-content/plugins/custom-ads-sidebar/custom-ads-sidebar.php:1)

    unction 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 && php_sapi_name() != 'cgi-fcgi' )
    		status_header($status); // This causes problems on IIS and some FastCGI setups
    
    	header("Location: $location", true, $status);
    }
    endif;

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    876 is header("Location: $location", true, $status);

    How can I fix this?
    I've got no adsense :(

    http://wordpress.org/extend/plugins/quick-adsense/

  2. Philip Ze
    Member
    Plugin Author

    Posted 11 months ago #

    eeem .. the custom-ads-sidebar is not in the quick adsense. I believe the Warning message is due the conflict.

Reply

You must log in to post.

About this Plugin

About this Topic