Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
How do I switch from recovery to production license with keys. The idea is to have production in one place with disaster recovery in another place. the idea would be to initiate a rollover to the servers during an outage etc. Does the recovery servers watermark PDF etc and would I have to activate our recovery servers as production. I honestly cannot find anything on this topic and differences such as watermark on recovery installs. I also could not find out how to update the license type without re-install.
Hello Dear Sir/Lady,How can ı see my invoice? and How can ı change my invoice details?I need your help. Please help me.I have a bit time.thank you for help.
How to do arraySet in a two dimension array?
Does ColdFusion 2016 support SQL Server 2019? How about the newer versions like 2018? The Product Matrix for 2018 does not list SQL Server 2019 but I have seen some internet chatter that it was coming.
Hi all,i have a mac book pro M1Paralells VM installed Ubuntu 20 ARM If i want to install Coldfusion 2018 it stop.............Unpacking the JREExtracting.....Configure the installer..... Launching installer..... JRE libraries are missing or not compatible......Exiting... Anybody an idea?
I am trying to build functionality using ajax. If email already exists in the database, it should give an alert using ajax. I have a textbox for the email field and on entering an email it should check the existence of that entered email id in the database using ajax. What i have tried is:<html> <head> <link rel="stylesheet" href = "css/style.css"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></scri
Hi,I read the posts about log4j but it seems like there is still an unresolved vulnerability in the jetty\lib\ext\log4j-1.2.17.jar file? Was this ever resolved? Also, our scanners are flagging log4j under CFBuilder, I haven't seen any mitigation steps for that, did I miss something? These are reported (from the root ColdFusion Builder directory):plugins\com.adobe.ide.coldfusion.dictionary_3.2.1.201902041055\lib\log4j-1.2.9.jar\configuration\org.eclipse.osgi\31\0\.cp\lib\log4j-1.2.9.jar Thanks for any information,Alicia
Having an issue with CF2021 working on Apache web server with Mac w/ Monterey OS I can use the connector to configure CF with Apache but when starting apache I get this error "No code signing authority for module at /private/etc/apache2/mod_jk.so specified in LoadModule directive" and apache fails to load. This issue is cited in "https://helpx.adobe.com/coldfusion/kb/coldfusion2021update2.html" I made a signing certficate and signed mod_jk.so so that this error does not show and apache loads fine but still does not work with CF. Is CF2021 not compatible with Apache on MAC or is there a work around?
Although we have DKIM signing enabled SM. Key generated was add/updated on Internal side to recievethese externally hosted emails. Emails do come through with NO signature. CFMAIL /CF admin.not sure since its the client if any work needed here. Post earlier noted signed would be done on SMTP server side which is our Web/SM. External Hosting team did a test and got email to go out and signed. Only looks like CF mail not working, I have created a test email account test@SMdomain on exsternal Web and then send email to our testing email account ???????@gmail.com and can confirm that message is encrypted. Attached the email headers and screenshot from gmail. It seems that when sending from ColdFusion somehow the messages are not encrypted. Maybe we need to select the option to encrypt the message. Let me know your findings. Ty Jose
When I run the code below, I am seeing the 'not defined' message. Why is that? <cflogin> <cfloginuser name="x" Password = "y" roles="z"></cflogin><cfif NOT IsDefined("cflogin")> not defined</cfif>
Environment: CF2016 + patch17OS: WindowsSession Enabled and hosted via Elasticache (Redis)Multi-instance environmentLoad: A LOT Given the two functions:/** * Method used to create a CSRF token, mainly used for login forms - Returns string * * tokenKey - optional, string. Unique key. Must also be used for decoding the token * forceNew - optional, boolean. Defualt to true. Will create new token each time the method is called **/ public string function generateCSRFToken( string tokenKey='some-special-key', boolean forceNew=true ){ return CSRFGenerateToken( arguments.tokenKey, arguments.forceNew ); } /** * Method used to verify a CSRF token, mainly used for login forms - Returns string * * token - required, string. The token to be verified * tokenkey - optional, string. Defualt to true. Will create new token each time the method is called **/ public boolean function verifyCSRFToken( required string token, string tokenKey='some-special-key' ){ return CSRFVerifyToken
We are facing issue when generating pdf in Coldfusion 2018. As per one relieble source we came to know this is existing bug in Coldfusion 2018. It will be really big help if some assist us in solution or is there any patch Adobe is relased then let us know. Below is error detail - RegardsNikhil --------------------------------------------------------Detail: Reason: SERVER ERRORMessage: Error occurred while generating PDF.StackTrace: coldfusion.document.webkit.PDFgErrorHandler$ServiceManagerConversionException: Error occurred while generating PDF.at coldfusion.document.webkit.PDFgErrorHandler.handleConversionError(PDFgErrorHandler.java:190)at coldfusion.document.webkit.HttpPDFRequestHandler.requestPDFGeneration(HttpPDFRequestHandler.java:178)at coldfusion.tagext.lang.HtmlToPdfTag.processPDFgRequest(HtmlToPdfTag.java:1361)at coldfusion.tagext.lang.HtmlToPdfTag.handlePDFgConversionRequest(HtmlToPdfTag.java:1511)at coldfusion.tagext.lang.HtmlToPdfTag.convertToPDF(HtmlToPdfTag.jav
We installed Coldfusion 2021 Update 3 (https://helpx.adobe.com/coldfusion/kb/coldfusion-2021-update-3.html) to mitigate the log4j vunerability, and in the instructions it says to update the web connector: After applying the update, you must upgrade the existing web server connectors. However it does not say anywhere how to install the connector. When I run this command # ./wsconfig -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf/ -v I get a message that the web server has already been configured. We are on the vesion below running on Centos 7.9:[info] jk_log_version::jk_connector_version.h (21): Connector Version: 321158 How do we update the web server connectors?
Greetings! I have coldfusion 2016 enterprise installed on a windows server, and I would like to upgrade to 2018 or 2021 (enterprise). I have downloaded the following 2018 / 2021 installers: coldfusion_2018_WWEJ_win64.exe -> from http://www.cfmlrepo.com/coldfusion_2021_GUI_WWEJ_win64.exe -> from https://www.adobe.com/products/coldfusion-family.html I have a Software License Certificate from Adobe with a serial number for "Coldfusion ENT 12.0 ALP AOO License UE LIC SN. The license number of 6 sets of 4 numbers separated by hyphens. I have verified that on the filesystem, the sn in coldfusion2016/cfusion/lib/license_properties matches the serial number in the adobe certificate. My organization purchased a 2018/2021 upgrade license from a reseller called Softchoice last year (which runs out in May), so I assume that we should be able to upgrade our installation with that. Their SKU description is "Coldfusion Ent 2021 14.0 ALP Upgrade License U E". When I run
Hi,Some code that was working perfectly before stopped working. Basically it hits an API and if the API returns a "nextPage" response then we do a CFHTTP hit to the URL contained in "nextPage"So for example if we hit https://amc.az1.qualtrics.com/API/v3/users passeshttps://amc.az1.qualtrics.com/API/v3/users?offset=100 FAILS but if I start with https://amc.az1.qualtrics.com/API/v3/users?offset=100 PASSEShttps://amc.az1.qualtrics.com/API/v3/users?offset=200 FAILS and the error always is structCharset[empty string]ErrordetailI/O Exception: peer not authenticatedFilecontentConnection FailureHeader[empty string]MimetypeUnable to determine MIME type of file.Responseheaderstruct [empty]StatuscodeConnection Failure. Status code unavailable.TextYES I tried importing the cert into keystore which we never had to do before, and that had no effect. I tried putting a 15 sec wait between cfhttp hits and that also had no effect. Thanks,G
Apache on Windows doesn't include the apachectl script, but wsconfig insists on trying to run it, and won't proceed. On a new server with CF2021+hotfix 3 and Apache 2.4.53 from apachelounge, this is the result of an attempted wsconfig: 03/24 08:51:23 debug Could not find file E:\Apache2\apache.exe03/24 08:51:23 debug Could not find file E:\Apache2\bin\apache.exe03/24 08:51:23 info Using Apache binary E:\Apache2\bin\httpd.exe03/24 08:51:25 info Server version: Apache/2.4.53 (Win64)03/24 08:51:25 debug Could not find file E:\Apache2\bin\apachectl03/24 08:51:25 debug Could not find file E:\Apache2\usr\sbin\apache2ctl03/24 08:51:25 debug Could not find file E:\Apache2\usr\sbin\apachectl03/24 08:51:25 debug Could not find file E:\Apache2\etc\init.d\httpd03/24 08:51:25 debug Could not find file E:\Apache2\etc\init.d\apache03/24 08:51:25 debug Could not find file E:\Apache2\etc\rc.d\init.d\httpd03/24 08:51:25 debug Could not find file E:\Apache2\etc\rc.d\init.d\apache03/24 08:51:25
Hello everyone! I ran into the next datetime display issue. Retrieved from a MySQL8 database, the datetime: 2022-04-06 19:27:24, trigger the following error_: “2022-04-06T19: 28: 53 is an invalid date format.” However this is correct in javascript!
Here is my code to do jQuery Autocomplete <!DOCTYPE html><html><head><link href="../assets/styles.min.css" rel="stylesheet"><title>jQuery UI Autocomplete: Using Label-Value Pairs</title><link href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/start/jquery-ui.min.css" rel="stylesheet"><script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script><script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script></head><body><!---<cfajaxproxy cfc="test" jsclassname="testCFC">---><cfset stateQuery=queryNew("abbreviation,label","varchar, varchar")><cfset QueryAddRow(stateQuery, 5)><cfset QuerySetCell(stateQuery, "label", "Alabama", 1)><cfset QuerySetCell(stateQuery, "abbreviation", "AL", 1)><cfset QuerySetCell(stateQuery, "label", "Minnesota", 2)><cfset QuerySetCell(stateQuery, "abbreviation", "MN", 2)><cfs
Hello - is it possible to move parameters into a traditional folder-like URL structure. Example: Current: https://example.com/index.cfm?fuseaction=event&ID=1Possible (?): https://example.com/event/1 Thank you!
Uff! Another problem with cftexarea in Coldfusion 21, The following code: <cfparam name="comment" default="<h3 style=""text-align:center; color:red"">Is it normal?</h1>"> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <title>Untitled Document</title> </head> <body> <cfform method="post" name="myForm" id="myForm" preservedata="yes"> <cftextarea name="raspuns" cols="90" rows="8" class="style16" id="raspuns" value="#comment#" richtext="true" toolbar="Basic" html="yes"></cftextarea> </cfform> </body> </html> The output in Coldfusion 10 is like in picture 1, and in Coldfusion 21, like in picture 2. The output should be as in Figure 1: red and middle!Thank you for help!
I simply cannot get the CC part of the code below to work. The message is delivered to three recipients, but not delivered to the CC recipient. <cfquery name="GetTOEmails" datasource="PURCH"> SELECT ApproverEmail FROM [PurchaseRequisitions].[dbo].[Approvers] WHERE TierLevel='01'</cfquery> <cfmail query="GetTOEmails" from="My Domain User <mydomainuser@domain.com>" to="#GetTOEmails.ApproverEmail#" cc="another@domain.com" subject="Another Test" server="myserver" username="myuser" password="mypassword" priority="highest" port
The documentation at https://helpx.adobe.com/ee/coldfusion/kb/coldfusion-2021-update-3.html says:If you've created a mapping of the cf_scripts folder, you must copy the contents of the downloaded zip into CF_SCRIPTS/scrips/ajax folder to download the ajax package.The link on the page is to just the jar file, so I assume they are taking about the zip file you can download from the Update 2 page: https://helpx.adobe.com/coldfusion/kb/coldfusion-2021-update-2.html#:~:text=ColdFusion%20(2021%20release)%20Update%202%20(release%20date%2C%2014,cfsetup%20updates.It seems strange to paste the contents of the zip file which is the "bundles" folder into CF_SCRIPTS/scrips/ajax... am I missing something?
Hello everyone! The toolbar in Coldfusion 21 cftextarea is not similar to the one in Coldfusion 10. How to reduce the toolbar to 3 elements: Bold, Italic, Underline. Thanks!Cftextarea.cfm <!doctype html><html><head><meta charset="utf-8"><title>cftextarea</title><link rel="stylesheet" href="css/custom.css"></head><body><cfform name="frmExample"><div id="cftextarea_content"><cftextarea name="mytext" richtext="true" toolbar="Single">Make Love Not War!</cftextarea></div><cfinput type="submit" value="Ok" name="submit"/></cfform></body></html>
Hi,We are trying to accept old inbound links, that are currently bouncing.The old urls contain: /County_Detail.cfm/CountyID:XXX (XXX = UniqueID)We want the old links to redirect to /Counties/County_Detail.cfm?CountyID=XXXWe're using CF10 and IIS 8.5We simply want to replace the delimiters / and : We've tried a number of settings, with the following as the latest. Would someone kindly point out the error of our ways.<rewrite><rules><rule name="Rewrite Counties" stopProcessing="true"><match url="^County_Detail.cfm([a-zA-Z0-9-+]+)CountyID([a-zA-Z0-9-+]+)" /><action type="Redirect" url="County_Detail.cfm{R:1}CountyID{R:2}" /></rule></rules></rewrite> Thank you, so much!
In CF2021, an expression of the form somevar[1].xthrows an exception when the value of x is null. This happens even when trying to test for null like IsNull(somevar[1].x) There's no similar problem with somevar[1][1] or somevar.x.x or somevar.x[1] or even somevar[1][1].x.x[1].x[1].x.x.x as long as the variable and its contents have the appropriate types, and no problem with somevar[1].x when the x in the struct in the array is not null. I tried many variations and the exception is thrown only in these specific circumstances: the next-to-last operation is an array element lookup, the last operation is a struct member lookup, and the value found in the struct is null. If the array access and struct access are separated from each other by the use of a temporary variable, the exception doesn't happen. The exception message is "Element X is undefined in a CFML structure referenced as part of an expression." Here's a demo of the exception-throwing case, along w
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.