PDA

View Full Version : rss feed error


mhashim
08-29-2007, 05:32 PM
Hi I'm having a problem with my rss for www.instin.ca

this error comes up:
XML Parsing Error: xml declaration not at start of external entity
Location: http://instin.ca/index.php?x=rss
Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>
^

anyone have this before? I'm running version 1.6.0

Mo

Dkozikowski
08-29-2007, 11:32 PM
You have empty "blank" lines at the end of your pixelpost.php file.

Delete any "blank" lines after the ?> from your pixelpost.php file.

mhashim
08-30-2007, 01:49 PM
I forwarded the suggestion to my techy friend who also took a look at it and it doesnt seem like that is the problem. There are no extra lines present apparently.

Mo

mhashim
08-30-2007, 06:41 PM
now i'm getting this error:

Invalid xml declaration.
Line: 2 Character: 3

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


any ideas anyone?

dakwegmo
08-30-2007, 08:11 PM
The problem is that there is blank space outside one of the php files that gets included when index.php is run, this could be pixelpost.php, any addon, or any of the core files that you may have edited.

Check your pixelpost.php make sure there is no white space outside of the <?php and ?> tags. The first character on the first line, should be <, if there's an extra line, a tab, or a space, remove it. Likewise, if there is anything after the closing >, remove it as well.

If pixelpost.php is not the culprit, start disabling addons and rechecking your feed. If you find it starts working after disabling an addon, run through the above check with that particular addon.

If you still haven't found it after doing all that, then it's possible a core file has been modified. I would recommend re-uploading your PP files instead of trying to check each file for white space.

GeoS
09-02-2007, 04:51 PM
As it looks like clear now/solved then Im closing this topic.