diff --git a/phpBB/install/startup.php b/phpBB/install/startup.php index 007b20da35..02d5038836 100644 --- a/phpBB/install/startup.php +++ b/phpBB/install/startup.php @@ -49,13 +49,19 @@ function phpbb_include_updated($path, $phpbb_root_path, $optional = false) function installer_msg_handler($errno, $msg_text, $errfile, $errline) { - global $phpbb_installer_container; + global $phpbb_installer_container, $msg_long_text; if (error_reporting() == 0) { return true; } + // If the message handler is stripping text, fallback to the long version if available + if (isset($msg_long_text) && $msg_long_text && !$msg_text) + { + $msg_text = $msg_long_text; + } + switch ($errno) { case E_NOTICE: