Hi Guys <https://github.com/Ortus-Solutions/cfcon...
# box-products
c
Hi Guys https://github.com/Ortus-Solutions/cfconfig/blob/master/tests/resources/.CFConfig.json I am trying to work out what the debugging settings resolve to? For instance when I do this:
Copy code
"debuggingEnabled": "true",
"debuggingDBEnabled ": "true",
"debuggingExceptionsEnabled": "true",
"debuggingQueryUsageEnabled": "true",
"debuggingTracingEnabled": "true",
"debuggingDumpEnabled": "true",
"debuggingTimerEnabled": "true",
"debuggingTemplate": "classic.cfm",
"debuggingImplicitVariableAccessEnabled": "true",
"debuggingMaxLoggedRequests": "true",
This is the result [see screenshot] I would have expected every checkbox, in this section, to be checked? But then again, I don't really know whether these are the correct cfconfig keys, to use?
b
@Charles Robertson I would check every box and then export the config and see what you get 🙂
👍 1
Note that I usually copy the exact title or description of the setting into the comment in the source code to make it easier to match settings up with the UI
👍 1
c
Do you know why this might be happening: server.json
Copy code
{
    "name":"luceeCfconfigTest",
    "app":{
        "cfengine":"lucee@5.3.9+166"
    },
    "web":{
        "http":{
            "port":"8099"
        }
    },
    "openBrowserURL":"<http://127.0.0.1:8099/import_cfconfig/index.cfm>"
image.png
b
If would appear there is an empty string where a boolean was expected
As the error says 😉
That Lucee setting doesn't exist by default in Lucee config file from what I'm seeing
So if it got set in there, I'm guessing you did it somehow
I would fix the Lucee server XML
Search it for the string
allow-url-requesttimeout
And make it a proper boolean
👍 1
c
Yes. That worked perfectly... Thanks 🙂
👍 1
And the result for those debugging checkboxes was:
Copy code
"debuggingEnabled":"true",
"debuggingDBEnabled":"true",
"debuggingExceptionsEnabled":"true",
"debuggingQueryUsageEnabled":"true",
"debuggingTracingEnabled":"true",
"debuggingDumpEnabled":"true",
"debuggingTimerEnabled":"true",
"debuggingImplicitVariableAccessEnabled":"true",
And this is what I was using originally:
Copy code
"debuggingEnabled": "true",
"debuggingDBEnabled": "true",
"debuggingExceptionsEnabled": "true",
"debuggingQueryUsageEnabled": "true",
"debuggingTracingEnabled": "true",
"debuggingDumpEnabled": "true",
"debuggingTimerEnabled": "true",
"debuggingImplicitVariableAccessEnabled": "true",
Hmmm? 😂 I think maybe there is some conflict with another setting, which is preventing the debugging stuff from being checked? I will keep investigating...