Broken link or broken line crashes output by rss
Posted: Tue Mar 08, 2005 12:12 pm
If you use a broken link , like the help example or you have a broken connection, then the output crashes .
Hier a sample with correct url but broken line:
Warning: MagpieRSS: Failed to fetch http://www.heise.de/newsticker/heise.rdf. (HTTP Error: connection failed () in C:\www\xampp\htdocs\cms2\modules\RSS\rss_fetch.inc on line 230
Warning: array_slice() [function.array-slice]: The first argument should be an array in C:\www\xampp\htdocs\cms2\modules\RSS\RSS.module.php on line 91
Warning: Invalid argument supplied for foreach() in C:\www\xampp\htdocs\cms2\modules\RSS\RSS.module.php on line 98
Hier a sample with correct url but broken line:
Warning: MagpieRSS: Failed to fetch http://www.heise.de/newsticker/heise.rdf. (HTTP Error: connection failed () in C:\www\xampp\htdocs\cms2\modules\RSS\rss_fetch.inc on line 230
Warning: array_slice() [function.array-slice]: The first argument should be an array in C:\www\xampp\htdocs\cms2\modules\RSS\RSS.module.php on line 91
Warning: Invalid argument supplied for foreach() in C:\www\xampp\htdocs\cms2\modules\RSS\RSS.module.php on line 98