Magento How to debug blank white screen

后端 未结 18 1805

I have an error in my Magento backend that results in a blank screen (WSOD). I have set errors to on in admin but there is nothing being created in var/logs/. (I have checke

18条回答
  •  南笙
    南笙 (楼主)
    2020-12-01 05:41

    This is how I got it corrected(Hope will help you guys):

    1. Use the following code in your index.php file

      ini_set('error_reporting', E_ERROR);
      register_shutdown_function("fatal_handler");
      function fatal_handler() {
          $error = error_get_last();
          echo("
      ");
          print_r($error);
      }
      
    2. In my case it tolde me that error/503.php was unavailable.

    3.The issue was with testimonial extension I used(http://www.magentocommerce.com/magento-connect/magebuzz-free-testimonial.html)

    1. I deleted the testimonial.xml file in my app/etc/modules/testimoanial.xml.
    2. delete “maintenance.flag" file.

提交回复
热议问题