Page 2 of 2

Re: Send loadXML errors to log file

Posted: Wed Feb 21, 2018 1:15 pm
by Brf
Whether PHP Warnings show, or not, is part of your server setup. I know on my own IIS setup, I needed to turn on some switches at the Application level to display them.

Re: Send loadXML errors to log file

Posted: Wed Feb 21, 2018 1:53 pm
by whocarez
hm, maybe I do not understand it at all, but I see a "phpBB Debug" warning in a situation, where phpBB debug is switched off.
So every normal php warning, notice or error is going to php-error.log as it should according to my php.ini, but in the above described situation I get these "phpBB Debug" notices.

Code: Select all

@define('PHPBB_INSTALLED', true);
@define('PHPBB_ENVIRONMENT', 'production');
@define('PHPBB_DISPLAY_LOAD_TIME', true);

//@define('DEBUG', true);
//@define('DEBUG_CONTAINER', true);
They shouldn't appear in this situation ...

Re: Send loadXML errors to log file

Posted: Wed Feb 21, 2018 2:18 pm
by JoshyPHP
That's just an educated guess but it's probably that phpBB's error handling obeys the error_reporting setting but not display_errors.