RSS Error

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
chigo58
Regular
Posts: 12
Joined: Tue Jun 19, 2007 8:35 am
Contact:

RSS Error

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RSS Error

Post by garvinhicking »

Hi!

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

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
chigo58
Regular
Posts: 12
Joined: Tue Jun 19, 2007 8:35 am
Contact:

Post 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.
Post Reply