Viewing 2 replies - 61 through 62 (of 62 total)
  • I have a simple FIX for this.

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

    ob_clean();

    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.

    Bye!

    OMA2k

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

    <?php ... code .... ?>
    [space]
    <?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…

Viewing 2 replies - 61 through 62 (of 62 total)
  • The topic ‘RSS Doesn’t Work – XML Parsing Error’ is closed to new replies.