I received the following error when I included a Phoca Gallery image module in an article and clicked on the Feed button of my browser (Firefox and IE8):
Fatal error: Call to undefined method JDocumentFeed::addCustomTag() in /www/htdocs/w0072a84/joomla15/modules/mod_phocagallery_image/mod_phocagallery_image.php on line 51
This is the page that generated the error: http://deutschtreffen.de/joomla15/index ... 1&Itemid=9
The second article is the only one in the blog with phoca gallery elements. Strangely, the RSS feed works if you go to the article itself, http://deutschtreffen.de/joomla15/index ... cle&id=312, instead of the blog. I am baffled.
Thanks in advance.
mod_phocagallery_image.php conflict with RSS and Atom feeds
-
- Phoca Newbie
- Posts: 9
- Joined: 07 Sep 2010, 18:27
-
- Phoca Newbie
- Posts: 9
- Joined: 07 Sep 2010, 18:27
Re: mod_phocagallery_image.php conflict with RSS and Atom fe
At the suggestion of Stergios Zgouletas at http://web-expert.gr, I added the second line to mod_phocagallery_image.php:
This solution worked fine. Stergios had a similar problem with his FaceBook J! Comments module. It was also being parsed at feed time, apparently a change in the way the feeds function used to work.
Code: Select all
$document = &JFactory::getDocument();
if($document->getType()!='html') return;
- Benno
- Phoca Hero
- Posts: 9435
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: mod_phocagallery_image.php conflict with RSS and Atom fe
Thanks for this info & well done!
Kind regards,
Benno
Kind regards,
Benno