I am trying to enable Developer Mode on a site using Magento 1.7. So far I've added :
SetEnv MAGE_IS_DEVELOPER_MODE "true"
to the .htaccess
file and :
...
if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
Mage::setIsDeveloperMode(true);
}
...
to the index.php
file as described here. I have even removed the If
clause, leaving only :
...
Mage::setIsDeveloperMode(true);
...
in the index.php file. But still no luck. What am I missing? What should I do in order to enable Developer Mode?
Best Answer
Try the following in your
index.php
file:Also make sure to double check that you have:
1. Disable Cache System > Cache Management > Select All [check-boxes] > Actions = Disable > Submit
2. Re-Index All System > Index Management > Select All [check-boxes] > Actions = Reindex Data > Submit
3. Disable Compilation System > Tools > Compilation > Disable
Note: By default compilation mode is disabled. So just check if the Compiler Status is Enabled or not.
4. Turn on Logging System > Configuration > Advanced > Developer > Log Settings > Enabled => Yes