Tuesday, September 27, 2011

Joomla 1.7.1 Broken RSS Feed - How to Fix It!!

OK - probably the two fastest posts to this blog I've ever made.

There is a fix for the broken RSS feed (Syndication) problem in Joomla 1.7.1 and it's not hard. In fact, there are two fixes.

The easiest one is to turn off the system caching plugin (System - Cache). Definitely not ideal at all as it will have detrimental performance characteristics for your install.

The least easy one is to modify a line in libraries/joomla/cache/cache.php - Line 529 to be precise.

Check it. It should be "if ($loptions['nohead'] != 1) {"

Go ahead and change it to "if ($loptions['nohead'] != 1 && method_exists($document, 'getHeadData')) {" and re-test.

Worked for me, should work for you.

Good luck!

Cheers - TheTechnoHippie.

Joomla 1.7.1 Released - and Still Buggy.

It's good to see that Joomla! has progressed far beyond its original scope and has improved so dramatically.

The jump from v1.5.x to v1.7.0 was massive and made so many improvements that make life for users so much easier. It's great.

However, about twelve hours ago, news of the new release of v1.7.1 came up and noted that it fixed a whole heap of interested niggles. My pet niggle is that the syndication feed feature wasn't working properly, even though there was a patch to fix it released a month or so ago.

The patch didn't work. The upgrade still doesn't work. And I'm still in RSS hell.

If anyone has any clues how to fix it, please make contact with me!

Here's what happens:
- Create a Syndicated Feed through the usual Module method, selecting the category/categories you want
- All looks like it works, until you try to test it in Feedburner, or just plain old fashioned click on it.
- The error message is "Fatal error: Call to undefined method JDocumentFeed::getHeadData() in /var/www/web1/web/libraries/joomla/cache/cache.php on line 530"

I've exhausted my Google-fu on this and can't seem to find a known fix.

So, if there is anyone out there who has had this problem and knows how to solve it, please reply here.

Best Regards - TheTechnoHippie.