Send loadXML errors to log file

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
Support Team Member
Support Team Member
Posts: 51908
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: Send loadXML errors to log file

Post 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.

Registered User
Posts: 146
Joined: Sat Apr 18, 2009 9:19 pm

Re: Send loadXML errors to log file

Post 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 ...

User avatar
Code Contributor
Posts: 1075
Joined: Mon Jul 11, 2011 12:28 am

Re: Send loadXML errors to log file

Post 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.
I wrote the thing that does BBCodes in 3.2.

Post Reply

Return to “[3.2.x] Support Forum”