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 2093 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6648
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 05:29:51 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
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

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