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

merlinofchaos’s picture

Status: Active » Fixed

Oooh. 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).

advosuzi’s picture

This 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

merlinofchaos’s picture

Right now removing it isn't really possible. Making it not actually do anything as a block was much easier.

Anonymous’s picture

Status: Fixed » Closed (fixed)