I updated Magento to the latest version via Magento connect , it was success but after the update I get blank screen for admin and frontend.

When I put

if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE']) || true) {

at my index.php

I get below error:

Fatal error: Class 'Mage' not found in how can i solve it please help i want urgent fix .

  • What happens when you copy all the new core files to your applications. Either via rsync or ftp? Mar 5, 2015 at 13:17

1 Answer 1


Make sure the file app/Mage.php exists and that you have this in your index.php file

define('MAGENTO_ROOT', getcwd());
require_once $mageFilename;
  • thanks but why it happens when updated via magneto connect , Mar 5, 2015 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.