vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Question about debug mode (https://vborg.vbsupport.ru/showthread.php?t=272316)

nerbert 10-18-2011 11:41 PM

Question about debug mode
 
I've read many times that you should "NEVER EVER EVER run your forum in debug mode!!!".

Okay -- why not? Of course I'm sure it increases server loading a little and bandwidth usage a little and puts that table at the bottom of the page, but aside from that is there any problem? I don't plan on keeping it in debug mode all the time but if you want to transfer some templates up to MASTER STYLE surely it can't hurt to run debug for a fraction of an hour.

I could shut the forum down but it all seems unnecessary.

kh99 10-19-2011 03:05 AM

That's a good question, I'm not sure why it's considered such a bad idea other than for performance reasons. The only thing I can think of is that it does display all the db query details, which might help out someone trying to hack the site.

You might be interested in this: https://vborg.vbsupport.ru/showthread.php?t=265999 for ways of enabling debug mode only for yourself. Another way around it (the way I've always done it), is to have a test site set up in debug mode and transfer things to the live site once they're working.

nerbert 10-19-2011 11:25 AM

Thanks for the link. I used the IP address method.

I'm working on tidying up a product I'm preparing to post here. I started it on my dev site but I've changed so much of it on the main site that I thought it would be easier to get the templates on MASTERS STYLE there and export it than move all the changes back to the dev site.

The author of the thread you cited also suggested the debug table displayed too much critical information but it seems to me any hacker would still need to know a lot about vBulletin to make any use of it. If he had a copy of the vB software he would already know everything shown in the debug table anyway.

But I'm glad I can set things so only I can see the table so I don't have to answer the inevitable question about it in my comments forum.

Thanks again for the help.


All times are GMT. The time now is 04:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01014 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete