WordPress.org

Ready to get started?Download WordPress

Forums

Feed not working and giving error (5 posts)

  1. askoracledba
    Member
    Posted 5 years ago #

    Hi All,

    When I am clicking on Feed button on my blog http://askdba.org/weblog/, it is giving following error

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://askdba.org/weblog/feed/
    Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>

    Could you please guide, what is wrong

    Regards
    Amit

  2. scribblerguy
    Member
    Posted 5 years ago #

    Your feed has an extra space at the top. For proper XML parsing, the XML document needs to start at the first line.

    The cause of this is usually white space after an end PHP tag ("?>") in either your theme's functions.php file or a plugin file. The normal solution is to open each of these files; look for an extra line at the bottom; and if you find such a line, to remove the whitespace, so that the PHP end tag is on the last line.

    I see that you're using the misty-look theme and I just downloaded the latest version. The functions.php file has an extra line at the bottom. If you remove that, then I think you'll be set.

  3. askoracledba
    Member
    Posted 5 years ago #

    I have tried changing the theme too and nothing has happened. That is till giving error. Any more thoughts?

  4. askoracledba
    Member
    Posted 5 years ago #

    I have modified all the .php files and removed the blank lines but it is still failing. Any other way to correct it. Can some wordpress support people respond to it

    -Amit

  5. askoracledba
    Member
    Posted 5 years ago #

    I have re-installed the WordPress 2.5. Its working fine now. Problem is with version installed with yahoo installer.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags