Search our database

How to enable Moodle debug mode

Problem:

After login moodle, blank screen return, you will need to enable error message to debug

Solution:

Locate to your moodle directory and edit config.php file, you need to put them at the bottom of the config.php file, just before the closing ‘?>’ tag, using something like this:

ini_set ('display_errors', 'on');
ini_set ('log_errors', 'on');
ini_set ('display_startup_errors', 'on');
ini_set ('error_reporting', E_ALL);

Tags: ,