I'm using Version 2.0.18.4. When clicking the RSS feed buttons in the Categories section, I get the following error:
XML Parsing Error: XML or text declaration not at start of entity Location: http://www.notmyforum.com/forum/index.php?p=/categories/category-name/feed.rss Line Number 2, Column 1:<?xml version="1.0" encoding="utf-8"?> ^
I've tried disabling my plugins one at a time, but that doesn't help. I have searched the error, and it seems like it's the line break at the start of the RSS file causing this, but I can't figure out where to go to prevent it from being generated. The entire content of the forum category is there in the source of the file, so there's no issue there; it's just not being shown owing to this error. Any ideas on where I should look to fix this?
Comments
Rss and xml are really code finnercky. Try version 2.0
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •The embarrassing thing is I don't know where to find that to change; I've done a search on my entire forum folder and it won't show up. Do you know where I should look?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Im mobile so no idea, will look in the morning tho.
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://validator.w3.org/feed/docs/error/WPBlankLine.html
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •x00, thanks, but that's what I'm referring to when I say: it seems like it's the line break at the start of the RSS causing this
I just don't know what file to edit to remove the blank line, mainly because I don't know what file generates the RSS. Do you know?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •it is rss.master
but more likely you have either transfer the files wrong such as in binary format/ with BOM or some content is being output before then.
If you have not modified the master before it is unlikely to been changed.
it would have
<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>first thingat the top. First thins is to disable plugin, and use default theme to rule out any of those.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •also get it validated here http://validator.w3.org/appc/
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I tried the original theme, no fix. I decided to go through all my plugins again, as you suggest, and as it turns out, it was the IgnoreUser plugin which broke the RSS. I must have missed disabling it the first time around. I'll make a comment on that plugin to let people know.
Thanks for your help all.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •no worries.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •