RSS Doesn't Work - XML Parsing Error (63 posts)

  1. fourdoorchev
    Posted 7 years ago #

    well , i since left my free host and reinstalled

    before i was manually installing wp using a ftp

    this time i used automatic install and with new host my feed now works. now just to build my site again , luckily i wasnt to far in before . not sure what peeps should do that had established sites

    im glad i caught it early

  2. OMA2k
    Posted 7 years ago #

    I have a simple FIX for this.

    Edit feed-rss2.php (inside "wp-includes") and add the following above the first "echo" line:


    This clears the buffer so all blank spaces above the first line of the XML are gone. This worked for me.

    I hope this is of help.



  3. lifestyler
    Posted 7 years ago #

    ok figured it out. In my customized Theme the functions.php had a space somewhere beteen some php lines:

    <?php ... code .... ?>
    <?php ... code .... ?>

    What the rss does is take the functions.php and output it into the rss feed if there is anything to output. Normally you dont output anything from functions.php, but if the WP core files don't strip whitespaces this could be the results...

Topic Closed

This topic has been closed to new replies.

About this Topic