![]() |
|
|
Article Options |
|
Turn on the debug mode
by
Rating:
You can turn on the debug mode simple by adding:
to your includes/config.php just before
(which is at the end of the file )To turn it off you may remove that line or change it to:
No members have liked this post.
|
||||||||||||
|
Views: 21909
|
||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
As a vb dev told me when I brought up the security implications of turning debug on: "You shouldn't be using debug mode on a live site. Use it on a private test installation that is controlled by .htaccess permissions."
Keep that in mind and if you plan to use debug on a live board for just a few minutes, make sure to turn it back off when you're done.
__________________
Mods: Bookmark this thread with deli.cio.us, Fork threads, Improve subscription signups w/ link Forums: DiamondRing.com, , Sims Talk, Diamond Blog No members have liked this post.
|
|
#3
|
||||
|
||||
|
Originally Posted by GilbertZ
What are the possible security issues with this.
I mean the speed limit sign says 55 but I don't do 55... I go a little over. Sometimes I don't wear my seatbelt. Tell me why I should go 55 and wear the seatbelt. Then when you're done with that... tell me the reasons that debug mode creates a security issue... kthx ![]() No members have liked this post.
|
|
#4
|
||||
|
||||
|
Originally Posted by ProperMethodz
From what I understand, as anyone can see what your board is doing (query explain for example), it would be much easier to find security holes in your code.
__________________
No members have liked this post.
|
|
#5
|
||||
|
||||
|
If your IP doesn't change and your the only one needing to use the debug mode, you can do this.
No members have liked this post.
|
||||
|
#6
|
||||
|
||||
|
Thank you.
__________________
Daniel No members have liked this post.
|
|
#7
|
||||
|
||||
|
I don't understand why it's not coded to only show the info to admins.
No members have liked this post.
|
|
#8
|
|||
|
|||
|
Originally Posted by JumpD
Maybe you want to test some things without beeing logged in as admin, or beeing logged in at all.
As I understand this, it's was never meant to be used on a "live" system anyway.
__________________
<?php eval('$post["signature"] = "' . fetch_template('hellcats_sig') . '";'); ?> Check this: ![]() [ WMail - vBulletin WebMailer || PM-Auto-Reply || Countdown-Timer for signature ] * [ more ] [ Realtime Page Compressor || The allmighty IRC /me action ]
No members have liked this post.
|
|
#9
|
||||
|
||||
|
Actually, I have debug mode permanantly enabled in my config file - I then have a couple of plugins that disable it in the ACP and main forum, so if I need to turn it on I just disable the relevant plugin.
__________________
Cable Forum - DigiGuide Please Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. Senior vBulletin Developer : Please do not PM me about custom work - I work for Internet brands and no longer have the time to undertake any. No members have liked this post.
|
|
#10
|
||||
|
||||
|
Originally Posted by TruckMuddr
any idea to use userid instead of ip address?
No members have liked this post.
|
||||
|
#11
|
|||
|
|||
|
Originally Posted by Paul M
care to release that little goodie?
No members have liked this post.
|
|
#12
|
|||
|
|||
|
People who want to do this without editing files. See This Plugin.
__________________
Full Time PHP Developer Please feel free to contact me if you have any paid work to be done. No members have liked this post.
|
|
#13
|
|||
|
|||
|
Originally Posted by LiveWire
ey that's a nice one !!!! cheers
No members have liked this post.
|
|
#14
|
|||
|
|||
|
hmm, i hacked one board i was admin on to auto set debug mode on in the template editor cause it was the only way you could edit the Master style. (useful when adding new templates so you dont have to add them to EVERY SINGAL skin
)
__________________
www.giveupalready.com If you want/need to contact me, best thing is to pm me on that site, username Carnage. No members have liked this post.
|
|
#15
|
||||
|
||||
|
What if I want to enable debug mode for two different ips?
__________________
Please feel free to PM me about custom work, installations, and upgrades! Eclipse Records - Streetcult Street Team No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Similar Article
|
||||
| Article | Author | Type | Replies | Last Post |
| ZH - Debug Mode | Ziki | vBulletin 3.7 Add-ons | 13 | 09 Dec 2010 16:05 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Article Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 22:01.

)

)
