I'm getting a page with the following message:
Fatal error: Class 'Exception' not found in /home/mysite/public_html/lib/Varien/Exception.php on line 29
Here is the line that generates the error:
class Varien_Exception extends Exception {}
Changing the line to call the global namespace (\Exception) doesn't help, I'm still getting the same message. Additionally, I don't get an autoloader warning about a missing file for the exception class, as I would get for using extends Exception22 {} for example.
The error started to show up after migration of a magento 1.3 CE installaion to a new server. I get it whenever I'm trying to open Magento Connect manager. The error page url looks like this: http://[MYSITE.COM]/index.php/admin/extensions_local/index/key/[SOMEID]/
I'm using PHP 5.4.39, and I can extend and use Exception in other PHP files.