WordPress.org

Ready to get started?Download WordPress

Forums

RSS produces "header" related error (6 posts)

  1. bbmes
    Member
    Posted 6 years ago #

    Here is the start of the error message I receive when I click on the RSS link at the bottom of the page.

    Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/inatio/uvme-casual-games.com/wp-blog-header.php:2) in /hsphere/local/home/inatio/uvme-casual-games.com/wp-includes/feed-rss2.php on line 2

  2. Kafkaesqui

    Posted 6 years ago #

    I can't say it's the cause of the error (it is a likely suspect though), but do you realize whatever scripting that's being used to add the "quote of the day" text, international links and right-corner ad on your blog is breaking your feed?

  3. bbmes
    Member
    Posted 6 years ago #

    OK. So is there a way to include this scripting without breaking the feed?

  4. Kafkaesqui

    Posted 6 years ago #

    As I currently do not know what scripting is being used, I can't answer that. What is the code behind it, and how is it being implemented on your site?

  5. bbmes
    Member
    Posted 6 years ago #

    All I have done is modify the wp-blog-header.php file with two new lines of code.

    inserted at the top of the php section:

    require_once( dirname(__FILE__) . '/rotating_quotes/rotating_quotes.php');

    and included at the bottom of the file after closing the php section is the following inactive script. Removing it completely does not resolve the problem:

    <!-- <script src="http://www.bbmes.com/peel_ads/peel/peel.js" type="text/javascript"></script> -->

  6. kylabea
    Member
    Posted 6 years ago #

    I have this exact issue on my site, it doesn't matter if I change themes or re-install my header file. On mine it doesn't seem to be any one piece of code that's breaking it like the QOTD on yours, but it is killing my traffic.

Topic Closed

This topic has been closed to new replies.

About this Topic