修复WordPress的Feed错误

by 李笑来 on 2008/12/10

in WordPress

不知什么时候起我的WordPress的Feed出了问题:

XML解析错误:xml处理指令不在外部实体的开始部分
位置:http://www.lixiaolai.com/index.php/feed/
行:2,列:1

折腾了一会儿,又开始出现以下错误提示:

XML解析错误:未找到元素
位置:http://www.lixiaolai.com/index.php/feed
行:1,列:1:
^

Google “Feed XML 错误 WordPress”,结果在这里找到答案

Solution

  • Check your wp-rss2.php and wp-atom.php files for blank lines outside of bracketed sections.
  • Check your wp-config.php file for blank lines outside of bracketed sections.
  • Check your theme’s functions.php file for blank lines outside of bracketed sections.
  • One by one, disable plugins and revalidate until you isolate the one causing the problem.

{ 1 comment… read it below or add one }

1 Charlie Fisher 2008/12/11 at 06:56

原来是FEED有问题呀,我还以为是我软件出问题了,我一真用rss来看你的博客的

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Previous post:

Next post: