How to hide Debug Information

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saleh1
    Member
    • Sep 2009
    • 61
    • 3.8.x

    How to hide Debug Information

    How to hide Debug Information From the bottom of the forum
  • In Omnibus
    Senior Member
    • Apr 2010
    • 2310

    #2
    In the config.php file:

    $config['Misc']['debug'] = true;

    Change "true" to "false"

    OR

    Comment out the line by adding // to the left of the $

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24286
      • 6.0.X

      #3
      There actually two steps for debug on vBulletin 5.

      Reverse the steps described here:
      Debug mode is useful for development purposes- it is required if you will be creating VB5 Modifications you intend to distribute for others to download. However it is also useful for trouble-shooting issues with your site as debug mode often provides more specific error messages when something goes wrong- as such if you are
      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • bootsie1
        Senior Member
        • Jun 2017
        • 150
        • 5.3.x

        #4
        The way i have one of my test sites is
        in the core/includes/config.php
        Code:
         [COLOR=#9cdcfe]$config[/COLOR][COLOR=#d4d4d4][[/COLOR][COLOR=#ce9178]'Misc'[/COLOR][COLOR=#d4d4d4]][[/COLOR][COLOR=#ce9178]'debug'[/COLOR][COLOR=#d4d4d4]] = [/COLOR][COLOR=#569cd6]true[/COLOR][COLOR=#d4d4d4];[/COLOR]
        and in the root dir config.php
        Code:
         [COLOR=#608b4e]//$config['debug'] = true;[/COLOR]
        This way the debug info does not show in the forum directory but it is active in admincp
        Cometbar

        DartsLeague

        Comment


        • Wayne Luke
          Wayne Luke commented
          Editing a comment
          This doesn't provide any benefit. You should just turn off debug mode on production sites.
      • saleh1
        Member
        • Sep 2009
        • 61
        • 3.8.x

        #5
        Thanks to all

        Comment

        Related Topics

        Collapse

        Working...