Most of the time, an error in the forum results in a blank page and a nice 500 error.
This is very frustrating because you have to spend hours tracking down the error in an attempt to resolve it.
However, there is a mode in phpBB that allows you to bypass this blank page; we'll see how to activate it.
This mode, which allows you to precisely track any error occurring in a phpBB forum, is called "development" mode.
This mode is designed for any developer or webmaster who wants to resolve an error by displaying the full source of the current error.
To enable it, open the config.php file.
Find this line:
code : Tout sélectionner
@define('PHPBB_ENVIRONMENT', 'production');code : Tout sélectionner
@define('PHPBB_ENVIRONMENT', 'development');It contains the same instructions as the "production" folder, plus all the commands to enable full forum debugging in the config.yml file.
Don't forget to clear the cache to restart the forum cache. This will create a new folder in cache:development, next to the production folder, which will now host the cache files.
Here is the rendering of an error page in development mode: