Enabling debug mode
Posted: Fri Jun 07, 2024 7:18 am
There are several debugging options that can be enabled to display information that is normally hidden or limited.
This is what the default content of the ./config.php file under phBB Rhea should look like:
To be able to activate debug, you must uncomment these 3 lines of code in the file:
You must delete the // at the start of the line.
Attention: this will only take effect after clearing the cache.
You will see this example display at the footer:
This is what the default content of the ./config.php file under phBB Rhea should look like:
Code: Select all
<?php
// phpBB 3.2.x auto-generated configuration file
// Do not change anything in this file!
$dbhost = 'localhost';
$dbport = '';
$dbname = 'bd_name';
$dbuser = 'bd_user_name';
$dbpasswd = 'bd_user_name_password';
$table_prefix = 'phpbb_';
$dbms = 'phpbb\\db\\driver\\mysqli';
$acm_type = 'phpbb\\cache\\driver\\file';
$phpbb_adm_relative_path = 'adm/';
@define('PHPBB_INSTALLED', true);
//@define('DEBUG', true);
@define('PHPBB_ENVIRONMENT', 'production');
//@define('DEBUG_CONTAINER', true);
//@define('PHPBB_DISPLAY_LOAD_TIME', true);
Code: Select all
//@define('DEBUG', true);
//@define('DEBUG_CONTAINER', true);
//@define('PHPBB_DISPLAY_LOAD_TIME', true);
Attention: this will only take effect after clearing the cache.
You will see this example display at the footer:
Code: Select all
Time: 0.096s | Peak Memory Usage: 9.61 MiB | GZIP: Off | Queries: 12 | SQL Explain