Magento admin url display blank page.display errors code in index.php like this way

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);

but its not showing errors .Again its showing blank page checked the var/log files but there is no error in this files.any one help on this

1 Answer 1


you have no any error find then try below code add top in index.php file

ini_set('error_reporting', E_ERROR);
function fatal_handler() {
    $error = error_get_last();

after check it which line error showing it

  • thanks for ur reply.i got this error Cannot redeclare class Zend_Date_DateObject. how can i solve this issue? Mar 20, 2019 at 13:34
  • Sorry for late reply. Cannot reach to my working laptop. I will process this issue when I be able to Mar 20, 2019 at 13:36
  • ok..i will wait for u r reply Mar 20, 2019 at 13:40
  • Any updates on this? I am having the same issue... Sep 17, 2019 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.