The official community for ColdFusion.
Recently active
We have apache 2.4 running on a Windows Server 2012, everything works fine except one strange bug:The server stops serving any pages to users after someone visits any page via Chrome for Android. The visitor on the Android device (only when using Chrome) gets an "connection reset" error, but all users after that are getting blank loading pages until Apache gets restarted. If an user is loading a page on any other device during a restart, the page finishes loading immediately.It seems that i can't find anything specific in the Apache or CF errorlogs. The only error i'm able to find is in the coldfusion-out.log:Apr 15, 2016 13:34:43 PM Error [ajp-nio-8016-exec-15] - The request has exceeded the allowable time limit Tag: cfhttp The specific sequence of files included or processed is: C:\projekte\removed\So-funktioniert-es-6.html, line: 98It does mention a specific file here, but it happens no matter what file or page you try to open. It's a really strange bug and we can't find any solutio
Hi. Does anyone know how to integrate a Cold Fusion form with the payment site stripe.com? I've tried taking their examples to see if I could just get money from the form into my test account on Stripe, but it doesn't work. I've updated the PublishableKey with the test key I have in my account. I'm not sure if I need to download something else to our site first in order for it to work. Has anyone used this site before to do payments with their cold fusion forms?Andy
I had a similar problem about a year ago (Re: It used to work and now it doesn't). The quick and dirty solution was to create the secure.common directory in the calling directory. This time, that doesn't work. I am at a loss as to what to do. I am running CF10 on a Windows Server 2008.
at the moment when using cfsearch it shows score as .35154512, .254878 etc. How can I show it like 95%,87% etc....
I'm doing hash for the global iris payment, need the sha1 hash, coldfusion 9 has sha-1, I tried use this to do the hash, but they said the hash is wrong, I don't know what to do, can anyone help?and how does the coldfusion do the hash, is there anyway I can see the sha-1 function code?
I have a web form, something like:<form><input type="text" name="objectives" value="This is a test"><input type="text" name="objectives" value="And another, if you know what I mean."><input type="text" name="objectives" value="And yet another."><input type="submit" name="btnGo" value="Do It"></form>And an action page that submits it to a db. The trouble is, the objectives will have commas in them, occasionally, and CF turns each comma into a list item, so my loop looks like:This is a testAnd anotherif you know what I meanAnd yet anotherbut I want:This is a testAnd another, if you know what I meanAnd yet anotherWhat I want to do is loop through the objectives, retaining the commas within the elements. I've been struggling with this for days. I want to avoid having to write some replace method in JS if I can help it.Thanks!How I'm looping:<cfset values = ListToArray(#FORM['objectives']#)><cfloop index="i" list="#FORM['objectives']#"> &
I'm testing out CF2016 Enterprise as a possible upgrade for my existing CF9 application, and I'm running into a major issue with existing code that works fine in CF9 where I read a BLOB image from my Oracle database and write it out to my filesystem as a JPG. The code looks something like this (redacted for security):... Query "GrabImage" reads image as "image_blob"...<cfset newimage=ImageNew(GrabImage.image_blob)><cfimage action="WRITE" source="#newimage#" destination="/xxxxxxxx/images/cf/#imagefile#" overwrite="true">The error showing up in my exception.log looks like this:"Error","ajp-nio-8016-exec-10","04/13/16","15:15:08","",""java.lang.NullPointerException at coldfusion.util.Utils.getFileFullPath(Utils.java:211) at coldfusion.image.Image.getInputStreamFromSource(Image.java:2802) at coldfusion.image.ExifMetaDataHelper.getOutputSet(ExifMeta
We are using java plugin for Crystal reports which supports up to Internet Explorer 10. So i have enabled IE compatibility view to run the reports in IE11. Is there a way to enable compatibility view for entire application.Thanks
Hi everyoneThis is a question for those people who have come to Adobe Premiere after using Final Cut Pro.How long do you think should it take an editor who has been working with Final Cut Pro (currently on version 10) for many years to switch to Adobe Premiere? How many days' training do you think would be needed?Any info/advice gratefully received!
Aloha,I am trying to change the braces in ColdFusion Builder to be on the same line, but it is not working for me.I am hoping somebody can help me arrange ColdFusion Builder the way I like the braces.Attached are images of what I did.However when I create a new ColdFusion comment it stills reverts to the next line style.Thanks so much in advanced for any help anybody can do to help me!Thanks!Johnny
Hello,I have recently installed Coldfusion2016, along with it I've configured the apache server which was installed through xampp. I'm totally newbie to this all.As in to check if CGI variables I copied the script ColdFusion Help | Testing for CGI variables written here.It is showing me output as "CGI variable does not exist".Can anyone help me out? As in Where can I set CGI variables? Am I Missing something?Thank You.
Hi. I have some javascript on my Add New Part page that has a form that says if a Part Number has a C and then a number behind it (like C1557), and the CN_Entry_Initials equal an "N", and the Validation_Qty is blank, make a Javascript error message display saying to enter a Validation Qty. I am trying to make this work on my Edit page also, but the error message does not display. I think it's because I have the input text box for the Part Number disabled. We don't want users to be able to update the part number once it's entered. If I just output the result of the Part Number, the javascript still doesn't work. How can I get the javascript to pop up an error message if the Part Number is C1557 (and the part number is just output to show the result), the CN_Entry_Initials equal an "N", and the Validation_Qty is blank? Below is the javascript I have and the form is below that. Thank you.Andy<SCRIPT LANGUAGE="JavaScript"><!-- Beginfunction verify() {var PartNum=document.EditItem.
We need details for coldfusion 16 same as present in the below link for coldfusion 11http://wwwimages.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf11/coldfusion11-support-matrix.pdfIt's urgent.Thanks@Anirban
Not sure what happened, but now all my domains don't load anymore. I get this error. I'm at a lost and not even sure where to start to troubleshoot. Can someone please help? This is what is showing on my page when it loads.Thanks in advance.Jimmyat coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)at coldfusion.CfmServlet.service(CfmServlet.java:219)at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
We are running CF11. I am using Cold Fusion Report Builder. When I open a report in Report Builder I am able to run and modify the query for about 5 minutes. Then I get the Error Occurred message. How can I stop the RDS server from dropping me?
I have been asked to programme a method for importing data from xml files into our Coldfusion 8 website, I am new to using XML.My method had been working however I encounted the following error:Element NETWORKORDER.SECONDARYADDRESS.CONTACTNAME is undefined in MYDOC.On investigation the node in the XML file was not present.Is there a method I can use to resolve this error by checking if a node exists in the xml file, that works with my current code below?<!--- Read XML file ---><cffile action="read" file="D:\website\XML\#FileName#" variable="myxml"> <cfset mydoc = XmlParse(myxml)> <!--- Extract Data from NDS XML File ---> <cfset aPrimaryContactName=(#mydoc.NetworkOrder.PrimaryAddress.ContactName#)><cfset aPrimaryContactNumber=(#mydoc.NetworkOrder.PrimaryAddress.ContactNumber#)><cfset aPrimaryContactNumber= tostring(#mydoc.NetworkOrder.PrimaryAddress.ContactNumber#)><cfset aPrimaryContactAddressLine1=(#mydoc.NetworkOrder.PrimaryAd
Running CF 7 on Windows 2003 Server with IIS 6. Server is named usileng01.xyz.com. It has one IP address 135.5.17.25 and three web sites defined in IIS. All three are using the server's IP address on port 80.1) Default Web Site - Home directory in IIS points to C:\Inetpub\wwwroot2) itrac.web.xyz.com - has "Host header value" in IIS set to itrac.web.xyz.com. Home directory points to E:\iTracDocumentRoot. itrac.web.xyz.com is a DNS alias to usileng01.xyz.com.3) itdata.web.xyz.com - has "Host header value" in IIS set to itdata.web.xyz.com. Home directory points to E:\iTracDocumentRoot\IT. itdata.web.xyz.com is a DNS alias to usileng01.xyz.comAll three sites have anonymous access disabled and "Authenticated access" in IIS set to "Integrated Windows authentication" since PCs are logged into the AD domain.When accessing the web server via a DNS name (either usileng01.xyz.com, itrac.web.xyz.com, or itdata.web.xyz.com), the CFID and JSESSIONID change on ever
I've got a web app that allows users to save database results as a PDF file (I use cfdocument for this). There's also an option for them to select up to 20 records to PDF and zip (I use cfzip for this) but with almost 6000 records in the database, I don't want PDFs to pile up. It's easy to make the script delete the zipfile after download, but I'm trying to figure out a way to clean up the PDFs.One idea was to stick a unique identifier in the PDF filenames, then delete everything with a wildcard, but is there a better way?
I've installed coldfusion 2016. The administrator interface is ok, but when I open the web site I get the error 500. How can I risolve this problem? Thank you
I try to consume a webservice which lives on an iis-machine.I get this error message:-----------------------------------------------------------------------------------------------------------------------------------------------------errorCannot perform web service invocation suche.The fault returned when invoking the web service operation is:org.apache.axis2.AxisFault: Fehler beim Überprüfen der Sicherheit für die Nachricht. at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.tempuri
I have installed the Coldfusion 11 Standard Edition in Windows Server 2012 R2 with 2GB RAM and IIS 8.5. “Adobe ColdFusion Launcher Application” exe consumes more CPU memory in the process say around 86% and slows down or stops running the Application. The Application services goes down and URL throws Service unavailable error. Please help.
Hi. I just have a simple number range and I want to output the results. What I have outputs the results, but for some reason, it only displays the first result. Why does it not display the correct result? Here's what I have:<cfset X = 27><cfset Y = 37><cfif (#X# GT 35 LT 51 And #Y# GT 1 LT 35)><cfset Result = 200><cfelseif (#X# GT 1 LT 35 And #Y# GT 35 LT 51)><cfset Result = 300><cfelseif (#X# GT 35 LT 51 And #Y# GT 35 LT 51)><cfset Result = 100></cfif><cfoutput>#Result#</cfoutput>Since X is 27 and Y is 37 it should output 300 as the result, but it outputs 200. Why is this? What do I do to fix this? Thanks.Andy
Here's something I'd like to gain a better understanding of, because I'm looking for anything that will speed up my processes. I will try to describe and pseudo-code this as well as I can. Apologies in advance if anything is unclear.I have a CFC that is instantiated and utilized in two different ways. In the first way, the object is created, and a method within it is immediately invoked inline, which initializes some properties within that object, and finally returns This. The transient local object reference is then used to invoke other methods within it, and then it's abandoned as the request runs it normal course.myLocalObject = CreateObject("component", "myCFC").setStuff(theseArgs);if (myLocalObject.checkStuff(thoseArgs)) myLocalStruct = myLocalObject.makeStruct();In the second way, the object is created blindly, and the object reference is stored in a property of the calling CFC. Later, that stored object reference is used to invoke the same setStuff() method, bu
I believe I found a bug in CF11 with DateTime comparisons when dealing with UTC converted values going through serializeJSON then deserializeJSON. I did modify the code to not include the local2utc conversion and that seemed to produce correct results. Can someone please confirm: <cfscript> variables.dttm = createDateTime(2016,04,03,17,53,0); variables.dttmutc = dateConvert('local2utc',variables.dttm); variables.base = {}; variables.base.dttmutc_min = dateConvert('local2utc',dateAdd('h',-1,variables.dttm)); variables.base.dttmutc_max = dateConvert('local2utc',dateAdd('n',1,variables.dttm)); variables.viajson = deserializeJSON(serializeJSON(variables.base)); variables.viajson.dttmutc_min = parseDateTime(variables.viajson.dttmutc_min); // to me this parsing should not be required variables.viajson.dttmutc_max = parseDateTime(variables.viajson.dttmutc_max); // same </cfscript> <cfoutput> <h1>base<
Hi,Can anyone tell me please why this:<cfquery name = "check" datasource="ds">SELECT Date FROM tbl</cfquery><cfset check.Date = DateFormat(check.Date, "short")>results in the check.Date changing on versions before CF 2016 but not in CF 2016?thanks.
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.