Forums

[resolved] RSS XML declaration parsing error (6 posts)

  1. jeremyboggs
    Member
    Posted 2 years ago #

    Just recently I've had a problem with my RSS feeds. I get this error:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://clioweb.org/feed/
    Line Number 1, Column 2: <?xml version="1.0"

    This occurrs for all my feeds:

    http://clioweb.org/feed/
    http://clioweb.org/?feed=rss2
    http://clioweb.org/wordpress/wp-rss2.php

    I pretty certain that the error is caused by a space in front of my XML declaration, but I'm not sure how or why the space is being added. I've tried editing all my feed files with no luck, and I've tried searching the forums for a variety of keyword combinations with no results. Can anyone help?

  2. jeremyboggs
    Member
    Posted 2 years ago #

    Nevermind, I'm stupid. I had an error in my .htaccess file. They all work fine now.

  3. noslee3
    Member
    Posted 2 years ago #

    Hi Jeremy:

    I'm getting the same error for my feed: http://www.diseducation.com/newsletter/?feed=rss2

    what did you fix in your .htaccess file?

    thanks.

    -nos

  4. IsraelBarros
    Member
    Posted 2 years ago #

    Hi Jeremy and noslee3,

    I get the same error on my feeds, but only in other computer. On my computer anything is going fine! May is something in relation with the send refer, do you remember?

  5. jeremyboggs
    Member
    Posted 2 years ago #

    Hi all,

    Sorry for not responding sooner. The problem with my feeds wasn't due to my .htaccess file. It was caused by my using the Countdown Timer plugin version 1.3 (http://www.andrewferguson.net/wordpress-plugins_old#countdowntimer). I haven't upgraded to the latest version (1.4), but deactivating this plugin solved my problem.

  6. Otto42
    Moderator
    Posted 2 years ago #

    The most common cause of this is a plugin that has a blank line at the top or bottom of the php file (before the <?php or after the ?>). Find that blank line and remove it, and all is well.

Topic Closed

This topic has been closed to new replies.

About this Topic