The official community for ColdFusion.
Recently active
Hello - Has anyone ever seen CFDUMP - form, not display all the fieldnames with data in it? I have a number of formfields, but not A LOT of them and one of the names is missing. Anyway, I have attached a CFDUMP of the form fields...The field in question should be the last one in the list, it should be journal_date.It doesn't exist in the list of fieldnames, but the value does exist. Anybody have an idea of what's happening? Thanks Doug
We have 2 load balanced ColdFusion servers, and want to use PMT Performance Monitoring Toolset. The advice from Adobe : For deploying in production, it is recommended that Performance Monitoring Toolset must be deployed separately from a ColdFusion server. If we install on one of the ColdFusion server how much of an impact would it have? Marginal or a total no-no?
We are using cfhtmltopdf and inside calibri font block, content is not displaying in PDF <cfhtmltopdf destination="FILEPATH" overwrite="true" orientation="portrait" unit="in" marginbottom="0.25" marginleft="0.25" marginright="0.25" margintop="0.25"> <cfprocessingdirective pageencoding="utf-8"> DISPLAYED IN PDF <div style="font-family:calibri;font-size:13pt;"> THIS IS NOT DISPLAYING IN PDF </div> DISPLAYED IN PDF </cfhtmltopdf> We have installed calibri font. and coldfusion server: 2018.
I have setup CF on many windows servers over the years but this is my firat attempt at setting up CF on Linux. I have a newly setup REHL 9.3-0.5.el9.x86_64 server. I have Apache 2.5.47 running on it. I installed CF using the GUI installer and set it up with the Production Profile. I upgraded to Update 7 and then upgraded the Java to 17.0.11 and in the CF Admin I can see that it is running Tomcat version 9.0.85.0. In Apache I setup two virtual hosts and on my windows machine I edited my hosts file so that I can access both of those sites through a web browser on my local computer. Next I ran the wsconfig from the command line with this:sudo ./wsconfig -ws Apache -dir /etc/httpd/conf -bin /usr/sbin/httpd -vI can see it created several files in the ColdFusion2023/config/wsconfig folder and in the /ect/httpd/conf folder it added mod_jk.so and it added these lines to the httpd.conf file.Include "/etc/httpd/conf/mod_jk.conf"Include "/home/cimwebadm/opt/ColdFusion2023/config/wsconfig/1/mod_jk
I've been using a slightly modified version of the SocketGateway (examples.socket.SocketGateway) for over 15 years (modified just to comment out the "welcome" message) with great success. Our legacy ERP system has several processes that communication on TCP/IP sockets and we've been able to streamline multiple integrations by letting it talk to my ColdFusion sockets and using CF code to connect to partner APIs.The new version of the ERP system has changed one of those socket processes to communicate over TLS and my CF socket can no longer understand what it's sending. Strangely, the process still CONNECTS, but what I would typically receive as a single "message" with an EOF character is now broken up into multiple messages and gets logged as gibberish (the usual sort of binary characters you see from encrypted data). I'm trying to figure out what changes would be needed to allow this connection to work properly. I've started down the road of trying to modify the
Want to install PMT - but when checking the install instructions there is reference to Datastore (which requires additional resources) and ElasticSearchh (which Datastore uses). What is this and is it needed for PMT to work?When I read up on PMT on the web (the various overviews) no mention is made of Datastore. The page I referenced is Performance Monitoring Toolset deployment guide (adobe.com) This impacts the size of VM I need to request or share with other apps. if there is a web page that explains this, that may be sufficeient (cannot seem to find this).
Hi, i know there are literally no free tools for ci/cd scanning of coldfusion besides cflint/sonarqube plugin- Is this still true? - No SAST SCA etc type scanners in the wild? Also; As per new mandate of security etc; SBOM. I notice grype/syft in a repo on my github repos, do not map dependencies of coldfusion code. With the release of 2024 how are we to approach this?
I am having a website with URL where subfolders vary from all uppercase to all lowercase. What I would like to happen is to make whole website URL lowercase once loaded. Even if the user changes it to whatever he wants, it will revert to lowercase once page refreshed. I tried using what ChatGPT said but this only gives me 500 Internal error. He tried many different variations of this and with http and https and yet all fail in the same way. He also tried with haccess file but it didn't work. Actually, it works for first subfolder, but fails for all others in the path. <cfsetting showdebugoutput="Yes"> <cftry> <cfset requestURL = GetHttpRequestData().headers["host"] & GetHttpRequestData().headers["x-original-uri"]> <cfset lowercaseURL = LCase(requestURL)> <cfset segments = ListToArray(lowercaseURL, "/")> <cfset lastSegment = ArrayLast(segments)> <cfif CGI.QUERY_STRING NEQ ""> <cfset lowercas
Hi if i want to start coldfusiln 2016 it braike After it Runs a few minutes. it says connection refused pdfgservlet this is new .. since one year all is ok and I don't install an update since 10 month ..can I disable the service ? pdfgservletKjndly regards thorsten
How can I create 404 page and apply it all across the website? Is that something I need to add in Application.cfc ? I have 404.cfc page which contains only gif, however if I would to navigate to that page, all templates are being loaded (header with navigation), body and even footer. Can I somehow disable templates for this page?
Hi all.I have a PDF file with two pages. Here I generate two individual GIF files using Imagemagick/Ghostscript convert. everything works. An image is inserted on the second page of the PDF. If the image has a higher resolution, i.e. the file format is larger, then Coldfusion will not generate the second convert correctly. only one image is generated. It works manually in the command line on the server. So the PDF is fine. I also played shcon with the timeout and set it higher. But that doesn't help either. Does somebody has any idea? A solution?here my code:<cfexecute name="convert" arguments='convert -resize 400 -interlace none -layers flatten -density 200 -quality 40 "#temp_vorschau#/pdf/#vorschau_bild#.pdf[0]" "#temp_vorschau#/pdf/#vorschau_bild#_1.gif"' timeout="20"> </cfexecute> <cfexecute name="convert" arguments='convert -resize 400 -interlace none -layers flatten -density 200 -quality 40 "#temp_vorschau#/pdf/#vorschau_bild#.pdf[1]" "#temp_vorschau#/pdf/#vorsc
I have been messing with this for a while with no progress. I am trying to populate a PDF form using cfpdfform and save it to memory using something like this:<cfpdfform action="populate" source="blankForm.pdf" destination="ram:///filledForm.pdf" overwrite="yes">But I keep getting:The ram:///filledForm.pdf file specified in the cfpdfform tag either does not exist or is not accessible by this tag.Does cfpdfform not have the ability to populate and write to memory or am I doing something wrong? I can successfully write to memory with cfpdf. I also realize I can populate to a variable and then write the result to a file using cfpdf. At this point, I'm mostly curious if this is intended behavior or not.
I am displaying a chart using CFCHART. It works fine in local development on CF2016 Developer edition, however when I run the code on the server (also CF2016) I just get a blank white screen. Looking at the source code, everything appears to be there I looked at the CF Administrator and the "Charting" settings are the same. I don't see anything else that is related to the charts. I stripped it back to a very basic call for a chart with no data which will display an empty graph, this works on the local side (see attached screenshot), but not on the server, again, a white screen, no graph. Code below.<CFCHARTtitle="My Graph"format="html"show3d="no"showlegend="yes"chartheight="400"chartwidth="500"labelFormat = "number"showborder="true"pieSliceStyle="sliced"sortXAxis = "yes"><cfchartseries type="bar" dataLabelStyle="pattern" seriescolor="4199d1" valuecolumn="totalclicks" itemcolumn="click_country"></cfchartseries></cfchart> It's not th
"Error","DefaultQuartzScheduler_Worker-3","01/20/22","18:00:00",,"500 Internal Server Error "coldfusion.tagext.net.HttpTag$HttpTagServerErrorException: 500 Internal Server Errorat coldfusion.tagext.net.HttpTag.connHelper(HttpTag.java:1214)at coldfusion.tagext.net.HttpTag.runCall(HttpTag.java:1413)at coldfusion.scheduling.CronTask.execute(CronTask.java:121)at org.quartz.core.JobRunShell.run(JobRunShell.java:207)at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560)
Hi,I have a ColdFusion 2021 webserver with IIS. The above setting will work. But, since it uses my personal login and we have a policy to change personal passwords every so often, that means I will need to come here to change my password. I tried to change this to an administrative account that does not require periodic password change, but then, I got this error. How should I go about fixing this? I could not identify the location of web.config. I wonder if making the suggested change will work either. Comments/Suggestions? Thanks. dchan
The documentation states : "For importing configurations using CAR, the CAR archives mounted to the /data directory are automatically imported during startup." ( https://helpx.adobe.com/coldfusion/using/docker-images-coldfusion.html ) . I have a .car file in there, but I don't see that it is imported. As a simple test, I just added a couple datasources, and then run the packaging & deployment > create an archive. This is how my directory structure looks like : C:\coldfusion-docker\docker-compose.yaml \coldfusion.env \data\cf.car When I run docker-compose up, the CF admin does not have those datasources. Also, I am running this instance on port 8506. I am havin
Hi, is anyone using Visual Studio Code? I'm trying to format the code with the command ALT+SHIFT+F and after that it says: "There is no formatter for 'cfml' files installed." How can we format the ColdFusion code in Visual Studio Code?
I have been experiencing a particularly strange bug.On Coldfusion 2021, if I insert the keyword "X-UA-Compatible" in any text box or field, I get the following error when ColdFusion tries to display it: javax.servlet.ServletException: ROOT CAUSE: java.lang.IndexOutOfBoundsException at java.base/sun.nio.cs.StreamEncoder.write(StreamEncoder.java:121) at java.base/java.io.OutputStreamWriter.write(OutputStreamWriter.java:208) at java.base/java.io.PrintWriter.write(PrintWriter.java:507) at coldfusion.runtime.CharBuffer.writeTo(CharBuffer.java:154) at coldfusion.runtime.NeoJspWriter.writeOutput(NeoJspWriter.java:281) at coldfusion.runtime.NeoJspWriter.flush(NeoJspWriter.java:374) at coldfusion.runtime.NeoPageContext.flushOutput(NeoPageContext.java:2545) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:42) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.Datasourc
Regarding the latest CF Hotfix (ColdFusion (2021 release) Update 13) and Fusebox5 applications. We have a legacy application in our organisation which died completely when Hotfix13 was applied. Almost every request produces a "Variable FUSEACTION is undefined." error. We have a temporary fix whereby we can set the server variable "Searchimplicitscopes" to true, but this is only a temporary solution. Has anyone else had this problem with Fusebox applications, and does anyone have a strategy for fixing it?
We connect to a partner organization daily to grab sets of files using sFTP. We had received notice from them that they were deprecating ssh-rsa and only supporting rsa-sha2-256 and rsa-sha2-512 going forward. Well the day has come and apparently CF2018 (and 2021) using ssh-rsa as our connections have failed. There's nothing in any documents or articles that we can find about switching, forcing or upgrading the CFFTP algorithm other than some bugs with CF2011 and a zlib jar. Any help or ideas on how to get around this?
Day of week is displayed incorrectly, as if the date is in US format mm/dd/yyy. How can I fix this?(UK format is dd/mm/yyyy)egDatepart for 01/05/2002 returns value of 7 for Saturday (not 4 for Wednesday).UK : 01/05/2002 = 1 May 2002 = Wednesday.US : 01/05/2002 = 5 Jan 2002 = Saturday. More puzzling is that Datepart for 21/04/2022 returns 5 (for Thursday), when it should return 1 for Sunday, and in a US format a month of "22" is not valid anyway.From my test output :01/05/2002 Wed is output as datepart & day of week : 7 day of week Saturday21/04/2022 Sun is output as datepart & day of week : 5 Thursday22/04/2022 Mon is output as datepart & day of week : 6 Friday23/04/2022 Tue is output as datepart & day of week : 7 Saturday24/04/2022 Wed is output as datepart & day of week : 1 Sunday25/04/2022 Thu is output as datepart & day of week : 2 Monday26/04/2022 Fri is output as datepart & day of week : 3 Tuesday27/04/2022 Sat is output as datepart & da
We upgraded from CF2018 to CF2023 a few months back and since the upgrade we have a cfimap call getting hung on emails here and there. Most of the emails retrieval work as they should, however, one will bring ColdFusion down and hang the rest of the sites on the server. Once the offending email has been removed from the queue the server will recover. The process has been allowed to run for 5-10 mins and the cfimap process will not be able to clear it. The other sites are down during this time. We are not sure what is happening for sure. One thing we are leaning towards is the email attachment size. The emails that this has happen on seem to have attachments that are around 14 MB in size. We are wondering if there is a JVM setting that may need to be updated to allow for the processing of a bit larger files? What would be different between CF2018 and CF2023 for cfimap that would cause this? Any insight would be helpful. Thanks.&nb
Kind of a dumb question, but I can't find this in the documentation. I inherited an old ColdFusion server with several existing scheduled tasks. I rebuilt the server from scratch, and imported the scheduled tasks, which run on a user account "taskrunner." My question is where should I put this account? Does it need to be a local user account on the IIS server that hosts ColdFusion, or is there somewhere in ColdFusion where I need to create/define this account? I am a bit confused becuase the old server does not have a local account with the name "taskrunner" yet the tasks were running before the rebuild, and do not run now. Clearly the account must be created somewhere, but where?
You may have noticed in the last few versions of Dreamweaver CC that ColdFusion support is slowly being removed from the program. Officially Adobe's answer is that developers should switch over to ColdFusion builder instead. Unfortunately for many of us ColdFusion builder is not a Dreamweaver replacement. There are some things that ColdFusion builder does very well, but Dreamweaver still has features that CF Builder lacks. If you're like me then you probably develop with BOTH ColdFusion Builder and Dreamweaver together in unison in your projects.I have submitted a feature request to the Dreamwevaer development team to officially request that CFML support be re-instated within Dreamweaver. The request has been assigned an ID number (3609524) and I was told that if enough people request this feature they will implement it.It would be great if you could help let Adobe know that ColdFusion is still a viable language and that you don't want to see it removed fr
I am getting File Not Found when trying to move the WWWROOT directory to another drive with CF2023 and VSCode/CFBuilder. As a note, I have not setup any of the following components before so the issues are due to that. I installed the following on a win 10 laptop to try for CF development. Coldfusion 2023 Dev (ColdFusion_2023_WWEJ_win64) with Tomcat VSCode (VSCodeUserSetup-x64-1.87.2) And added CFBuilder to VSCode. The default Coldfusion wwwroot is at C:\ColdFusion\cfusion\wwwroot I need to change the wwwroot to D:\mydir\wwwroot but have been unable to make it work. I get a file not found before it even gets to the web page. The closest I have got was to add a Linked directory to the project and it now launches the web to D:\mydir\wwwroot\index.cfm and then shows the File not found on the web page. I looked in the error log and it shows: Error [http-nio-8500-exec-1] - File not found: /WebTest/index.cfm The specific sequence of files included or processed is: C:\ColdFusion\
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.