While experimenting with a views block that prints to <front> only I selected:
View Type:
- Views RSS: RSS feed
Making this selection killed the entire install and made all pages inaccessible. All that printed to screen (every screen) was:
XML Parsing Error: xml declaration not at start of external entity
Location: http://somesite.com/node/
Line Number 3, Column 1:<?xml version="1.0" encoding="utf-8"?>
Views curiousity should not kill the site. Not sure how to fix?
Comments
Comment #1
merlinofchaos commentedOooh. Hadn't thought about that case. Checking in a fix that should get you back online. Another option would be to disable the views_rss module (UPDATE system SET status = 0 WHERE name = 'views_rss')
RSS feed is only valid for a page view (and in general you're better off using the 'feed selector' argument since most people want their views to be both normal and have RSS feeds behind them).
Comment #2
advosuzi commentedThis was on a staging server - no worries. The biggest concern is making sure this bug doesn't hurt the unsuspecting. Maybe a warning message if nothing else.
Best case would be removing that as a selection from the blocks drop-down.
thx merlin
Comment #3
merlinofchaos commentedRight now removing it isn't really possible. Making it not actually do anything as a block was much easier.
Comment #4
(not verified) commented