Yogesh
Yogesh

Reputation: 363

magento custom module showing blank page

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

Answers (2)

Lee Saferite
Lee Saferite

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

Nick
Nick

Reputation: 602

  1. You cant find bugs at your server error log file (ex: /var/log/apache2/error.log).
  2. find in you magento index.php this code


    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

Related Questions