By indescript on
Drupal is injecting a blank line on line 1 in my rss feed causing the feed not to validate. Can anyone tell me where to start to troubleshoot this?
Drupal is injecting a blank line on line 1 in my rss feed causing the feed not to validate. Can anyone tell me where to start to troubleshoot this?
Comments
Blank lines
All module files, the settings.php file, etc., should all begin with
<?phpand end WITHOUT the PHP?>closer directive. If you added a PHP closer, or installed a third-party module that does so, you may get a blank line because anything after?>, such as spaces or line enders that you might not see, will be pushed into the output buffer.Thanks. I wasn't sure if
Thanks.
I wasn't sure if the problem existed pre custom theme so I changed back to the original theme and I still have the issue. I also disabled my third part modules and don't have any closing php tag in settings.php.
I'm still digging.
I had this problem on a site
I had this problem on a site using CiviCRM. Removing CiviCRM solved the RSS problem.