Page 1 of 1

RSS Error

Posted: Fri Jan 04, 2008 3:08 pm
by chigo58
Hello,

Can anyone help me as to why I am getting this error when polling my RSS feed pls? I cannot seem to track it down. (Hosting with godaddy)

Code: Select all

XML Parsing Error: junk after document element
Location: http://maltainfosec.org/index.php?/feeds/index.rss2
Line Number 2, Column 1:<b>Fatal error</b>:  Cannot redeclare class pear in <b>/usr/local/lib/php/PEAR.php</b> on line <b>86</b><br />
^
Original feed

Code: Select all

http://maltainfosec.org/feeds/index.rss2
Thank you in anticipation.

Re: RSS Error

Posted: Mon Jan 07, 2008 4:56 pm
by garvinhicking
Hi!

Which event plugins do you have installed? It seems one if them is creating an error.

Regards,
Garvin

Posted: Wed Jan 09, 2008 9:56 am
by chigo58
Thanks for helping to find the problem Garvin. For the benefit of others that might encounter the same problem, here is what Garvin found.
THe problem was that your local PEAR installation was enabled, but didn't properly include the recent HTTP-Request library, making PEAR fail somehow (from /usr/local/lib/php instead of serendipity's). S9y always gives precedence to a locally installed PEAR, and I couldn't debug what's wrong with your installation.

The actual cause was the podcast plugin making a HTTP connection to your linked youtube videos, but the connection failed. I have commented out the place in serendipity_event_podcast.php so that this is no longer tried, and your RSS feed works now.