Enable debug mode |
Description: How to get more details from error messages. |
Author: AL |
Date: Tue Oct 29, 2002 4:11 pm |
Type: HowTo |
Keywords: debugging, enable, on, off, error, problem, detail |
Category: Miscellanea |
|
sometimes you have an error and are not sure what it means, or where to start looking for help. phpBB2 has a debug mode that will give the query that is causing the error.
to enable debug mode open /includes/constants.php and look for
Code: | // Debug Level
//define('DEBUG', 1); // Debugging on
define('DEBUG', 0); // Debugging off |
and replace with
Code: | // Debug Level
define('DEBUG', 1); // Debugging on
//define('DEBUG', 0); // Debugging off |
then save and re-upload. |
|
|