dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Add 'Show Debug Information' setting to Server Settings  (Read 600 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6502
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:September 21, 2021, 08:21:42 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Add 'Show Debug Information' setting to Server Settings
« on: October 11, 2016, 04:56:01 PM »
http://custom.simplemachines.org/mods/index.php?mod=1466

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!

in dev only
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
I do not condone or support any illegal activities. All information is for theoretical discussion and wonder.
All activities discussed are considered fictional and hypothetical. Information of all discussion has been derived from online research and in the spirit of personal Freedom.

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal