Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By indupriya on
Hello,
My RSS feeds are broken.
I can see white spaces in the source code.
Any idea from where these are coming?
I have verified by checking with other themes.
But I can find the same error with other themes also.
So, may be from some modules.
Is there any strategic way to find out from where these spaces are coming?
Comments
Same Problem
I've been looking for answers to this same problem for a while now with no luck. Anyone else out there have this problem?
I've tried turning off all modules in groups at a time. Not one of them was found to be the culprit unless it's the Views RSS module itself. I'll keep trying.
Cam
here is how i fixed it
Had the same problem here ...
I fixed it by removing the extra line breaks that i myself had mistakenly put in at the end of my template.php
Being a noob, i had put a closing php tag at the end of my template.php file and it had a couple line breaks after it - now i am seeing that the closing tag is not needed at all.
If that doesn't work for you, i have seen it mentioned in other threads that a module could be the source of the extra line breaks - make sure there are no line breaks after the closing php tags at the end of all files.
Thank you Thank you Thank you
"I fixed it by removing the extra line breaks that i myself had mistakenly put in at the end of my template.php"
This worked for me -- I never would have figured that one out on my own. Thank you!
Mine was at the end of
Mine was at the end of settings.php, but basically the same fix. Thanks!
Module Problem
In my case, this was being caused by a module in development stage for 6--"anonymous comment." I kept turning off modules and plugging the feed URL into feed validator (http://beta.feedvalidator.org/) until I had isolated the module causing the error. Turned off this module and everything worked fine after. Noted the bug on the page for that module.