you’re reading...

Featured

The processing instruction target matching “[xX][mM][lL]” is not allowed

Your Ad Here

I recently encountered this error two days ago when I try to change my feedburner feeds to enable podcasting feeds. After adding additional wordpress plugins there it goes my feeds suddenly doesn’t seem to work. Code error creeps in our site and it has been a headache for a while. So the trouble shooting begins. First I try to resolve the error from my RSS feeds by going to www.feedvalidator.org the site give me the following solution so I followed the steps faithfully.

Message
Blank line before XML declaration (WordPress)

Explanation

If an XML declaration () appears in your feed, it must be the first thing in the feed, before any whitespace.
Unfortunately, with WordPress it seems all too easy for a plugin, a theme, or for your configuration file to contain a blank line. Further compounding this problem, some — but not all — feed readers compensate for this common error, allowing the error to go undetected for quite a while. I checked all the php scripts that pertains to RSS feed to check if there’s a blank line before the ?. Then I checked the wp-config.php, including the functions.php of the theme I’m using. To my dismay all the scripts doesn’t have a blank line.

Solution

* PHP also uses a similar notation: . 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 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.

So the final solution is to disable the plugins we’re using which is quite painful especially if you’re site’s layout are dependent on the plugins that you are using. So you’re solution would be either to ignore your RSS; error or do it painfully and start troubleshooting. Of course the reward would be excellent.
See now my feeds are working.

Listen to this post Listen to this post

Share/Save/Bookmark

Discussion

Comments are disallowed for this post.

Comments are closed.

Classified Ads

Advertise your Business Free!eg-classified
Earn $$ with WidgetBucks!

Forum Discussions

  1. Using avatar in the forum xeroxss posted 5 days ago
  2. Quick Script for Configuring Outlook xeroxss posted 1 week ago
  3. Robotics Programming xeroxss posted 1 week ago
  4. Latest Update xeroxss posted 2 weeks ago

Create your Blog

But before you start creating your blog please read our simple guidelines.

Register and Participate

Registration to this website is free. Feel free to use and explore the features of the website. You are welcome to participate and interact with us in the forum. If you have concerns that you want us to know you can easily contact us using this link. By registering in this website, your account will allow you to login and participate in the forum and to access additional information that is only available to registered users. We are keeping this website to be informative for us and to our users.

Register/Login

Syndication

feeds

Podcast Subscribe

Link to Podcast (RSS feed) for this blog

Bluehost

Tag Cloud

No Of Visitors

  • Total visitors: 25,969
  • Max. online: 15
  • Max. visitors per day: 75
  • Currently online: 1

Your IP Address is:

Download Our Community Browser Toolbar