Hasher Posted August 5, 2015 Share Posted August 5, 2015 (edited) I have in php.ini: display_errors = On in config/defines.inc.php: define('_PS_MODE_DEV_', true); in smartyadmin.config.inc.php: $smarty->debugging = true; Some errors are logged into my php_error_log but not the one that is causing the white screen. I am developing my own module and because of white screen I am unable to localise the error. EDIT: I have found the reason of white screen - in AdminDeliverySlipController.php I had Tools::redirectAdmin($this->context->link->getAdminLink('AdminPdf').'&submitAction=generateDeliverySlipsLabel&id_order='.Tools::getValue('id_order')); instead of Tools::redirectAdmin($this->context->link->getAdminLink('AdminPdf').'&submitAction=generateDeliverySlipsPDFLabel&id_order='.Tools::getValue('id_order')); but I would still like to know how to log such errors? Edited August 5, 2015 by Hasher (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now