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 .

brentwpeterson
  • 6,104
  • 7
  • 43
  • 81
user1799722
  • 970
  • 3
  • 31
  • 77

1 Answers1

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;
....
brentwpeterson
  • 6,104
  • 7
  • 43
  • 81
Marius
  • 197,939
  • 53
  • 422
  • 830