Page 1 of 1

Problem with RSS

Posted: Wed Jun 01, 2005 6:14 pm
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

Re: Problem with RSS

Posted: Wed Jun 01, 2005 6:32 pm
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!

Re: Problem with RSS

Posted: Wed Jun 01, 2005 6:37 pm
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...

Re: Problem with RSS

Posted: Wed Jun 01, 2005 6:40 pm
by Ted
I just committed 2 changes that will make it fail gracefully (no output at all)

Re: Problem with RSS

Posted: Wed Jun 01, 2005 6:41 pm
by Alex_Leipzig
Thanks a lot for helping me out so quickly!