The official community for ColdFusion.
Recently active
I inherited some order entry websites that have worked seemingly flawlessly for the past 3 years. Today I learned that 3 files didn't get sent to a customer last week, and I can confirm these files they should have gotten were never created on the server. However, I can find no entry in any of the log files (C:\ColdFusion11\cfusion\logs) that would indicate what the issue was. I would have expected some kind of exception to occur if a file could not be created or is that not that case? This part of the code does not contain any cftry / cfcatch blocks. I'll include the relevant parts here:<cfset OrderPath = #GetTempDirectory()#> <cfset DateTime = DateFormat(now(),"yyyymmdd") & "_" & TimeFormat(now(),"hhmmssllll")><cfset OrderFileName = ("WB" & "_" & #DateTime# & ".ORD")><!--- Check if order file exists - if so, delete it ---><cfif FileExists(#GetTempDirectory()#&#OrderFileName#)> <cffile action="delete" fi
Here is the link for a really important survey for us here at Adobe. Your responses will help determine some of the potential future directions of the product.This survey is one among the series of future direction surveys posted by us. Irrespective of your participation in the previous ones, we need you to participate in this survey. Although not mandatory, it will be very useful if you can leave your contact information in the survey response for us to follow up with you.Here is the survey link again.Thank you for your time.
We have some positive news to share. Here is a blog post that addresses the concerns some of you may have regarding the Oracle Java policy change.Oracle Java support for Adobe ColdFusion - ColdFusion
Hello, I am using Adobe ColdFusion (2018 Release). When I run a page containing a Crystal Report, the page appears blank, Crystal Reports (SAP Crystal Reports runtime engine for 32 bit and 64 bit are both installed).Can someone please help me in resolving this issue ?ThanksIQAdobe ColdFusion (2018 Release)Developer
We are getting the below error intermittently in Coldfusion 2016 error handler where REST service is used.I would like to know if this issue is due to network connectivity or SQL Server connectivity of max connection exceeded issue with ColdFusion REST Service.Error Occured At : UserValidation REST Service [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset). Please ensure that the server parameters passed to the driver are correct and that the server is running. Also ensure that the maximum number of connections have not been exceeded for this server.I am not a ColdFusion expert. I would like your help to identify the root cause of this issue. Please Help.
I have a query that returns results like thisRow 1 -C,HU,NU,PO, CY, CABRow 2 - A,AB,AB,ABC,TY,GYU So I need to combine these results into one string and then see if the string 'CAB' is in the new combined string.If it is, then output YesHow do I do this easily?
I recently installed Coldfusion 2018 Dev locally (to replace 2016) and everything seems to be working fine, except the Connectors section of the Performance Monitor doesn't show any data.I am not sure why and I cannot find the documentation to describe how anything needs to be configured for that data to show up.
HiWe're running ColdFusion 2018 Standard with Update 1 installed on a Windows 2016 server.When sending emails using <cfmail> we have two issues...1) We fire email frequently, but not heavily. Maybe 100-150 email per hour during the working hours. These emails are backing up in the /cfusion/mail/spool folder and clearing very slowly. Each one takes approx 6-10 seconds to fire, but it does fire successfully.2) In the Administrator > Server Settings > Mail > Maintain connection to mail server is not checked. When checking the box and submitting the form, the Administrator does not update this checkbox to stay on. When looking at the cfusion/lib/neo-mail.xml file this value selected as true.<var name="maintainconnections"><boolean value="true"/></var>Does this imply there's a glitch with the administrator?Has anyone any suggestions to help?Kind regards, Stuart
I am having a problem uploading multiple files at the same time. The site we are building is a catalog of sorts, and each item may have anywhere from 1-20 images.For this discussion, let's say we're uploading three imagesThe input on the form creates three cffile tags in the form, named img1, img2, img3. Those are working.After inputting the form, I see three distinct temp files. However, when the <cffile> tag runs, it only uploads the first file. Three times.I created output that would show all of the variables, and the output shows the three distinct images, but then <cffile> runs and all of the server variables are correct for the first image, but shown three times.Now, these file names also have to be written to a database, so I have to write the actual file name to the table, with time and date appended on it so that the file names are truly unique. Everything is working for the first file, it's the second and third that are the issue.The code that generates the input
Hi I'm planning to setup a highly available and scalable ColdFusion server on AWS. If I purchase a single ColdFusion Enterprise licence, can I install it on multiple EC2 instances? These can be fail over clusters or auto scaling groups.
I have a database of vehicles that have zip codes associated with them.I want to allow the user to do a search, i.e. Within 40 miles of zip code 19606. An API will be queried, I will match results to my database and display the vehicles by distance from 19606.More deeply, although you probably have better ideas, this will send the distance and zip parameters via an API and return all zip codes and distance from the initial zip code. I will then take these zip codes and query my local database to get zip code results and sort them by distance from the initial zip code.Alternatively I have searched and have seen people use their existing zip codes and adding lat/long data and then using some magic (ok some formula) figuring out which zip codes are within the radius and how far they each are from the original zip code.I have searched and most of the questions relating to this topic are rather old so I'm open to any and all ideas.Cheers!
Greetings, We've been struggling with this for a few days so I thought I'd seek some help. We are continually receiving the following error, causing the lockdown tool to rollback all its settings: "Failed to change the logon users for ColdFusion services!"Has anyone else seen this?Thanks,Henry
We are trying to execute a REST API call (particulary GET) using CFHTTP tag as below : <cfhttp url="https://reqres.in/api/users/2" method="GET" result="remoteCallResult" > <cfhttpparam type="header" name="accept-encoding" value="*" /> <cfhttpparam type="header" name="TE" value="deflate;q=0" /></cfhttp><cfdump var="#remoteCallResult#">The URL "https://reqres.in/api/users/2 " is a public url and it responds with below content :{"data":{"id":2,"first_name":"Janet","last_name":"Weaver","avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/josephstein/128.jpg"}}When CFHTTP tag is being used, I consistently see below error on my webpage :Above issue persists, even after installing the certificate from "reqres.in" into cacerts of JAVA_HOME.Can you pl
Hi Team,Can i set auto scaling for ColdFusion application hosted on PaaS (Azure /GCP). Will the single license purchased work while the server is auto scaled in cloudIs the above possible on cloud.RegardsAshwath Shetty
Can anyone explain why I cannot find a link to the 2016 version of cf server or developer edition for 2016 anywhere on the adobe site including this forum? Is anyone else concerned about using 2018 dev edition and not having true compatibility for clients that I am developing code for 2016 server base? Please help adobe update these links on the downloads page here - >> Adobe - ColdFusion Support Center : More Downloads and can someone please give me the direct download link for 2016 developer edition.Thanks!
I have a simple question regarding how I build an application using ColdFusion Reporting Service. I have an application that setup to pull individuals certificates, badges, and confirmation letters. One of things I have done is created a *.cfm form that generates a stored procedure in the database when a specific individuals certificates, badge, and confirmation letter is pulled. After the stored procedure is created the *.cfr is call and the stored procedure is executed.I am using CF-9 to do this which I know is past end of life.I have been told this is an antiquated method of do this by an individual that has only used PHP and WordPress and never used a ColdFusion Reporting Service or SQL Server Reporting Service for that matter.Is there a better way of creating reports such as this?
I am trying to figure out how to reference a 2nd level key within a structure for the purpose of hiding it within a CFDUMP. If I just CFOUTPUT it, I can use one of these references and the value outputs perfectly:- #test.level1.level2#- #test["level1"]["level2"]#But if I don't want CFDUMP to output test.level1.level2, I can't get it to work (e.g. hide='what?'). I've tried these permutations, with no success.- level1.level2- test.level1.level2- level1["level2"]- test["level1"]["level2"]Any ideas? Thanks.
I've successfully created/registered a rest service, but I'm having trouble keeping it alive. I can understand that a change in code needs a refresh of the service (in administrator or restinitapplication), but the following situations also break a service"clear template cache" button in administratorrestart of serverAnd the only way to handle this, is to write a scheduled task which polls the service and calls restinitapplication when it does not respond.Even if I set the scheduled task to run every 5 minutes, it's still possible that the service is totally unavailable for 4+ minutes. Other frameworks like Taffy does not have this problem.Why should i opt for REST if SOAP works many times better? Or am I missing something?
I keep getting this error and I am not sure why:An error occurred while trying to encrypt or decrypt your input string: The input and output encodings are not sameI think it is because the password is being pulled from a database.Here is my code:<cfquery datasource="#datasource#" dbname="#dbname#" password="#password#" name="getpass">SELECT email,pass,usernameFROM membersWHERE email = '#email#'</cfquery><cfoutput>#decrypt("getpass.pass", "xxxxxxxxxxxxxxxxxxxx==", "AES", "Base64")#</cfoutput>Thanks!
I am using CFHTTP to connect to an external company API. When I check in the "inspect" of google Browser it is like Resquest Method "GET". The API receives request via "POST". And the Content-type does not change to application/json. <cfhttp url="https://app.XXXXXXX.com/ErpPedido/V1" port="443" charset="utf-8" method="Post" result="response"> <cfhttpparam type="header" name="accept" value="application/json"> <cfhttpparam type="header" name="Content-Type" value="application/json"> <cfhttpparam type="body" value="#serializeJSON(stFields)#"> </cfhttp>
Hi,ColdFusion could not delete the file C:\ColdFusion11\cfusion\wwwroot\LAW\Briefs\A2878\pwd1.txt for an unknown reason.I am unable to delete any .txt or .msg file immediately after upload from their physical path and as well as from server too and the Coldfusion doesn’t return any particular reason for failure.It doesn't allow me to delete the file from the physical path i.e. from the brief folder, it will show an error pop-up with a message 'The action can't be completed because the file is open in coldfusion.exe'(see attached screenshot). It seems that Coldfusion locks the file in the background and after sometimes it allows me to delete the file successfully.For another extension like .docx, .pdf, I am immediately able to delete the file after upload. Apart from this, when I restart ColdFusion service it will allow me to delete the file again as if the file is getting locked by ColdFusion. I am using ColdFusion version '11,0,03,292866'.Does anyone have a solution to this problem?
Hi, I'm doing some form data validation and would like to add rules for files (size and type). Ideally I want to avoid CFFile as the validation shouldn't have anything to do with moving the file anywhere. I know that when ColdFusion processes an upload, it stores it in a temporary directory and filename. This is stored in the form field (e.g. form.file = c:\sometempdirectory\blahxxx.tmp) and I can use that to do a GetFileInfo and find out the filesize. Awesome.... except it's called blahxxx.tmp :( I want to know the real filename, not the temp filename but I can't find it anywhere. ColdFusion must know it, probably hidden along with its other darkest secrets, as it'll use it when we do a CFFile action="upload". So where is it being hidden? Any ideas? I have seen suggestions of using an extra hidden field plus some javascript, but to be honest, I don't like trusting something like that as it's possible to abuse it. I've also gone hunting inside "getPageContext().getRequest()" but no
I have extensive records containing dialog edited using CKEditor. It translates father's to father&rsquo;s and this is how it is stored in the table.I am pulling the records to make a web page - hundreds of them at a time. I process several text fields (nsvarchar) such as:<cfset a = '<blockquote class="dkpurplefont"><i>Notes for birth: </i>' & #GetData.BirthNotes# & '</blockquote>'><cffile action="append" file="#fname#" output="#a#" addnewline="yes">I was using <cfset a = '<blockquote class="dkpurplefont"><i>Notes for birth: </i> #GetData.BirthNotes#</blockquote>'> which should work. I switched it thinking I might solve the issue.60% of the time I will see "father's" on the completed web page. 40% of the time I see "father?s"I infer that the engine is choking on the &rsquo; as it processes #GetData.BirthNotes# and I'm guessing it is a speed issue - it is being processed faster that it can interpret.
I have an application that is on 2 servers where form data from server #1 populates and creates a fill-in PDF on server #2Server #1 - Railo server (Cant do PDF stuff)Enter Info into Form > Submit Form to Server #2Server #2 -Windows server with CF16 on itGets form field info and creates a PDF.Now I want that PDF to be copied back to server #1.How can I do that?Do I save it on server #2 and then do some file transfer or can I save it back to server #1?
We are trying to use CFPDF merge and having issues having all the merged documents come out the same width. currently some are slightly larger than others but enough to make it annoying. have verified the orientation of all docs are the same, and have already attempted to use the getinfo action to determine document widths, but apparently CF is "optimizing" these at runtime to what it "thinks" it should be thus throwing off the proportions to use in hscale & vscale attributes. Anyone have this issue and found a solution?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.