http://coldfusion.com logo
Join Slack
Powered by
# cfml-general
  • g

    gavinbaumanis

    04/28/2023, 12:34 AM
    Has anyone used veracode for vulnerability testing of CFML - specifically via the VSCode plugin - as opposed to sending a WAR to their cloud-api?
    p
    s
    +2
    • 5
    • 10
  • a

    Adam Cameron

    04/28/2023, 7:12 AM

    https://i2.paste.pics/37b2a2bfb1e3b19d056be7fccb717fc5.pngโ–พ

    See you there, perhaps.
    ๐Ÿ‘‹๐Ÿป 1
    ๐Ÿ‘‹ 2
    ๐Ÿ‘ 4
  • b

    Brian

    04/28/2023, 8:14 PM
    If I'm extending the application.cfc of the root from an application.cfc in a subfolder, can the onSessionStart function reference the super properties of the onApplicationStart?
    a
    c
    • 3
    • 13
  • r

    redtopia

    04/28/2023, 9:08 PM
    Somewhat disappointed but yet not surprised that GitHub CoPilot does not recognize CFML. See: https://code.visualstudio.com/docs/languages/identifiers And maybe subscribe to, comment, and like this discussion: https://github.com/orgs/community/discussions/53224
    s
    • 2
    • 1
  • g

    gamesover

    04/28/2023, 9:14 PM
    I have the same issues with other software. I make it a point to inquire on Twitter. For example, "Pieces" keeps hitting my up with their marketing regarding their ML/ChatGPT-powered apps , but they incorrectly identify CFML as R, Matlab and a batchfile and further prevent me from manually classifying the code as CFML. https://twitter.com/gamesover/status/1634617790991839232
  • d

    Dave Merrill

    05/01/2023, 1:50 PM
    Do you all remove CF's write access to all files in your site(s) directory? Of course to do that, you'd have to move all temp file locations somewhere outside there first.
    t
    f
    a
    • 4
    • 5
  • d

    davidrschaller

    05/02/2023, 1:10 PM
    Hello. Looking for general info about cachePut and how timespan and idletime are related. Seems a bit unclear as to whether the cache can be maintained as long as it is accessed within idletime.
    a
    • 2
    • 2
  • p

    phillipsenn

    05/02/2023, 5:57 PM
    It's been a long time since I looked at the log files in ColdFusion. We migrated to 2018, so maybe that's my confusion. Q: Where is the error log? Right now, applicaton.log is saying "The Log file is empty.".
  • p

    phillipsenn

    05/02/2023, 5:59 PM
    The same with exception.log
  • p

    phillipsenn

    05/02/2023, 6:00 PM
    Even though the size of the exception log is 2,826,860
    m
    d
    t
    • 4
    • 6
  • s

    Steve

    05/02/2023, 8:39 PM
    Sorry in advance if this has been asked before, I did some quick searching and could not find a successful search recipe. Anyway, I have a jar library that includes a dependency for a jar that CF includes, but a later version. This jar requires slf4f-api version 1.7.36, but CF includes an earlier version 1.7.12. I would prefer my dependency "somehow" be self-contained and not impact CF using .12 version that CF includes and uses. Is this possible?
    m
    a
    e
    • 4
    • 10
  • t

    TEMann

    05/03/2023, 2:35 PM
    Is there a definitive source for learning to be a ColdFusion Server Admin?
    s
    • 2
    • 1
  • w

    websolete

    05/03/2023, 7:48 PM
    well this only took forever, sheesh

    https://youtu.be/ywtkJkxJsdgโ–พ

    ๐Ÿ‘ 3
    ๐Ÿ˜Ž 2
    ๐Ÿ‘ 1
    ๐Ÿ‘๐Ÿผ 1
    r
    • 2
    • 1
  • r

    ryan

    05/04/2023, 1:24 PM
    out of curiosity, would anyone happen to know if cfml run-time is any faster between cfscript vs tagged based code, even by the smallest margins? Is there any extra processing between one or the other?
    b
    a
    +6
    • 9
    • 71
  • g

    gsr

    05/04/2023, 4:01 PM
    i am trying to search the key from the array of structs and list me down the other key value my json looks like this https://trycf.com/gist/21d5ffbd822e3a66cfdf53ada8d68542/lucee5?theme=monokai i am trying to get the href of the key: selectedInstructor
    a
    • 2
    • 1
  • n

    nickg

    05/04/2023, 6:10 PM
    Hi gang. I've been struggling with a syntax problem related to verifying a value in a struct that has dynamic naming. Before I give up on this approach, I wanted to get see if anyone has feedback. Here is the code where I'm checking for a variable "hidemenu" within a struct that has a variable in the name (ie RoleID, which can change): <cfif structFind(application.sitesettings.RoleID_#RoleID#,"hidemenu") EQ "on"> This seems like it should be simple, and I don't want to pose frivolous questions here, but it hasn't been for me after quite a bit of trial and error. Any suggestions?
    a
    d
    +3
    • 6
    • 21
  • t

    TEMann

    05/05/2023, 2:24 PM
    Our security team requires that users who have been inactive on any system for more than 90 days must be deactivated. Does CF Admin have any automation system that deactivates cf admin users who havenโ€™t logged in in a set amount of time?
    f
    m
    z
    • 4
    • 6
  • a

    Anders Lars

    05/05/2023, 5:09 PM
    Any nxLog users out there? Looking for an nxLog config - for multi-line (stack traces) CF/Lucee app/exception logs (not the access logs); something like this type of format - "Severity","ThreadID","Date","Time","Application","Message" I am trying to get output format going in GELF format or JSON to send off to Graylog. I have tried the nxLog multiline extension and csv - but haven't gotten the output great yet.
    z
    • 2
    • 3
  • g

    gsr

    05/05/2023, 9:23 PM
    is there a way i know what timezone it is in 2023-05-15 010000.0 want to show it like this for outlook "dateTime": "2017-04-15T140000", "timeZone": "Pacific Standard Time" trying to figure out anything which converts this time to utc and that actually tells me if this is in PST or EST
    s
    • 2
    • 1
  • s

    Steve

    05/05/2023, 10:30 PM
    I'm back on my Kafka project. I'm slowly advancing. The latest issue encountered deals with CF-2021 and a returned instance of java.util.Iterator. The sample code I am using loops through the iterator but it terminates immediately, as if no records:
    Copy code
    for ( record in records.iterator() ) {
          try{
            event = record.value();
            writeOutput("<br>EVENT: #event#");
          }catch( any e ){
            writeDump(var=e,label="exception");
          }
    }
    If I dump records.count(), it shows 1 record, but the for loop above does not reflect the record. Has anyone experience issues using a java.util.Iterator instance? In the screenshot below, after the records.iterator() dump, but before the Counter = 6... would have been additional text displayed - EVENT: something - with EVENT being hard-coded proving the iterator loop is terminating at zero records (hopefully that makes sense).
    w
    b
    • 3
    • 8
  • g

    gsr

    05/07/2023, 4:07 PM
    anyone knows of any example in datatables which has nested child relations, like i have to check for parent > child > child > child
  • z

    zackster

    05/08/2023, 9:24 AM
    Is ACF correct here? https://trycf.com/gist/2dd7f3de3692f85bd5b104957fea79aa/acf2021?theme=monokai
    a
    m
    s
    • 4
    • 21
  • t

    teaman

    05/08/2023, 4:42 PM
    Does anyone know how to get ColdFusion to render the symbols โ‰ฅ and โ‰ค in Excel exports? I am talking about generated output, not how to do it within the Excel app. I have searched online for how to do it and so far have come up with nothing, which surprises me. Maybe it's obvious and I'm overlooking it but I get junk output in spreadsheets. HTML renders fine using &ge; and &le; but that's the browser being knowledgeable.
    m
    a
    • 3
    • 55
  • m

    Manta

    05/09/2023, 8:49 AM
    Hi ColdFusion Members ๐Ÿ™‚ I have an important urgent question about ColdFusion Registry. Can anyone tell me what is in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\ColdFusion\Clients ? The Size is over 2GB and i believe thats the reason my Server going crazy. Can anyone help me? ^^"
    m
    a
    d
    • 4
    • 7
  • m

    Mauro caresimo

    05/09/2023, 2:11 PM
    what cf logs would contain log information about api calls / http calls. I am trying to find out where external and incoming https calls are coming and going through the CF server
    t
    • 2
    • 2
  • m

    Mauro caresimo

    05/09/2023, 2:12 PM
    The server does not have Fusion Reactor installed btw
  • a

    Anders Lars

    05/09/2023, 3:22 PM
    Hey - Random lesson learned on my end - figured I'd share just in case it saves someone else - using @foundeoโ€™s excellent WAF but now that in-person conferences are coming back - gotta remember you'll be accessed by 1000s of people often all off of 1 IP address (hotel wifi). That can easily trigger WAF rules you don't see in normal course of business - like dictionary attacks on login pages, or repeat offender - where one user messing with your site shuts the IP down for everyone :)
    z
    • 2
    • 1
  • a

    Abhijit Mukherjee

    05/09/2023, 6:37 PM
    looking for CF web hosting other than Hostek
    r
    s
    +2
    • 5
    • 9
  • a

    Abhijit Mukherjee

    05/09/2023, 6:37 PM
    pls guide
  • a

    Abhijit Mukherjee

    05/09/2023, 6:37 PM
    cheap but good
1...333435...38Latest