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

    Brian Polackoff

    01/30/2023, 3:20 PM
    Morning everyone; can anyone tell me where to find 2-3 advanced Adobe Coldfusion programmers? Salaries will be in the range of ~125k to 150k USD? I’m open to FT or Contract with FT hours? Preferably in the USA but am open to other areas. Is there anyone on this list, a better list, or even a company that can provide match making services?
    💯 1
    r
    g
    • 3
    • 16
  • s

    Simone

    01/31/2023, 6:58 PM
    when often the timeout error happens using cfoutput or cfquery, there is a timeout attribute which can be used with cfquery, not sure about cfoutput, i have even read to use cfsetting timeout to make it bigger, but doesnt that keeps the thread handing and untlimately ends with heap space issue and killing the server. how can we approach to such kind of a problem if the timeout is not working proerly with cfoutput or cfquery, how can i force kill that thread and raise exception so thread is also closed and it can try again at later stage
  • w

    websolete

    01/31/2023, 7:09 PM
    if your request is timing out when outputting the response i'd say you have bigger problems than worrying about threads, namely, why does your cfoutput take longer than 180 seconds or whatever it is to finish
    s
    m
    g
    • 4
    • 6
  • j

    jakobward

    02/01/2023, 2:47 PM
    Anyone experience “”javax.mail.MessagingException: [EOF]“” when trying to send an email from CF2021? I’ve reduced cfmail to the bare minimum and still can’t get it working. I’m using AWS SES if that helps.
    • 1
    • 3
  • a

    Anders Lars

    02/01/2023, 6:13 PM
    Optimizing image requests served through cfm pages - I have pages that include 10-40 images that are dynamically served through cfm pages on a legacy site. Where possible (like if there is no security/resizing needed) I am moving towards putting them on a CDN, but they are part of complex workflows and it is not trivial... and there are 700k of them. Anyway until then - I was thinking I would create a separate application.cfc in the appropriate images dir that turns off sessions and has pretty barebones almost empty app.cfc - instead of the main (complex) app.cfc having to run on every call. We get a lot of bot activity (no cookies) so definitely don't want sessions enabled for these image requests. Does that sound a reasonable approach? I could alternatively setup a separate web context for this if that is better, which I guess might also help client-side with max parallel http connections if hitting a different host. Basically trying to lower the overhead of these calls. Using IIS and Lucee so might turn on IIS output caching too. Maybe someone solved similar issues in the past
    m
    m
    +4
    • 7
    • 17
  • b

    Brian

    02/01/2023, 9:36 PM
    I ran the ACF Security Analyzer today and of the thousands of things it flagged was the variables in a cfmail tag under the guise of SQL Injection. It recommended using the cfqueryparam tag to fix the issue, even though it's not inside a cfquery. Is this actually a security concern and, if so, is the cfqueryparam tag a valid or the best solution for it?
    e
    • 2
    • 1
  • s

    Simone

    02/02/2023, 2:35 PM
    running an application.cfm file and all pages uses included file which has some unscoped variables defined in the application.cfm, i want to get that included file in a cfc, but it throws error as it says the variable is undefined how can fix it, using the init when i am calling it, any quick fixes
    a
    b
    • 3
    • 3
  • a

    Adam Cameron

    02/02/2023, 6:39 PM
    @abram the CF2018 instance might be crocked on trycf mate.
    a
    g
    • 3
    • 3
  • m

    Mauro Cardini

    02/03/2023, 8:57 AM
    Hi, I try to debug a rest app ACF endpoint. I would like to have debug output for rest call to have all queries made by the endpoint in cfdebug output style. Can I activate somehow debug output for rest or cfc calls?(I know that it was discontinued after cf9). Do I have to use forcely seefusion or fusion reactor ?
    m
    • 2
    • 15
  • p

    Patrick

    02/03/2023, 7:28 PM
    So in the weekly CFBreak email from Pete Freitag the top article today contains info about a MuraCMS bypass bug that was reported TO them and resolved. In the link to a Google group it appears an email from Mura Software only offering the fix to other users for 5k for what sounds like just a few tweaks to some IF logic; what a rip off. #rantcomplete
    s
    b
    • 3
    • 4
  • s

    seancorfield

    02/04/2023, 10:47 PM
    Since the free tier at Heroku has gone away, we needed a new public inviter link. This is how we've handled this on another Slack I run...
    🙌 2
  • a

    Adam Cameron

    02/05/2023, 5:02 PM
    Jeez they'll let anyone in here.
  • s

    Sean Callahan

    02/05/2023, 6:44 PM
    @Adam Cameron it’s just because namesake (@seancorfield) share something in common.
  • s

    Sandra M

    02/06/2023, 1:44 PM
    Hi, does anyone have any suggestions or a workaround for the cfexchange basic authentication issue? Adobe released a fix but it’s not working for us. cfexchange is login into the user’s mailbox account that is logged into the website. It’s not logging into the account being passed in the cfexchange username attribute. In addition, when the user is not logged into the site, cfauth will display a prompt for the user to log into the account. This solution doesn’t work if it’s being used in a scheduled task. The task should be able to log into the account specified with no user intervention. There’s currently a lot of manual work being involved to make this to work. I have a case open with CF support and an incident. I was told this was going to take time. Any help is greatly appreciated!
    b
    t
    +2
    • 5
    • 25
  • g

    gsr

    02/06/2023, 2:03 PM
    a very annoying error, i am passing a structfrom calling page using createobject instead of new and calling the init method and pasing the struct to it and in the cfc i did this <cffunction name="init" output="false">
    Copy code
    <cfargument name="structform" type="any" required="true">
               <!--- initialize variables used within this component --->        
            <cfscript>            
                dsn = arguments.structform.dsnName;            
                uname = structform.uname;            
                pass  = structform.pass;
            </cfscript>
                  <!--- return a reference to this component --->        
       <cfreturn this>
    and it is saying structform is undefined in arguments i tried passing values one by one, still same issues, it only works when i just pass one value and that is the dsn name but i need otehr values, this is really making me annoying
    m
    j
    m
    • 4
    • 7
  • g

    Ganeshan k

    02/06/2023, 3:10 PM
    Hi Everyone, I want to host coldfusion lucee based application. can you please suggest some cheap hosting provider for less traffic CF applications?
    p
    d
    +2
    • 5
    • 7
  • d

    Dean Lawrence

    02/06/2023, 10:04 PM
    I am storing member file references in a database using UUIDs as the record id and am able to retrieve records by searching for an id that matches the passed UUID. However, I have a situation where I am passing the UUID into my query and it is not finding the record. If I find all records based upon the member number, I am able to see the record, but if I search for this one id, the record is not found. Any ideas as to why this is happening? Here is the query and it is running on SQL Server:
    Copy code
    SELECT * FROM dbo.memberFile WHERE id = '961E4BFF-0B9D-AD1D-492BD68DF5093086'
    Also, this has been working for years, it is just this one particular UUID that I am having an issue with.
    r
    m
    +5
    • 8
    • 23
  • s

    satauros

    02/07/2023, 6:33 PM
    Project layout / mapping question; I was asked to move an application from one server to another b/c of reasons, the app in question is running under mura (6.1) and I am not able to add mappings <= this is important. Current components that are being initialized / used within the application that is being moved as followed:
    foo.package.Name
    . In order to keep things contained, i created a new folder, let's call it app_test, that contains all .cfm pages (it does not have an Application.cfc b/c Mura won't load that one...). I've moved all components into a subfolder of this
    app_test
    folder. But now, when i create an object from within this subfolder, it complains that the return types don't match, e.g. "returned type is not of type foo.package.Name". Again, I am not able to use per-application mappings in this particular scenario (b/c doing that would cause name collisions with an existing application using the same prefix / mapping). Does anybody have ANY idea on how to tackle this? I apologize if my explanation sounds a bit all over the place, English isn't my native language ;).
    e
    • 2
    • 2
  • s

    Scott Steinbeck

    02/07/2023, 9:50 PM
    for all those using HOSTEK the whole system seems to be down at the moment, all my sites hosted are not resolving. Does anyone have any more info on the status of their systems?
    s
    • 2
    • 2
  • t

    timbeadle

    02/08/2023, 12:34 PM
    Hello - long time no see 👋 I’ve not been using CF actively for a while, but I recently unearthed my final year degree project from 1999 and thought about getting it working again. I’ve spun up Lucee using CommandBox, and the code still runs, however the data is stored in an old MS Access (.mdb) file - not sure whether it’s Access 95 or 97. I’ve tried using the UCanAccess jdbc driver, following the blog post by Michael Born here: https://michaelborn.me/entry/creating-an-ms-access-lucee-extension With the jar files in
    PROJECT_ROOT/lib
    and the following in my Application.cfc…
    Copy code
    component {
    	this.javaSettings.loadPaths = [ "./lib/" ];
    
    	this.datasources["ds_name"] = {
    		class: 'net.ucanaccess.jdbc.UcanaccessDriver',
    		connectionString: 'jdbc:<ucanaccess://PATH/TO/DB.MDB>,
    	};
    }
    … I get a
    Lucee 5.3.10.120 Error (java.lang.NoClassDefFoundError)
    exception. 1. Has anyone successfully got Lucee working with UCanAccess and an Access file of that version (95 or 97)? 2. Otherwise, is there another driver I could use, or 3. Does anyone have an old Windows PC with Access 97 or 2000, who could import and convert the database 😉 ? Thanks in advance for any tips or help 🙂
    j
    t
    +2
    • 5
    • 46
  • s

    salted

    02/08/2023, 4:19 PM
    @foundeo when you’re online can you let me know if it’s ok to DM you? It’s wrt a Foundeo product 👍🏼
    b
    f
    • 3
    • 4
  • b

    bfescoe

    02/08/2023, 5:08 PM
    Hello all. I'm working on a lucee migration project using docker. One of my tasks is to create the datasources for both prod and dev but, both have to be the same datasource name. (abcdb for example). the databases live on AWS and ideally we would like to have it so if we have the docker container running locally it would point to the dev DB and if it deployed on the server it would use the prod DB. I thought about using an edit to my hosts file but I don't think that will work because the RDS ip's are dynamic. Wondering if anyone had a similar challenge?
    b
    e
    • 3
    • 9
  • g

    gsr

    02/08/2023, 9:23 PM
    anyone used misfires and exception in schedular in coldfusion cfadmin, i am trying to see if i can write some component or page that if anyof the event happens, like misfire or exception, it should trigger the invokehandler which throws error so i can be notified that something went wrong with schedulked task
    d
    • 2
    • 7
  • g

    gsr

    02/08/2023, 9:23 PM
    right now, the mires just gets ignored and i found out when i get a internal ticket that the service was not run and code was not updated
  • s

    satauros

    02/09/2023, 9:12 AM
    Anyone ran into this error before:
    Feb 9, 2023 09:27:56 AM Error [http-nio-8502-exec-1] - Metaspace The specific sequence of files included or processed is
    ... ?
    d
    • 2
    • 1
  • m

    Mauro caresimo

    02/09/2023, 4:36 PM
    I need to convert a structure to a list so that I can remove duplicates bit I can't find anything that seems to do this. Anyone help? Seems to be lots available for arrays etc but nothing for struct to list
    s
    w
    +3
    • 6
    • 12
  • b

    blusol

    02/10/2023, 3:58 PM
    cfdocs.org down for anyone else?
    p
    t
    +4
    • 7
    • 11
  • a

    Adam Cameron

    02/10/2023, 7:35 PM
    How good is the new Adobe CFML VSCode plugin at refactoring? Like selecting some code and "extract into method" sorta thing?
    e
    • 2
    • 5
  • f

    foundeo

    02/10/2023, 8:00 PM
    Does anyone know the reason why Adobe’s docs say
    Adobe recommends that you use the Floor function, instead of the Int function, in all new applications.
    https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/int.html ? Is there an actual reason or just that there are two functions doing the same thing?
    b
    m
    +2
    • 5
    • 24
  • m

    Michael Gillespie

    02/10/2023, 8:40 PM
    Looking for a unicorn today because my google-foo seems to be off today. Has anyone seen a cold fusion routine/cfc/module, paid or free that does virtual packing - aka a solution for the dreaded "Bin Packing Algorithm". Frankly my "fit in available volume and then check available dims" is just too intensive for lots of small packages in a big box.
    t
    e
    • 3
    • 11
1...272829...38Latest