My new site is at ManagingMigration.com - but the RSS feed has been impossible to get working properly (on any browsers or Mac/PC - although I mostly use a mac). If you go to managingmigration.com/feed, this pops up:
XML Parsing Error: XML or text declaration not at start of entity
Location: http://managingmigration.com/feed/
Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>
^
I am admittedly a WP novice - but my friend who actually works on this stuff and is in charge of an entire organization's site that he built on WP cannot figure it out, and we've tried some different fixes already. I tried doing this: http://digwp.com/2011/08/custom-feeds/ (basically, a separate RSS page to bypass the regular way to do it, and set it up at http://managingmigration.com/rss-feed, but I got the same error notice). According to my friend, I did this process correctly, but for some reason it won't work.
The following fix was also tried, but again, to no avail: http://debugge.com/wordpress-feed-giving-error-error-on-line-2-at-column-6-xml-declaration-allowed-only-at-the-start-of-the-document.db
Am totally stumped and not sure what else to try. If someone could fix this or tell me how to fix it I would be grateful! Thanks.
Arnav Joy answers:
check your functions.php for following points:1--
1. use of short tags at any place like <? ?> instead of <php ?>
2. unwanted or extra spaces between lines of codes.
3. extra spaces after and above the file.
if these things not work then try adding this at the top of functions.php
<?php ob_start();?>
Arnav Joy comments:
i think there should be an extra space in your any of the file like header.php , footer.php.....
check and remove extra space at the end and begining of functions.php
after ?> closing tags there may be a line remove that.
Arnav Joy comments:
please see the screenshot.