|
|||
|
I recently had to recover a web server by installing everything from scratch. It appears I was only about 95% accurate in recovering the environment. Most everything seems to be working. The exception is a program module I wrote using the Zend Framework Zend_Feed classes. This was working perfectly prior to my reinstallation. The PHP program has not changed, but now I get an Error 500 from the “new” web server. My guess is I do not have the environment set up the same way. Can anyone help me discover what could be missing? I have checked the php.ini file and the httpd.conf files and cannot find anything. The new OS is Linux Fedora 7; the old OS was FC 6. I also upgraded the Zend Framework to a newer version.
Here is the code that is not working. Pretty much right out of the example in Zend Framework. require_once 'Zend/Feed.php'; // Fetch the latest Slashdot headlines try { $slashdotRss = Zend_Feed::import($site); } catch (Zend_Feed_Exception $e) { // feed import failed echo "Exception caught importing feed: {$e->getMessage()}\n"; echo "<br />report problem to webmaster<br />"; // exit; }// Initialize the channel data array It dies when trying never reaches the catch exception. The $site variable is set correctly. The URL works from the browser address line so I know it is still there. Any help would be appreciated. Last edited by johnsereno : 11-16-2007 at 12:25 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|