Problem with RSS

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Alex_Leipzig

Problem with RSS

Post by Alex_Leipzig »

Out of the blue, my RSS-fetch doesn't work anymore. Here's the error message:
Warning: MagpieRSS: Failed to parse RSS file. (mismatched tag at line 75, column 74) in /data/homewww/isuew/webdir/cms/modules/RSS/rss_fetch.inc on line 230

Warning: First argument to array_slice() should be an array in /data/homewww/isuew/webdir/cms/modules/RSS/RSS.module.php on line 77

Warning: Invalid argument supplied for foreach() in /data/homewww/isuew/webdir/cms/modules/RSS/RSS.module.php on line 84
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Problem with RSS

Post by Ted »

Looks like the feed doesn't have any items...

However, I need to put an error check to make sure it can handle that situation.  Thanks!
Alex_Leipzig

Re: Problem with RSS

Post by Alex_Leipzig »

wishy wrote: Looks like the feed doesn't have any items...
Actually, it seems you were right with that idea! I tried another feed, and it works. The strange thing is, that in my Opera RSS reader, my feed worked alright.
Anyway, how can I edit the error message - I wouldn't want to have all the smarty errors on a running page...
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Problem with RSS

Post by Ted »

I just committed 2 changes that will make it fail gracefully (no output at all)
Alex_Leipzig

Re: Problem with RSS

Post by Alex_Leipzig »

Thanks a lot for helping me out so quickly!
Locked

Return to “Modules/Add-Ons”