PHP Error Handling and Magento Developer Mode

You have installed new module but Magento is not executing your code neither throwing any error just try to run Magento in developer mode.
You can turn on the developer mode in .htaccess file or index.php by adding the below line

#File: .htaccess
SetEnv MAGE_IS_DEVELOPER_MODE “”
or
#File: index.php
if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
Mage::setIsDeveloperMode(true);
}

This will ensure that Magento will throw exception even for Warning and Notices
Please visit link for more detail: http://alanstorm.com/magento_exception_handling_developer_mode



PHP Error Handling and Magento Developer Mode PHP Error Handling and Magento Developer Mode Reviewed by Web Technology Funda on 3:17:00 AM Rating: 5

2 comments

Free! Free!Free! Subscribe to Get Free PHP (Magento) tutorial Update in Your Inbox!!! Hurry Up!!!