Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   RSS, Feeds & Subscribing (http://forum.bytesforall.com/forumdisplay.php?f=18)
-   -   RSS Feeds now throwing errors (http://forum.bytesforall.com/showthread.php?t=1350)

Alexi Apr 20, 2009 09:35 PM

RSS Feeds now throwing errors
 
Re: WP 2.7/Atahualpa V 32.2

I've had Google/Feedburner html code in a text widget and on my subscribe page for quite a while. Suddenly I get an email from a friend who wanted to set up a feed for my blog sharing that he got an error message.

I checked and sure enough. I get the following message when I try to sign up for a feed. The same thing occurs when I use the built-in RSS setup.

====================
XML Parsing Error: XML or text declaration not at start of entity
Location: http://feeds2.feedburner.com/beautyprpro
Line Number 1, Column 2: <?xml version="1.0" encoding="UTF-8"?>
-^

====================

I've checked out the problem using Google/Feedburner's Validator and it says:

======================
This feed does not validate.
line 1, column 1: Blank line before XML declaration [help]

<?xml version="1.0" encoding="UTF-8"?>
^
======================

I suspect the blank line is coming from when the php renderis or perhaps it contains a blank line. Has anyone else brought this up? Thanks for any info.

Alex

Flynn Apr 22, 2009 06:03 PM

You might have uploaded some theme files in binary mode which should have been ASCII mode. Is your FTP client set to "Auto" as it should? Also check for blank lines at the bottom of /wp-config.php and /wp-content/themes/atahualpa332/functions.php

Alexi Apr 24, 2009 07:32 AM

Hi Flynn,

Yes transfer mode of Filezilla set for 'auto'.

1. Copied original working functions.php into /wp-content/themes/atahualpa332/functions.php
2. Copied back on to server an originally working copy of /wp-config.php.

Error message slightly different now

==============================
XML Parsing Error: not well-formed
Location: http://feeds2.feedburner.com/beautyprpro
Line Number 1, Column 2:# <?xml version="1.0" encoding="UTF-8"?>
-^
==============================

Could it be something else?

Alex

Flynn Apr 25, 2009 05:23 AM

If replacing the files changed the error messages then this indicates that the files might have been causing this. Look into the files (instead of just uploading new ones) to ensure there are no blank lines or spaces at the bottom.


All times are GMT -6. The time now is 11:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.