Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2008 at 13:38 UTC
Updated:
22 Oct 2008 at 12:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedWhat's on lines 1 and 2?
Comment #2
merlinofchaos commentedI'm also unable to reproduce the feed icon not appearing on the block issue. That's working flawlessly on my system.
Comment #3
willeaton commentedI cant even give you a url to check im afraid because its not live. Im not sure whats on line 1 or 2 because it doesnt show the <?xml line when looking through the browser. I attach a screen dump of the view to see if you can see an issue.
p.s. I have created tpl files for this view and each field but I have literally copied and pasted all lines from what the view generates for me if that helps.
Thanks
Will
Comment #4
merlinofchaos commentedYou shoudl be able to right click on the RSS link and download it to get the raw RSS. I need to see that.
Comment #5
willeaton commentedAttached xml file
Comment #6
akalsey commentedYou have two blank lines at the top of the feed. Something is inserting blanks before Views even starts to work.
The most common cause of this is a blank line at the end of a module. When PHP includes a module, any blank lines that aren't in a php block (<?php ... ?>) are included as output to the browser. For this reason, Drupal coding standards say that modules should not include the final closing ?>
Look through the modules you have installed and see which one ends in ?> -- removing that line or disabling that module should fix this issue.
Comment #7
merlinofchaos commentedThe most common culprit here is often template.php but you should just generally grep for
?>to see where it might appear. It's also possible to have inadvertant linespace prior to the<?phptag (which is another common issue in template.php) but it's less likely.Comment #8
merlinofchaos commentedI'm reasonably sure this is not actually a Views problem at this point.
Comment #9
willeaton commentedThanks guys! Ill look through now
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.