Advertisement:

Navigation

SMF Mod Site

Mod Name:
Add 'Show Debug Information' setting to Server Settings
Created By:
Deprecated
Type:
Feature Enhancement
First Created:
October 15, 2008, 08:58:25 AM
Last Modified:
March 01, 2016, 02:02:56 PM
Latest Version:
1.1
Compatible With:
2.0.11
Total Downloads:
3155

Download this mod

db_show_debug_1.1.zip (3kB) [145]
Manual Install Instructions for SMF

Description:

Adds a new "Show debug information" setting Server Settings that enables/disables SMF's query debugging features. When enabled, SMF displays debug information at the bottom of each page which includes the following information:Template files that were loaded

  • Sub-template files that were loaded
  • Language files that were loaded
  • Style sheets that were loaded
  • Number of files included (and which ones)
  • Cache hits (and what they were)
  • Queries used (including full details)

This information is very useful for debugging purposes. It's the same thing as adding the $db_show_debug=true line to your Settings.php file except that you don't have to keep manually editing your Settings.php to turn this feature on and off.

Configuration

The new setting appears on your Server Settings page: Admin -> Configuration -> Server Settings. Check to enable or uncheck to disable, then hit "Save." It's just that simple! :)

Version history

Version 1.1 (Mar. 1, 2016) update for 2.0.11
Version 1.0 (Oct. 22, 2008) original release.