3

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) {
  Mage::setIsDeveloperMode(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? – brentwpeterson Mar 5 '15 at 13:17
3

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 , – user1799722 Mar 5 '15 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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