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

    alholden

    05/22/2025, 11:01 PM
    image.png
  • a

    alholden

    05/22/2025, 11:03 PM
    image.png
  • a

    alholden

    05/22/2025, 11:19 PM
    stackTrace.txt
    stackTrace.txt
  • n

    nick

    05/23/2025, 12:13 PM
    Anyone on CF 2021 that hasn't yet applied update 20 - if you ever pass more arguments to a function that you explicitly declare with your cfargument - watch out for this: https://stackoverflow.com/questions/79634267/how-to-fix-function-functionname-does-not-support-argumentname-as-an-argumen
    👍 1
    👀 1
    d
    l
    • 3
    • 5
  • a

    alholden

    05/26/2025, 9:10 PM
    I was wondering if any of these "known issues" have been resolved yet. Clicking on any one of these issue numbers opens the tracker with "no issue found" and the search feature broken. Does anyone here know if CF-4198045 or CF-4211032 are still open?
    r
    • 2
    • 1
  • a

    alholden

    05/26/2025, 9:10 PM
    Our PDFs look nice in 2021 and whack in 2023. (we're on update 14 of Enterprise on Win 2016 server)
  • a

    alholden

    05/26/2025, 10:27 PM
    I've set the PDF Service Manager back to version 1 as a "fix" for now. This changes the value of the engine node from “pdfReactor“ to “WebKit” in /cfusion/lib/neo-document.xml
    m
    m
    • 3
    • 6
  • s

    Steve Logan

    05/30/2025, 11:05 AM
    Here's a fusion-reactor question. Just installed / updated to the latest version (licensed). I can get into the FR Admin fine, and it gives me the link for the instance as http://127.0.0.1:8089/. When I open that link I simply get : This site can’t be reached 127.0.0.1 refused to connect. I did
    netstat -aon | findstr LISTENING
    and don't see anything listening on 8089. The closest is 8501 which is CFAdmin. Any ideas what might be causing this?
    b
    • 2
    • 3
  • g

    Gareth

    06/01/2025, 11:28 PM
    anyone seen this ?
    🎉 1
    d
    t
    • 3
    • 8
  • h

    hemi345

    06/03/2025, 4:42 PM
    Can someone remind me what the CF function is called that will capture a screenshot of a webpage and output an image?
    d
    e
    • 3
    • 4
  • z

    zackster

    06/04/2025, 3:32 PM
    @abram trycf is having problems with this code with anything after acf 2021? https://trycf.com/gist/b0e07b591aa59a7580f76e13d7aaab87/acf2021?theme=monokai works on cffiddle
    a
    b
    • 3
    • 9
  • a

    adwwad afadawdwa

    06/06/2025, 2:39 PM
    Using CF11 with IIS 10 is not possible by wsconfig tool. any idea how to make it work otherwise or is it not possible at all?
    d
    j
    +4
    • 7
    • 7
  • p

    phillipsenn

    06/09/2025, 8:08 PM
    Well, it's finally happened. ColdFusion's type coercion finally got me. I was checking to see if the last two characters equaled "-0" and the following evaluated true: if (right("Dan Marino",2) == '-0') {}
    🤣 2
    b
    t
    • 3
    • 13
  • p

    phillipsenn

    06/09/2025, 8:08 PM
    Because "no" evaluates to false and negative 0 evaluates to false.
  • p

    phillipsenn

    06/09/2025, 8:09 PM
    This is the first time where I've gotten bitten. That I know of.
  • m

    mbh

    06/11/2025, 12:47 PM
    The Media3 team and Myself have built a completely free tool ColdFusion developers to help integration with MSGraph! CF Entra - Home. I hope This helps the community simplify integration, and stay secure!
    👍 5
    👍🏻 1
  • s

    Steve Logan

    06/11/2025, 4:14 PM
    in ACF2021, does it support the MySQL mysql-connector-j-9.3.0.jar driver to a 5.7 database? It seems to work fine in 2023, but when I tried in 2021 I'm getting a random error in my Application.cfc about halfway down - before any DSNs are specified. The DSN validates ok in the admin. Before I go chasing this down just wanted to see if this was a driver issue, or something else popped up. The URL is
    dbc:mysql://[ip]:[port]/[db name]
    and the Driver Class is
    com.mysql.jdbc.Driver
    , and Driver Name is
    mysql-connector-j-9.3.0.jar
    .
    j
    b
    • 3
    • 8
  • f

    FAHEEM MALIK

    06/12/2025, 5:33 AM
    Lucee: Issue: While loading the table, the application encounters issues due to various reasons: 1. Occasionally, it fails to access certain Application variables or their values, even though they are properly defined in the
    onRequest
    method of
    Application.cfc
    . 2. At times, an error is thrown indicating that the datasource does not exist.
    m
    • 2
    • 1
  • b

    BK BK

    06/12/2025, 1:30 PM
    Suggestions: 1. Create the datasource in Lucee's Admin (see attached example), not in a CFM or CFC page. 2. Define application-scoped variables in
    onApplicationStart
    , not in
    onRequest
    .
    f
    • 2
    • 2
  • t

    Tim

    06/13/2025, 7:44 PM
    So I just "solved" an issue with a client of mine. They got a new certificate, and ColdFusion didn't like it. They'd get this error when the server tired to connect to itself.
    I/O Exception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    This was with the latest version of Oracle Java (11.0.27). We tried switching to Temurin 11.0.27.6, and then the connection was successful. Does anyone know what difference exists between the two that might have caused this? Since non-Oracle Java isn't something officially supported, I'm not a huge fan of this solution, and would love to get it working in Oracle Java too.
    b
    d
    q
    • 4
    • 22
  • a

    Alan

    06/16/2025, 1:00 PM
    I'm doing a
    cfhttp
    request to an xml feed and when I dump the result out I seem to have duplicates
    b
    • 2
    • 1
  • a

    Alan

    06/16/2025, 1:00 PM
    they are not present when I load the page in a browser. Has anyone experienced this?
  • a

    Alan

    06/16/2025, 1:06 PM
    infact it's more bizarre. refreshing the page results in the duplicates sometimes appearing and sometimes disappearing from the
    writeDump
    s
    w
    +2
    • 5
    • 31
  • b

    blusol

    06/18/2025, 10:07 AM
    is there a better way to write image to browser that use
    cfimage action="writeToBrowser" source="#resizedImg#" format="jpg">
    ? it's returning a blank image each time i try to use it.. currently on lucee 6.1.2
  • b

    blusol

    06/18/2025, 10:09 AM
    i need it to return the actual image and not an img tag which is what it appears to be doing
  • b

    blusol

    06/18/2025, 10:29 AM
    I got what i needed with the following:
    Copy code
    <cfheader name="Content-Type" value="image/jpeg">
    <cfcontent type="image/jpeg" file="#filename2#" deletefile="no" reset="yes">
    just in case anyone was cares to know.
    👍 5
  • f

    fman

    06/19/2025, 7:57 PM
    AJP Question After a (stupid) mistake I was not able to find any documentation about this. I've created two server config files, with AJP configuration like this server01 "bindings":{ "HTTP":{ "listen":"8723", "host":"127.0.0.1" }, "AJP":{ "listen":"8711" } }, server02 "bindings":{ "HTTP":{ "listen":"8724", "host":"127.0.0.1" }, "AJP":{ "listen":"8711" } }, Same AJP port in both CF2023 servers. No external WEB SERVER Configured. I was able to start both servers: server01 and server02, but I can only access CFIDE for server01 And also have issues trying to stops servers. After removing the wrong AJP config, things worked. I would like to know / have hint for documentation how AJP creting this mess.
    b
    • 2
    • 19
  • e

    ehoffman

    06/20/2025, 7:44 PM
    Well, I am a bit stumped. We have code on CF23, that runs great. on CF25, the queries are off...and they all seem to be around IS NULL or = '' queries with SQL Server as datasource. Windows 2019 is CF2023, Windows 2022 for CF25. When I put code back into CF2023, all runs well. When I put into CF25, those queries don't operate properly...and this is as close to the difference I can tell. Is there something new in its handling of database queries, with MSSQL work? I am grasping here to figure it out.
    d
    e
    +4
    • 7
    • 14
  • e

    Erin Brewer

    06/26/2025, 7:21 PM
    i migrated to a new computer and need to install ColdFusion Report Builder to maintain some old .CFR files for a client. anyone know where to download the last version? (apparently its been end of lifed)
    d
    m
    • 3
    • 6
  • a

    alholden

    06/26/2025, 11:36 PM
    Can a machine (ie JVM) look at a string and conclude without any other input "oh yeah... that's a hashed value" ? I'm guessing not. 🤔
    b
    d
    b
    • 4
    • 9