I'm having an issue with PHP 5.3 where PHPBB is having an error logged into the output, outside HTML tags, which results in a dead website. I've tried configuring php.ini by setting display_errors to Off but it does nothing. I attach outputs with php 5.2 and 5.3 below. Reproducible: Always
Created attachment 259677 [details] PHP 5.3 output
Created attachment 259679 [details] PHP 5.2 output
<b>[phpBB Debug] PHP Notice</b>: in file <b>/index.php</b>... That's not a PHP message. To fix it, read the error message: You are *required* to use the date.timezone setting or the date_default_timezone_set() function. (likely setting date.timezone in php.ini is what you want)
It's not? It is a PHP function: http://php.net/manual/en/function.date-default-timezone-set.php And it is properly logged in the error log with PHP 5.2. The message also says "PHP Notice"... If it is not, why does it show up correctly in the error_log in 5.2 and why can't I get it to only show up on the log in 5.3? Best regards, Tiago
<b>[phpBB Debug] PHP Notice</b>: in file <b>/index.php</b>... See how it is prepended with "[phpBB Debug]"? That's likely a custom error handler from phpBB. There is no bug here, just do as the message says and set your timezone. For other end user support, please visit our forums, IRC channels or post to our mailing list.
This is phpBB related, setting date_default_timezone_set('US/Eastern'); on config.php fixed every problem I could find.