I have this code:
PHP Code:
try {
$channel = Zend_Feed::import($r['parentURL']);
} catch (Zend_Feed_Exception $e) {
$insertArray = array('statusParentID' => $r['parentID'], 'statusDate' => time(),'statusError' => $e->getMessage());
$db->insert('feed_status', $insertArray);
}
Instead of going in the catch { } when it fails to load the RSS it goes:
Quote:
|
Fatal error: Uncaught exception 'Zend_Http_Client_Adapter_Exception' with message 'Unable to Connect to tcp://www.xc-ski.de:80. Error #60: Operation timed out'
|