Reputation: 363
I have developed a custom magento module for admin section that is working fine on my development server. When I tried to install this module on other server then it is not working properly, when I clicked on module form menu option it is showing blank page. However, enable/disable option in the advanced configuration is visible.
There are no error getting displayed. How should I debug it? where could be possible bug?
Please help!
Thanks,
Upvotes: 0
Views: 4164
Reputation: 3124
A blank page generally means a fatal error. You need to either check your web server error log or PHP error log depending on your setup.
Upvotes: 0
Reputation: 602
if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
Mage::setIsDeveloperMode(true);
}
#ini_set('display_errors', 1);
and change it to
#if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
Mage::setIsDeveloperMode(true);
#}
ini_set('display_errors', 1);
Good luck.
Upvotes: 3