Phoca Site Plugin - „XML parsing error: No root element found“ instead of RSS channel

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
Radenant
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 25 Aug 2021, 11:07

Phoca Site Plugin - „XML parsing error: No root element found“ instead of RSS channel

Post by Radenant »

Hi there,

i am still using old Joomla! 2.5 (new web in progress, but it will take some time...) and i started Google AdSense with help of Phoca Site Plugin. It worked great for AdSense, but i found one bad thing.

If plug-in is enabled then website RSS channel via Ninja RSS Syndicator (specific, need to be used) got „XML Parsing error: No root element found“ http://www.profiboxing.cz/index.php?opt ... format=raw. If Phoca plug-in is disabled = RSS OK. I went to Syndicator website and forum and found something about another XML parsing error http://ninjaforge.com/component/ninjabo ... 920#p18920, but its not the same. I sent some ask to authors of Syndicator too. I have tried it without AdSense code, just empty plug-in enabled, and error was there too.

Please H13, may i ask you for some tip for sorting this problem? Sure, i know situation on website isnt ideal, but i am working on it. Both, AdSense/Nynja RSS are very needed yet.

Joomla!: 2.5.28
PHP: 5.3.29


Thanks a lot for your time and any info. Btw. great work about Joomla!

Best regards, Radek

ps. případně můžeme česky
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Site Plugin - „XML parsing error: No root element found“ instead of RSS channel

Post by Jan »

Ahoj,

na Joomle 2.5 si to bohužel budeš asi muset modifikovat sám

Přidat podmínku, aby se plugin nevykonával např. v XML:

Code: Select all

$format = JRequest::getWord('format');
		if ($format=='feed') {
			return true;
		}
nebo

Code: Select all

$format = JRequest::getWord('format');
		if ($format=='raw') {
			return true;
		}
If you find Phoca extensions useful, please support the project
Post Reply