Home / Language / English / RSS Error

RSS Error

XML Parsing Error: XML or text declaration not at start of entity
Location: http://blog.ancientcave.com/index.php/feed/
Line Number 3, Column 1:<?xml version=”1.0″ encoding=”UTF-8″?>

Solution

  • PHP also uses a similar notation: <?php ... ?>. Note that the final php ?> should be omitted from all PHP code files—modules, includes, etc. The closing delimiter is optional in PHP (but not in XML), and removing it helps prevent unwanted white space at the end of files which can cause problems with your feeds.
  • Check your wp-rss2.php and wp-atom.php files for blank lines outside of <? and ?> bracketed sections.
  • Check your wp-config.php file for blank lines outside of <? and ?> bracketed sections.
  • Check your theme’s functions.php file for blank lines outside of <? and ?> bracketed sections.
  • One by one, disable plugins and revalidate until you isolate the one causing the problem.

http://feedvalidator.org/docs/error/WPBlankLine.html

About Mohammad Khazab

این را هم ببینید

Diigo : Collect and Highlight, then Remember

Highlight and Add sticky notes on webpages Instead of just bookmarking, Diigo allows you to ...

Leave a Reply