http://coldfusion.com logo
Join SlackCommunities
Powered by
# cfml-general
  • c

    chapmandu

    12/26/2022, 2:08 AM
    Hey All.. After not having looked for some time, I noticed CFML has placed in the top 50 languages on the TIOBE index.. for context, it had languished in the unranked “next 50” languages for several years.. It’s now above well known languages like Clojure, Elixr and WebAssembly.. (but who’s keeping track!?) https://www.tiobe.com/tiobe-index/ A credit to all those who are actively promoting the language on the web.
    👍🏼 1
    👍 6
    a
    s
    • 3
    • 4
  • g

    gsr

    12/27/2022, 2:13 PM
    i am converting cfinput to input and want to know what should i write for message range="10,50" message="this is my message" for range, i can use min and max, but for message what?
    j
    • 2
    • 5
  • j

    JohnT

    12/27/2022, 2:28 PM
    This response on StackOverflow seems to provide what you need solution
  • j

    Jim Frankowski

    12/27/2022, 4:28 PM
    I'm wondering if someone has solved this or at least has some guidance on how to approach it. I'm working on updating & locking down an older site that still uses CFmenu (yeah, legacy stuff is fun). I copied over the folders from an earlier CF install that are needed for CFmenu. After I ran the auto-lockdown tool, I'm stuck on how to get the site to serve files from the cf_scripts\scripts folder & subfolders. The lockdown tool created a virtual directory in IIS that points to the correct physical path in my install and updated the "Default ScriptSrc Directory" in CFAdmin/Server Settings/Settings. In the IIS manager app I can view the contents of the virtual directory and see the files there. If I create a "test.cfm" in any of the folders under the cf_scripts\scripts\ directory I can actually pull it up in a browser. However, trying to even browse to any js/css/gif files under the virtual directory gives me a 401.3 error even though it's in the exact same directory where the "test.cfm" file sits. The user that CF is running as has permissions to the files in the physical path and also in IIS to the virtual directory. So I'm wondering what has worked for someone else to get the CFMenu working again? Is it an IIS setting? Is it related to creating a mapping in CFAdmin under Server Settings/Mappings? Any help is appreciated.
    j
    • 2
    • 10
  • s

    saghosh

    12/29/2022, 5:19 AM
    acf Hi everyone, we've released fixes for both ColdFusion (2021 release) and ColdFusion (2018 release) for authenticating IMAP, POP, SMTP, and Exchange connections using OAuth. We've uploaded the requisite zip and jar files, and the instructions are documented on the page below. Please update accordingly. @Mark Takata (Adobe) will have more details on it. https://helpx.adobe.com/coldfusion/kb/authenticate-imap-pop-smtp-connection-oauth.html
    ❤️ 5
    r
    • 2
    • 1
  • m

    Mauro caresimo

    12/29/2022, 11:35 AM
    Anyone know how I can display a <cfcatch> message on screen for a few seconds before executing a redirection using <cflocation> ?
    a
    • 2
    • 10
  • d

    Dave Merrill

    12/30/2022, 2:43 PM
    I've added a new site in IIS in production, but it's not running because it's not built out. I need to run the wsconfig tool to get CF going there. Does the site have to be running in IIS to do that? Just trying to suss out my options.
    v
    j
    • 3
    • 8
  • m

    Michael Gillespie

    01/01/2023, 9:17 PM
    Happy New Year! This is one of those under the hood questions. I want to set up DKIM/SPIF/DMARC on a VPS Hosted solution for about a dozen or so sites (yeah, I know I am late to the party on this one). I have SmarterMail on the same server as the CF instance. I currently have CFMAIL in the administrator to just dump the mail off and let the Windows SMTP service deliver (default localhost connection). When I harden email though, I am pretty sure that this is not the right approach. Will setting a a generic account in one of the mail domains set up in SmarterMail, and configuring the CFADMIN to use that account, and adding the IP of the CF Instance to the SPF record to take care of including any CFMAIL generated by the server to pass the email checks? Or am I going to need to add the security attribs to all the cfmail tags I have in each website? I searched but I am not really finding anything that explains how to set up CF to play nicely with DKIM/SPF/DMARC policies. Or do I just need to add the IP of the CF instance to the SPF record and leave the admin setting to use localhost?
    a
    e
    • 3
    • 5
  • g

    gavinbaumanis

    01/02/2023, 11:06 PM
    Quick question : does anyone declare a catch variable with "var"?
    } catch(any var e) {
    w
    d
    • 3
    • 4
  • g

    gsr

    01/03/2023, 8:00 PM
    i am doing a withdoes Auth to connec to sql and also from the cf server i am using the windows Auth to connect but using windows Auth from front does not load all tables and have permisions issues, is it all due to the java driver used to connect ir or there is a way around it to have those things
    d
    • 2
    • 4
  • z

    zackster

    01/05/2023, 10:12 AM
    is there a cfml image function which allows changing the colorspace of an image, beyond https://cfdocs.org/imagegrayscale ? as a workaround, I've used writing out to a gif to reduce a 24 bit image to 8 bit, but that's klunky AF
    g
    • 2
    • 1
  • d

    Dave Merrill

    01/05/2023, 2:57 PM
    I just set up a new site in IIS on an existing server that's running the main production site for that app. I've done the wsconfig thing, and I can get to the login page, but there's a crash after that, whose details I can't see. There's only the generic IIS error message. Normally in a case like this, I'd temporarily set IIS to show detailed errors for local requests only, and use a browser directly on the server to debug this. However, this site is a subdomain of the main one, and I'm not clear how to make a "local" request in that case. In other words, this site is https://foo.mysite.com. If I'm on the actual web server machine, what constitutes a local request to that site?
    c
    c
    t
    • 4
    • 15
  • z

    zackster

    01/05/2023, 4:55 PM
    https://twitter.com/hoyahaxa/status/1611033008693252098
  • j

    johnbarrett

    01/05/2023, 9:24 PM
    the next Hawaii ColdFusion User Group meeting is on An Introduction to ColdFusion APIs with Nick Kwiatkowski on January 20th at 12:00pm (Hawaiian Time) Please RSVP here - https://www.meetup.com/hawaii-coldfusion-meetup-group/events/290746929/
  • a

    Adam Cameron

    01/06/2023, 3:10 PM
    <cffile action="write">
    supports a
    mode
    parameter.
    fileWrite
    on neither CF nor Lucee does. What's that all about then? Is there some good reason I am missing? Or A balls-up from CF that Lucee has diligently cross-ported?
    z
    e
    • 3
    • 9
  • d

    Daniel Mejia

    01/06/2023, 11:17 PM
    Since I'm not part of any database community and most of you here deal with databases I'm seeking some advice. I need a database that will grow to hold 20,000,000 plus records within 8 years. How do you design such a database system that will not slow down as it grows?
    b
    r
    c
    • 4
    • 15
  • j

    johnbarrett

    01/08/2023, 4:09 AM
    The Hawaii ColdFusion ser Group is looking for a speaker for our February meeting. The topic will be an introduction to docker for ColdFusion developers. If you would like to give thhis meeting, please get a hold of me, thanks in advance
  • g

    gsr

    01/08/2023, 3:52 PM
    when my form which is a select have a name of city[] being sent to server for saving, how can i save it in the form scope i am passing
    a
    • 2
    • 1
  • g

    gsr

    01/08/2023, 3:52 PM
    because i have values being send as: cityp[: 'MB', city[]:'VC'
    a
    m
    • 3
    • 3
  • g

    gsr

    01/08/2023, 3:54 PM
    can't use this.sameformfieldsasarray=true; because i am using legacy app
  • g

    gsr

    01/08/2023, 3:54 PM
    is there a solutoin to it
  • g

    gsr

    01/08/2023, 4:07 PM
    trying other solutions now,m seems its not going to work in legacy
    j
    • 2
    • 1
  • d

    DWilson

    01/09/2023, 4:53 PM
    I have a ecommerce checkout page with a form that allows the user increase or decrease the Quantity of their products on the checkout page. I then BIND (using <cfinput bind=...>) two other form fields (Shipping_Cost and Total_Amount) to the user's changing of the Quantity field, so that the shipping and total can automatically recalculate. My problem is, since both Shipping_Cost and Total_Amount form fields are binding to the same Quantity form field, the order they bind in becomes important. The Shipping bind needs to execute and recalculate before the Total bind does. Currently, both binds work perfectly, but Total_Amount updates before Shipping_Cost randomly. Is there any way to control the order in which form fields bind in ColdFusion?
    g
    • 2
    • 3
  • r

    rickmason

    01/10/2023, 3:10 AM
    Adobe’s Ray Camden will be presenting Intro to Alpine.js at the next meeting of Mid-Michigan CFUG tomorrow at 7 pm eastern time. Livestream URL: https://tinyurl.com/yeyt7y9u Alpine calls itself the jQuery for the modern web. So if you’re not ready to move to React or Vue you many want to give it a serious look. They’ve also done the behind the scenes work to integrate it with charting programs, online rich text editors and online calendars. If you’re unable to make the livestream we will make Ray’s presentation available on our YouTube channel at a later date. https://youtube.com/@CFML
    ❤️ 2
    👍🏼 1
    👍 3
    b
    • 2
    • 1
  • a

    Andy Larson

    01/10/2023, 7:23 PM
    I am looking for suggestions/help with SMS messages. We use the ckeditor to generate emails and SMS messages. Then we run the text through a regex to remove all HTML. Since we recently changed SMS providers, now our SMS message count has increased a lot due to non-GSM characters in the message. The provider we use is converting the special non-GSM characters to images causing the SMS counts to be much larger then expected. Is there anyway to convert non-GSM characters to an equivalent GSM character in Java or ColdFusion before sending the messages to the SMS provider?
    b
    g
    e
    • 4
    • 12
  • r

    rickmason

    01/11/2023, 5:32 AM
    Here is the video for Intro to AlpineJS by Adobe's Ray Camden from tonight's Mid-Michigan CFUG meeting.

    https://youtu.be/cW6CyxxRAzQ▾

    🙏 2
    ❤️ 1
    👍🏼 1
    👍 5
    m
    • 2
    • 1
  • s

    Simone

    01/11/2023, 4:36 PM
    how can i search my entire directory for an email address ending with @calendar-ca and list all the files where those changes are
    m
    r
    m
    • 4
    • 18
  • s

    Simone

    01/11/2023, 4:36 PM
    how can i do
  • l

    larryclyons

    01/11/2023, 8:17 PM
    HI all. I'm having a serious brain glitch here, but does anyone have a fairly quick and dirty way of converting punctuation, such as periods, commas, exclamation points, apostrophes etc to their HTML entity equivalents? Many thanks.
    p
    r
    d
    • 4
    • 5
  • s

    Scott Steinbeck

    01/12/2023, 8:43 PM
    Has anyone put together a sheet/document/memo that glorifies CFML, the purpose is for reassuring future/current clients of the robustness of the language/community/etc. ? If so would you be willing to share it?
    d
    m
    e
    • 4
    • 7
1...252627...38Latest