The official community for ColdFusion.
Recently active
I just installed CF 2016 Update 11 on 3 servers (updating from CF 2016 U10). I use the manual process (using the silent installation via the GUI never works for me, even though I have full access to start and stop services). The update worked fine, and I verified the build number afterward. I also verified that the websites on those server instances were running as expected.About an hour later, I noticed some sites were down. 2 of the 3 servers had failed. The CF Application Server service was simply stopped on those 2 servers.There are no errors or logs about it stopping (nothing in the CF logs or the Windows event log). I restarted the service and the sites came back up. The third server was fine.Just in case, I ended up restarting 1 server that had failed and the 1 server that was fine. (I can't restart the other server that failed because it's production). I'm now watching this closely to see if/when it fails again.We're on Wind
I have recently installed CF on Mac OSX. I tried to work on projects previously developed on Windows; in these projects paths are defined like this: <cfset path = '/folder1/folder2/file.cfm'>It seem to me incredibile, but CF don't recognize "/" as character to define path instead of Window's "\". How can I fix this problem? Is there a way to fix it without edit project's code (like define a rule for CF) ?Thanks in advance,R.
Looking to create a schedule by week. The current DB just has the short date format in it.
Hi all, Recently upgraded our CF servers to CF2018 (from a version I'm embarrassed to mention), and installed Builder 2018 license on a workstation - previously Builder 3.I'm now confused to find the "Generate Phonegap Build" project option, "Phonegap Status" tab, and Preferences->Coldfusion->Phonegap dialog is missing. What am I missing - I found it very convenient. Is it no longer necessary?Thanks,
This is not an advanced issue ... but I cannot find in this forums software where to ask general questions about CF. Navigation could be far better!Ok ... I have an integer ... 43629 ... the day of a given date since 1/1/1900. How do I do the reverse? I need to make a date from that integer? Anyone?
Hi,We see a lot of these errors in coldfusion-out.log:"removeOnExceptions is true for ourdsn. Closed the physical connection."The errors are expected in this case, but we get a lot of them. Is there any way to disable this specific error? There was an article online about editing one of CF's XML files, but it was for CFMX and we are on CF2018 Enterprise. Advice appreciated, as always.Thanks,Mark
Hi,I have a new ColdFusion 9 install on a CentOS server with Apache 2.2I applied the 9.0.1 update.The install is Standard, not Enterprise.I can access the admin at /CFIDE/... perfectly.The problem is when I try to access the first domain I have setup on server, where I installed ColdFusion on Wheels. When I type (using example instead of real domain) www.example.com or www.example.com/index.cfm, I get a ColdFusion error screen saying that it cannot find index.cfm . But index.cfm is there.I checked ColdFusion logs, and I have noticed that apparently, somewhere, two single quotes are being appended to the file name.This is what I see in cfserver.log:05/14 09:28:47 Error [jrpp-140] - File not found: /index.cfm The specific sequence of files included or processed is: /home/folder/folder/index.cfm''(with those two single quotes in the end. The file, without the single quotes, exists. The path included in the log file is the real valid path)From application.log:"Error","jrpp-140","05/14/12",
My client is considering buying a system that is based on Coldfusion.How should I evaluate whether this application has had the care and feeding necessary for it to be a healthy application with a future?What is the future of Coldfusion in general? Has Adobe published an official roadmap (I am not interested in seeing some blog)?What are the license fees for an application deployed on a client site?What are some of the dependencies installed on the host computer? (installed on a windows computer)?Are there RPA (robotic process automation) tools that work well with Coldfusion based web pages?I am asking the vendor these same questions but I want to do my own independent research.What other questions should I ask the vendor?
Just to let folks know, I have done a small update on cflive.net and added togetherJS to allow collaboration.Hope you find it useful.
Environment: Coldfusion2016 StandardI've imported the domain root certificate to both jre/bin/cacerts and to jre/lib/security/cacerts successfully but when using secure="CFSSL_CLIENT_AUTH" and useTLS="True", I get the message "CFSSL_CLIENT_AUTH, a client certificate is required to be imported into the security database". Both the clientcert path and clientcertpassword are correct.
Hi,We are on a cloud server with CF2018 Enterprise. We want to implement access restrictions to specific folders for certain user IP addresses and, of course, CGI variables such as REMOTE_ADDR are useless since we just get our cloud proxy address. CGI.REMOTE_ADDR has bit more promise as I am not sure it can be easily spoofed, but has anyone tackled such a problem and what technique did you use?We also have CGI.X_FORWARDED_FOR and this does have the client's IP address, but again I am not sure as to its "spoofability". If we ensured that the X_FORWARDED_FOR was the IP we wanted and the REMOTE_ADDR was our proxy gateway address, would that be sufficient to allow/disallow users to certain folders to run .cfm scripts?Thanks,Mark
I have this code <cfif len(trim(form.fileUpload))> <cffile action="upload" fileField="fileUpload" destination="#FileDirectory#" nameconflict="makeunique"> <cfset FileName ="#FORM.lname#_#FORM.file_type#_#FORM.key#"> <cffile action="rename" source="#FileDirectory##cffile.serverfile#" destination="#FileDirectory##variables.filename#-0.#cffile.serverFileExt#" nameconflict="makeunique"></cfif>It is code where users upload files and they get uploaded. If there are files with the same name they get renamed and made unique.For exampleUpload 1 = REV-D_166032-0.docxUpload 2 = REV-D_166032-01.docxUpload 3 = REV-D_166032-02.docxI have this on a Railo server and it works fine.But I have the exact same code on a windows server and it works differently.It overwrites the existing file. Like thisUpload 1 = REV-D_166032-0.docxUpload 2 = REV-D_166032-0.docxUpload 3 = REV-D_166032-0.doc
When running the CF 2018 installer, it does not detect that I have CF11 already installed. I have a Windows 2016 server with CF11/IIS installed on the 😧 drive. The installer doesn't give me the option to configure my web server for 2018
Hi,On one of the ColdFusion 2018 Server on Windows 2019, service doesn't start after server reboot and seeing this following error in event log. The ColdFusion 2018 Application Server service could not be started within 240 seconds. Increase the server startup timeout value using E:\ColdFusion2018\cfusion\bin\coldfusionsvc.exe -starttimeout <seconds> "ColdFusion 2018 Application Server".We have to manually start service. I don't see anything in ColdFusion logs:"Information","main","06/01/19","03:04:11","","Starting logging...""Information","main","06/01/19","03:04:11","","Starting license...""Information","main","06/01/19","03:04:12","","Enterprise Edition enabled""Information","main","06/01/19","03:04:12","","Starting crypto...""Information","main","06/01/19","03:04:13","","Installed JSafe JCE provider: Version 6.21 Crypto-J 6.2.1, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE,
We have a test server running CF2016 with code migrated from CF10.Everything works great... until... we pull a change from our repo that includes an edit to one of our CFC's.We have a chain of CFC's that extend one another... on a server restart, it takes approximately 40 seconds for the CFC chain to init. It takes a bit of time, but there are no issues.If we make a single change to one of the CFCs in this chain on CF2016, it appears to be causing CF to "re-init" the entire chain and brings the server to a grinding halt under load.When we do the exact same thing on CF10, it handles it like a pro.I would love any suggestion on what to try here. We've tried playing with various settings, but it seems there's something different in CF2016 that we are not aware of.You help is greatly appreciated!
How do you change the ColdFusion Administrator password? Does this require a restart of a service or any interruption of service?
I recently had up set up a new development laptop on which I use CF and mySQL. I have had this application running for almost 10 years on various versions without a problem, but this is the first install on a Windows 10 machine (don't know how Windows 10 would affect this, but that is the only difference).After getting everything set up and running I came across a weird error and am wondering if anyone else has seen it.I have information I collect in which I need to encrypt a date of birth and store it. I have this field in the database as a VARCHAR, not a date. However, on the new machine, when trying to update or insert with cfupdate/cfinsert, I receive an error that the encrypted value is not a valid date or time string. This happens even if I remove any validation of a valid date format and just leave it strictly as a text value.I am able to manually code an SQL update/insert which is accepted, so that would make me believe it is a CF issue, however, I am al
Bonjour,Je voudrais prendre un pdf d'un livre pour l'insérer dans un fichier mais je voudrais aussi la mise en page basique.Voici mon code :<cfpdf action = "extracttext" source = "chemin" name = "myXML"/> <cfcontent type = "text/html" /> <cfoutput> #myXML# </cfoutput>J'arrive à récupérer le texte mais sans la mise en page !Merci par avance pour votre aide.
Need a bit of assistance. I have a client who manually creates a report t the end of each year that consists of poundage of every product per customer. A customer may buy 50K lbs of different products each year. Is there a way that I can add anywhere from 2 to 1000 different numbers together by outputting the data into a cfset tag or something else?
Just had to restart my Mac server for the first time since Mac OSX upgrade from 10.14.4 to 10.14.5 last week. ColdFusion now no longer starts. Error log shows.INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646Jun 02, 2019 11:50:11 AM org.apache.coyote.AbstractProtocol startINFO: Starting ProtocolHandler ["ajp-bio-8014"]Jun 02, 2019 11:50:11 AM com.adobe.coldfusion.launcher.Launcher runINFO: Server startup in 4859990 msError: Could not load mediaLib accelerator wrapper classes. Continuing in pure Java mode.Occurs in: com.sun.media.jai.mlib.MediaLibAccessorcom.sun.media.jai.mlib.MediaLibLoadExceptionJun 02, 2019 12:02:58 PM org.apache.catalina.core.AprLifecycleListener lifecycleEventINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Applications/ColdFusion11/cfusion/bin/../lib:/Applications/ColdFusion11/cfusion/bin/../lib:Jun 02, 2019 12:03:20 PM org.apache.coyote.Ab
HI Cancel membership has been canceled . How do i return membership ?
I'm looking for a way to add a text equivalent to a rendered cfchart. I've read documentation for CF11 that states "Some complex controls such as cfmap and cfchart do not include text alternatives for some image," and you cannot add an alt tag to <cfchart>. However, the same documentation states "ColdFusion charts do provide any text equivalents for non-text elements." Adobe ColdFusion 11 - Section 508 Voluntary Product Accessibility Template How is this achieved?
I am rendering a screen using AJAX / and a cfc. (No reloads)All goes well until I make a boo boo and get a JSON error. I know what causes it - text that should not be in the cfc. But now I've hit a brick wall. I cannot find the "extra text" that's causing it. Or ... is that the only cause? The odd thing is the application runs fine on the bets server but not on localhost. So I looked for any / all instances of "localhost" or 127.0.0.1 and nothing problematic. Is there a tool out here that scans cfc's for these silly errors? I have looked in the server admin logs but I have no idea which of the log files would house it. Usually only use application.logThanks
I've been using CFwindow for years and find it very old fashioned.Have to use this code to open a window ...<cfwindow width="#srw#" height="700" bodystyle="overflow:auto"name="Alerts" title="Alerts" modal="True" closable="true" draggable="true" resizable="true" initshow="false" />then trigger it withColdFusion.navigate('/members/edit/edit.cfm','MemberProfileEdit');rePositionWindow('MemberProfileEdit');ColdFusion.Window.show('MemberProfileEdit');ColdFusion.Window.hide('pRC')I am also told by another developer that this usage is archaic and inefficient, in that the cfwindow line actually opens the window on initial load.Also having problems getting a cfwindow to "find" javascript that is declared outside of it.What in jquery can one use that is today's standards?
J'd like to manage libreooffice api for replace text in odf.i've done a running java cfx but when i transate to cf sintax i get an errorthis is the working java/cfx codecom.sun.star.util.XReplaceable xReplaceable = null;com.sun.star.util.XReplaceDescriptor xReplaceDescr = null;xReplaceable = UnoRuntime.queryInterface(com.sun.star.util.XReplaceable.class, xTextDocument);xReplaceDescr = xReplaceable.createReplaceDescriptor();and this is the cf code<cfset xReplaceable = CreateObject("java", "com.sun.star.util.XReplaceable")><cfset xReplaceableClass = xReplaceable.getClass()><cfset xReplaceable = UnoRuntime.queryInterface(XTextDocumentClass, xTextDocument)><cfset xReplaceDescr = xReplaceable.createReplaceDescriptor()>the error is in the last lineclass not found: com.sun.star.util.XReplaceable.createReplaceDescriptorany ideas?
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.