PHP Bulletin Board Home
News About Home
Features of phpBB Test drive phpBB Downloads Support for phpBB The phpBB Community Styles for customising phpBB 3rd party modifications to phpBB

Support Home | Knowledge Base Home | Submit Article | Search Articles | Browse Articles
 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.

Username: Password:
News | Features | Demo | Downloads | Support | Community | Styles | Mods | Links | Merchandise | About | Home
 © Copyright 2002 The phpBB Group.