DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   Wordpress Blog Help. Getting Error. Need Help Please. (http://www.daniweb.com/forums/thread94053.html)

microtekblue Oct 23rd, 2007 9:26 pm
Wordpress Blog Help. Getting Error. Need Help Please.
 
Hello.

I don't know what I did or what has happened, but all of a sudden when I try to click my RSS feed link on my Wordpress blog, I get this error:



XML Parsing Error: xml declaration not at start of external entity
Location: http://www.justwantaquote.com/blog/feed/
Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>
^




Anyone have any idea about how to fix this problem? I have no idea what I did really, except I added some plugins. I have disabled most of them now, but I still get this error.

Any ideas on how to fix this will be greatly appreciated.

Thanks.

bigattichouse Oct 25th, 2007 3:22 pm
Re: Wordpress Blog Help. Getting Error. Need Help Please.
 
I know the error, but not specifically how to fix for wordpress.

The error is because XML parsers expect the <?xml> tag to be the very first thing in the file. Your file is either blank, or has a blank line inserted before that tag. If it is something you generate, you may want to open it in a text editor and take a look.

microtekblue Oct 25th, 2007 10:02 pm
Re: Wordpress Blog Help. Getting Error. Need Help Please.
 
Quote:

Originally Posted by microtekblue (Post 456393)
Hello.

I don't know what I did or what has happened, but all of a sudden when I try to click my RSS feed link on my Wordpress blog, I get this error:



XML Parsing Error: xml declaration not at start of external entity
Location: http://www.justwantaquote.com/blog/feed/
Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>
^




Anyone have any idea about how to fix this problem? I have no idea what I did really, except I added some plugins. I have disabled most of them now, but I still get this error.

Any ideas on how to fix this will be greatly appreciated.

Thanks.

Any Idea as to which PHP file on the wordpress installation this error is related too? Which file would this problem even be related too? I have no clue lol. And thanks for the tip!

ritgrad83 Dec 1st, 2007 1:04 pm
Re: Wordpress Blog Help. Getting Error. Need Help Please.
 
The XML file has an empty first line which is why you are getting the error.

You need to search your Wordpress directory for XML files and if you have Dreamweaver - try using a text search to find the XML file itself - try looking in this folder
justwantaquote-finance-blog/feed/


All times are GMT -4. The time now is 7:54 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC