简体   繁体   中英

Turn off default debugging output at the site level - Coldfusion 10

This might be a bug or corrupt file issue, but for some reason, I'm seeing the debugging output at the bottom of one of my CF10 websites. I can go in and add <cfsetting showdebugoutput="no"> and it turns off, but on my other websites, it's off by default. On those sites, I have to add <cfsetting showdebugoutput="yes"> for the debugging to show up.

I checked the CF Administrator and for this site and another that's behaving correctly, but I'm not seeing any differences. I don't have any IPs added to the Debugging IP Addresses , so that's not it either.

I can go into Debugger Settings and turn off Enable Request Debugging Output to get it to disappear, but then even <cfsetting showdebugoutput="yes"> doesn't turn it on when I want it. Plus I didn't have to do that on other sites that are working correctly.

Thoughts?

还要检查您的Application.cfc中是否存在以下内容:

this.debuggingIPAddresses

Remember that when there is no ip address in the allowed IP addresses, debugging is shown to everyone willy nilly. Make sure and keep/add 127.0.0.1 then only that IP is allowed. Subsequently you can add other IPs as needed.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM