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

    Ryan Albrecht

    04/17/2023, 9:04 PM
    @foundeo
  • r

    rickmason

    04/18/2023, 5:00 AM
    Randy Brown from Michigan State is going to show us the ins and outs of CFSetup at the next meeting of the Mid-Michigan ColdFusion Users Group tonight at 7 pm eastern time. CFSetup is a tool to assist administrators and DevOps with setting migration. Meeting URL: https://tinyurl.com/3ek34ww2 A recording will be available on our group’s YouTube channel in a few days at https://youtube.com/@cfml
    m
    • 2
    • 1
  • s

    sknowlton

    04/18/2023, 2:27 PM
    Does anybody here read incoming messages from Amazon SNS subscriptions (e.g. your CF app is the endpoint for one?) We do but we use some old AWS JARs where we call
    parseMessage( arguments.javaInputStream )
    on the incoming message to validate it. The relevant JAR is like 130 MB and that is all we do with it. I'm trying to determine if the
    aws-cfml
    library on forgebox can do this and I feel like the answer has got to be 'yes of course' but wonder if anyone else has already been down this rabbit hole or if I just need to put on the 🐰 ears and get to it
    • 1
    • 1
  • b

    Brian

    04/18/2023, 7:14 PM
    If I have a folder A and a subfoder AB and an application.cfc in each one with an onApplicationStart in each one and I request a page from the A folder first, then a page from the AB subfolder, will both onApplicationStart methods be executed, bad practices aside?
    a
    • 2
    • 19
  • d

    Debra

    04/18/2023, 8:39 PM
    I am new in slack. I hope am giving enough information. I am getting seeing this error off an on. "The detail: Element DSN is undefined in THIS. The error occurred on line 231." This error is indicating that the datasource is undefined. It seems as if it is dropping all of a sudden. Any ideas on why this would be?
    r
    m
    • 3
    • 6
  • r

    rickmason

    04/19/2023, 2:15 AM
    The ins and outs of CFSetup is now live:

    https://youtu.be/hmF7mF_N9xw▾

    CFSetup is a tool to assist administrators and DevOps with setting migration.
    ➕ 1
    🎉 1
  • s

    Slackbot

    04/19/2023, 5:29 PM
    This message was deleted.
    b
    p
    +2
    • 5
    • 5
  • f

    fmdano

    04/20/2023, 1:07 PM
    question for license...what does this mean: we have Adobe ColdFusion Enterprise Term License -- 12 months....Does this mean we have to pay an annual fee for the license? as you all know license wording is confusing....
  • j

    Jeff Stevens

    04/20/2023, 5:54 PM
    Hi all, I have another weird issue today with file paths that I'd like to talk about. (Today I won't show any sensitive info though, lol). On our new server, our application throws the folllowing error upon running its
    onSessionEnd()
    function:
    Copy code
    Error type:
    Builder.BuildCFCDependencyException
    
    Error message:
    Error building: handlers.Main -> Could not find the included template //includes/helpers/ApplicationHelper.cfm.
    					Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with include, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. <br> Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended  that you use relative paths with include whenever possible.. | DSL: , Path: handlers.Main,
    //includes/helpers/ApplicationHelper.cfm
    is not a valid path to my
    ApplicationHelper.cfm
    file, as it adds and extra two forward slashes to the start of the correct path, so I went to my
    coldbox.cfc
    file to see if I could change the path, and found this within the coldbox struct:
    applicationHelper        : "includes/helpers/ApplicationHelper.cfm"
    So it looks like something is appending two forward slashes to the path somewhere, but I'm not sure where. It is also relevant to mention that this error does not throw in our development environment. It just started with our production environment. Does anyone have advice for troubleshooting this? Thanks for all the help y'all have given me so far!
    ➕ 1
    ✅ 1
    c
    t
    b
    • 4
    • 62
  • m

    Mauro caresimo

    04/21/2023, 11:31 AM
    Does anyone know why SVG images do not show up when executing <cfhtmltoPDF> I can't seem to work out why. PNG's, Gif's are all fine. The only problem is with SVGs
    a
    t
    +2
    • 5
    • 20
  • s

    Simone

    04/21/2023, 2:55 PM
    is outlook integration different from microsoft login cfc created by cfmler in github
    t
    g
    • 3
    • 17
  • s

    Simone

    04/21/2023, 2:56 PM
    if yes, where can i get docs for it for its integration
  • a

    Adam Cameron

    04/21/2023, 4:07 PM
    What do you think of this behaviour: https://trycf.com/gist/d12a557b29057ce46a8d47649ca2912b/lucee6-beta?theme=monokai
    b
    • 2
    • 7
  • t

    Tyler Clendenin

    04/21/2023, 9:56 PM
    I am trying to use the opensearch API using the java client via JavaLoader and find I need to create a
    "org.opensearch.client.json.JsonData"
    object. The interface seems to have a static method
    of
    with the signature of
    (Object)
    however when trying to call it I get the error "The of method was not found" "There Either there are no methods with the specified name and argument types of the of method is overloaded with argument types that ColdFusion cannot decipher reliably ..." an example of what I am trying to do
    Copy code
    javaLoader.create("org.opensearch.client.json.JsonData").of("2023-04-21T00:00:00")
    Attached is the cfdump of the JsonData interface, attempting to dup the of method give the error "Element OF is undefined in a Java object of type class coldfusion.runtime.java.JavaProxy https://www.javadoc.io/doc/org.opensearch.client/opensearch-java/latest/org/opensearch/client/json/JsonData.html Example code in java https://learnersbucket.com/examples/elasticsearch/range-query-in-opensearch-with-java-client/
    a
    b
    • 3
    • 41
  • b

    bkbk

    04/23/2023, 12:15 PM
    Does the following help?
    dateStringToObject=createobject("java", "java.lang.String").init("2023-04-21T00:00:00");
    javaLoader.create("org.opensearch.client.json.JsonData").of(dateStringToObject);
  • v

    Viral

    04/24/2023, 12:21 PM
    Anyone came across the below error while connecting to the Azure Database instance
    Copy code
    Connection verification failed for data source: <<>>
    macromedia.jdbc.sqlserverbase.dden: [Macromedia][SQLServer JDBC Driver][SQLServer]Reason: Login failed due to client TLS version being less than minimal TLS version allowed by the server.
    The root cause was that: macromedia.jdbc.sqlserverbase.dden: [Macromedia][SQLServer JDBC Driver][SQLServer]Reason: Login failed due to client TLS version being less than minimal TLS version allowed by the server.
    Coldfusion 2016 😞 - Update 17 Enabled TLS 1.0/1.1/1.2 on the CF server Azure Setting : TLS 1.2
    z
    p
    r
    • 4
    • 13
  • r

    Randy L. Smith

    04/24/2023, 1:02 PM
    Unearthed a few gems this past weekend... and these pix don't include the still-shrink-wrapped AOL and other early Internet disks I found.
    😍 1
    🎉 1
    🤩 1
    d
    t
    +8
    • 11
    • 40
  • b

    Brian

    04/24/2023, 2:28 PM
    OAuth/Azure: I'm trying to implement the MS Graph version of this and it looks like I want to use the Mail.ReadWrite and Mail.Send permission for our scheduled task that reads and sends mail from a particular account. However, when I submitted a request for permission to our institution to do this, I was told they had to enable it for all accounts at our institution and couldn't just do it for the one account we need. Because of that, they will probably never grant the permission. Is there another way to approach this?
    b
    t
    • 3
    • 45
  • t

    TEMann

    04/24/2023, 5:02 PM
    Setting up CF2021 on IIS 10. Can someone gently point in the direction of how to setup IIS to handoff 400 an 500 error pages to a custom error handler written in CF?
    c
    e
    • 3
    • 3
  • g

    gsr

    04/24/2023, 5:13 PM
    its funny, i am also implementing the same Microsoft graph api and i am able to connect, my question is i am now trying to implement it as a service, what difference does it have when it connected as a service, i did connected using oauth2 by passing clientid/secret
    j
    t
    • 3
    • 4
  • d

    David S

    04/26/2023, 2:05 AM
    Does anyone here use the vscode cfml builder? Is it possible to add my lucee/tomcat server to run on it?
    b
    • 2
    • 1
  • v

    Viral

    04/26/2023, 6:41 AM
    Anyone came across the below error while connecting the Azure Database instance with Active Directory user Coldfusion 2016 - Update 17
    Copy code
    com.microsoft.sqlserver.jdbc.SQLServerException: Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication.
    The root cause was that: com.microsoft.sqlserver.jdbc.SQLServerException: Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication.
    z
    • 2
    • 8
  • w

    WilzDezign

    04/26/2023, 12:12 PM
    April Seattle CFUG meeting tonight @ 5pm Pacific via ZOOM -- on "CF at UnionBay" with guest Eugene Pipko https://www.seattlecfug.org/meetings/
    • 1
    • 1
  • w

    websolete

    04/26/2023, 1:16 PM
    the people in that picture are way too diverse and way too happy to be coldfusion programmers
    😎 1
    a
    b
    +3
    • 6
    • 10
  • r

    Randy L. Smith

    04/26/2023, 1:48 PM
    ColdFusion Developer's Journal, Volumes 1-1 thru 1-4, for your nostalgia pleasures.
    cfdj1-4.pdfcfdj1-1.pdfcfdj1-3.pdfcfdj1-2.pdf
    ❤️ 1
    👏 1
    b
    d
    +2
    • 5
    • 5
  • d

    Dave Merrill

    04/26/2023, 3:43 PM
    Other than testing everything possible in the entire app, any thoughts on what to test after a java update, beyond "did the server start up ok"? One piece we've had break is PDF generation. Any other ideas?
    j
    e
    m
    • 4
    • 5
  • n

    nickg

    04/26/2023, 5:24 PM
    Hi All. We're getting ready to replace some older cftooltip code with new tooltips. We've been using bootstrap tooltips, which have worked well so far are very convenient as we are already using bootstrap. However, I want to make sure I'm aware of any modern conventions in this area. If there are better approaches for CF apps, I'm interested in knowing. Thanks!
    m
    t
    • 3
    • 3
  • t

    TEMann

    04/26/2023, 6:15 PM
    New topic. CFR files? We just upgraded to CF 2021. One site has CFR files and isn’t working. Adobe says: At run time, you display the CFR file by using a ColdFusion server that has ColdFusion Reporting enabled How does one enable ColdFusion Reporting on CF2021?
    r
    t
    +5
    • 8
    • 16
  • v

    Vimlesh Parihar

    04/27/2023, 7:04 AM
    Does anyone know How to write htaccess rule for below? <Files abc.html> order allow,deny allow from all </Files> Rule in web.config file for IIS Server.
    a
    a
    +2
    • 5
    • 31
  • z

    zackster

    04/27/2023, 6:58 PM
    if you use git on windows, time to update https://github.com/git-for-windows/git/releases/
    👍 2
    👍🏼 1
    j
    • 2
    • 2
1...323334...38Latest