Hi all, i have an issue with Prestashop 1.6.0.9.. every time i do something in BO about catalog and products i obtain a blank page

September 14, 2017 986 views
PHP

I have already turn on errors and the page don’t show me error, system do what i want to do ( e.g i delete a product, i obtain blank page, a return to BO and product was deleted ) but every time show me blank page.
I don’t understand where is the problem.. someone had this problem before me?

1 Answer

Hello,

What I usually do with similar CMS issues is:

  • Enable PHP errors so that you could get more information

  • Enable Debug mode for your PrestaShop

  • Check your Apache error logs

If this still does not help, I usually add this to my index:

// Debug - Add this on top of 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);
}

So let’s say that you are getting this in your /admin area, then you need to add this in your /admin/index.php file. In 99% of the cases, this would display the exact error that is causing the white page.

Regards,
Bobby
Source

Have another answer? Share your knowledge.