RSS Block Breaking Site

Permalink
I had an RSS feed block on the home page of my site. Now I'm getting this error (It's actually been around for a couple months; I'm just now getting around to fixing this issue):

Fatal error: Call to undefined method DOMElement::getLineNo() in /home/[redacted]/public_html/updates/concrete5.6.1.2_updater/concrete/libraries/3rdparty/simplepie.php on line 8815

The page is hitting that error and not loading the rest of the way. What's crazy is, I've tried rolling back the page to even its initial version, which existed months before that block was put on the page, but the page still loads up and looks like it is now--a recent version with that block killing the page.

Any suggestions? Is there some way I can reset the home page to its default state without deleting the rest of the site? Is there some way to nuke the block without going to the edit page itself? (since its currently inaccessable).

I even tried to rig it up by changing the page's layout to one without the block on it, going into edit mode, changing the design from the dashboard again, and refreshing the page. I end up at the page in edit mode, but unable to interact with the blocks.

Thanks in advance for any help.

 
JohntheFish replied on at Permalink Reply
JohntheFish
You could try connecting to a different RSS source, ideally one with similar structure of content, and see if that makes a difference.

ie. Is it something about the source that is now breaking the feed block? or something about your site and the feed block that is now breaking?
pastrygator replied on at Permalink Reply
Hi John, thanks for the reply!

Pardon my ignorance, but is there a way to change the properties of the block without being able to edit it in the normal way? That's the rut I'm stuck in right now. That error comes up and the page stops loading. The Concrete5 bar across the top is gone and I can't enter edit mode to try and remove the block from the page.

The only way I've been able to temporarily change the home page (to a different format where the block isn't present simply because the different page layout doesn't incorporate the space that the RSS block occupies) is to change the page's design from the dashboard.

The problem/edit bar is only gone on the page the RSS block is occupying. The rest of the site/pages are just fine.

I hope that covered everything and made it all a bit more clear. Thanks for your patience with me! I'm far from being an expert at a lot of this stuff. I know just enough to be dangerous I guess.
JohntheFish replied on at Permalink Reply
JohntheFish
In that case, my above advice changes.

I would start by setting up a minimal test install on a development system with the RSS feed and see if that duplicates the error. Then use that test install to add a second feed on another page.

Next (or if you are feeling more adventurous), do the same on your site. First make a database backup. Then create a hidden page (either not published, or only visible to you), and add an rss block to that with the problem feed. Repeat with another feed. You can delete these pages from the dashboard sitemap if they lock up.

If the block was only recently added to the page, you can go to the sitemap in the dashboard and revert the page version. But that would loose other changes made since adding the block.

You could also create a new page, edit it to contain everything except the RSS feed, then delete the old page and adjust the path and name of the new page to replace the old page.

In a worst case you can uninstall the block, but that would loose all feeds on the site. If you only have one feed on the site, that may be the simplest solution. Then you could install again and re-create the block, which may solve the problem.

If you know the problem is just this specific feed, there will be a database table for the block where you could hack the feed URL using phpMyAdmin. (make a backup first)

You could also try the RSS feed on my Universal Content Puller block. But that uses the same simple pie library, so may suffer the same problem.
JohntheFish replied on at Permalink Reply
JohntheFish
RobShaver replied on at Permalink Reply
RobShaver
Thanks John. I'll continue to document my progress in my bug report thread here:

http://www.concrete5.org/developers/bugs/5-6-1-2/rss-displayer-erro...