One on my RSS feeds had an error on their server not mine! there server went down. Now i have this question Their error appeared on my screen as $errorCode = 17
xml_error_string() = xml declaration not at start of external entity
xml_get_current_line_number() = 2
xml_get_current_column_number() = 0
xml_get_current_byte_index() = 62

IS THERE A WAY TO STOP THIS ERROR APPEARING ON MY WEBSITE WHEN A SERVER GOES DOWN AND GETS A PROBLEM WHICH IS NOT MY END?

I am using rss2html pro I have report error message set to 1 but still I got the error on my page, is it possible to have a redirect to a custom error page or turning the error report off fully? It looked very unprofessional to display an error on the page in that way especially as the error was not caused on my server, any help would be much appreciated.

<?PHP
//
// rss2html.php RSS feed to HTML webpage script
//
// Copyright 2004-2007 NotePage, Inc.
// http://www.feedforall.com
//
// This script may be used and modified freely for business or personal use
// This script may not be resold in any form
// This script may only be redistributed in its original form
//
//
// $Id: rss2html.php,v 3.15 2010/03/16 22:31:38 housley Exp $
//

//
// ==========================================================================
// Configuration options
// ==========================================================================
//
// Set the following variable useFopenURL to one if you want/need to use
// fopen() instead of CURL or FeedForAll_fopen()
$useFopenURL = 0;

//
// If XLMFILE is passed as part of the URL, XMLFILE=, then it will be used
// otherwise the the file below is used.
//$XMLfilename = "http://examlple.com/sample.xml";
$XMLfilename = "http://rss.cnn.com/rss/edition_world.rss";

TO THIS

Code:

<?PHP
ini_set('display_errors', 'Off');
//
// rss2html.php RSS feed to HTML webpage script
//
// Copyright 2004-2007 NotePage, Inc.
// http://www.feedforall.com
//
// This script may be used and modified freely for business or personal use
// This script may not be resold in any form
// This script may only be redistributed in its original form
//
//
// $Id: rss2html.php,v 3.15 2010/03/16 22:31:38 housley Exp $
//

//
// ==========================================================================
// Configuration options
// ==========================================================================
//
// Set the following variable useFopenURL to one if you want/need to use
// fopen() instead of CURL or FeedForAll_fopen()
$useFopenURL = 0;

//
// If XLMFILE is passed as part of the URL, XMLFILE=, then it will be used
// otherwise the the file below is used.
//$XMLfilename = "http://examlple.com/sample.xml";
$XMLfilename = "http://rss.cnn.com/rss/edition_world.rss";

Also do i need to keep

Code:

//
// $hideErrors: This will prevent all error messages from being displayed.
// CAUTION enabling this will cause rss2html.php to fail silently with
// no indication to why there was no output
// $hideErrors = 1;