The official community for ColdFusion.
Recently active
I am creating a PDF document with set of questions answerable by multiple choice.Example:For which of the following disciplines is Nobel Prize awarded?A. Physics and ChemistryB. Physiology or MedicineC. Literature, Peace and EconomicsD. All of the aboveIn this example, the correct answer is "D - All of the above”Here is what I would like to happen:How can I check if the answer selected is correct?I also plan to include a "Next" control button that when click, it goes to the next question and cannot go back to the previous question to change their answer.I want the result (Correct or Wrong) of each question to be display only after the last question has been answer. Example: Question 1 - Correct Question 2 - Correct Question 3 - Wrong Question 4 - Correct ... d.
Hello,We are having some issues sharing sessions between Redis and CF2021 container. Is there any trouble shooting guide? or anyone has any suggestions?Regards
Admin: Please delete this question. The problem occurred because I accidentally deleted a few lines of code.
We have moved from old sever to new server using Coldfusion 2016 version. We have below queries regarding this migraton. 1. Using CFlogin we are validating the current user logged in application or not with help of Isuserloggedin() function.2. The IsUserloggedin() is working before (cflocation)redirection, once redirected(cflocation) to another page it’s not working.3. IsUserroles(),GetUserroles() are also not working after redirection(cflocation).
Hi Everyone,Since i did not find any solution to implement progress in FTP upload via coldfusion, I was trying to use JAVA objects in coldfusion to do that, files are geetting uploaded but i need to override CopyStreamAdapter method in coldfusion to see the bytes transferred. Here is the sample code that i am trying. Please let me know what needs to be done.<cfoutput><form action="" method="post" enctype="multipart/form-data" class="upload-form"><input type="file" name="fileToUpload" accept="*"><br><input type="submit" value="Upload File" class="submit-button"></form></cfoutput><cfscript>if (structKeyExists(form, "fileToUpload")) {// FTP server detailsftpServer = "server";ftpUsername = "user";ftpPassword = "password";// Get the uploaded file pathuploadedFilePath = getDirectoryFromPath(cgi.PATH_TRANSLATED);uploadedFileName = form.fileToUpload;// Create an FTP connectionftp = createObject("java", "org.apache.commons.net.ftp.FTPClient");// C
Hi experts,I am facing issue while binding retrieved data through AJAX in select-list box. I am unable to do so. Please suggest where to do changes in my code.This is my ajax code:$('body').on('change','#port_code', function() { //1st list box on change this will execute to update records in 2nd list box. var selected_port = document.getElementById("port_code").value; //1st list box selected valueif (selected_port != ""){var formData = "selected_port_code="+selected_port+"&reload=true"; $.ajax({url: 'index.cfm?action=vehicle.getGateNo',type: 'POST',data: formData,success: function(data, textStatus, jqXHR){console.log(data);$.each (data, function(k, v){vx='<option value="'+v.GATE_NO+'">'+v.GATE_DESC+'</option>';});$('#gate_no').html(vx); //2nd Select-List box where binding data}}); //AJAX End}}); //Function End Getting record in console.log(data):{"COLUMNS":["GATE_NO","GATE_DESC","ACTIVE","CREATED_BY","CREATED_DATE","MAIN_GATE","PORT_CODE","SR_NO
Hi Experts, I am new to ColdFusion, I am unable to run .cfm file in cmd and in web browser. 1. Should I add .cfm file inside coldfusion\wwwroot\2. How to run .cfm file3. how to add server in CF builder4. How to run file in Web browser (Kindly please say how the process works.) I have installed ColdFusion and ColdFusion Builder In cmd - coldfusion.exe -start -console Installed ColdFusion Administrator http://127.0.0.1:8500/CFIDE/administrator/index.cfm ColdFusion Builder Kindly please help me to connect and run the .cfm file, please please.
We are attempting to create a CFCHART and we want to set a time in the value of the yaxis. It seems from our experience that the yaxis value can only be a number. Has anyone had any luck with trying to do this in the past?
Good day I would like to be guided, we have the Coldfusion 10 license using organisational account, we would like to upgrade the current version of Coldfusion because its not supported and brings some security issues in our environment, kindly assist by giving us direction as to what process needs to be followed in order upgrade this product. ThanksKind regards Raphael
Hi experts,I am facing issue while binding retrieved data through AJAX in select-list box. I am unable to do so. Please suggest where to do changes in my code.This is my ajax code:$('body').on('change','#port_code', function() { //1st list box on change this will execute to update records in 2nd list box. var selected_port = document.getElementById("port_code").value; //1st list box selected valueif (selected_port != ""){var formData = "selected_port_code="+selected_port+"&reload=true"; $.ajax({url: 'index.cfm?action=vehicle.getGateNo',type: 'POST',data: formData,success: function(data, textStatus, jqXHR){console.log(data);$.each (data, function(k, v){vx='<option value="'+v.GATE_NO+'">'+v.GATE_DESC+'</option>';});$('#gate_no').html(vx); //2nd Select-List box where binding data}}); //AJAX End}}); //Function End Getting record in console.log(data):{"COLUMNS":["GATE_NO","GATE_DESC","ACTIVE","CREATED_BY","CREATED_DATE","MAIN_GATE","PORT_CODE","SR_NO"],"D
I have an OLD version of ColdFusion (ColdFusion 5). I use it to tag simple HTML files. Our IT department doesn't support it anymore. However, I have the Adobe CC package. Why is ColdFusion not included in that package? Does it still support simple HTML files?
We are dealing with image a lot lately and we were able to write text with different text configuration like, font, fontsize, color etc., on each line. Everything is going good so far.Now, our requirement is to read text from db (one to many lines) which will be variable length by user and need to somehow fit everything in that image without text overflowing. Possibily adding line breakswhich will still use same text configuration. This can lead to more than 1 line on the image. Next, read seond line from DB and repeat the same process except this time text configuration may or may not be same. Started researching on using CFImage tag but will not give me height and width of the text so I can determine the coordinates of the next line.Also, tried to do some research on awt* classes and methods but stuck with same problem.I'm working with CF18 and cannot seems to find anything which can solve my problem unless I'm approching this all wrong.I'm looking for guidence on how this
If there is a post or document somewhere that answers this my apologies... Is ColdFusion 2021 compatible with MacOS Ventura 13.2? Additionally, is anyone (successfully) running CommandBox on MacOS Ventura 13.2? Thanks
Suddenly the mails are stopped going from my coldfusion web application. I am running on Coldfsuion2016. When I verify mail server connection i am getting the "Connection Verification Failed!" error on coldfusion administartor Server Settings > Mail. I found the following info/exception on mail log:com.sun.mail.util.MailConnectException: Couldn't connect to host, port: my.mail.server.com, 25; timeout 200000; nested exception is: java.net.ConnectException: Connection refused: connect The following info is form mailsent log:Moved undelivered mail: Mail#########.cfmail to ColdFusion2016\cfusion/Mail/Undelivr directory Can some one help me on this?
How can I reach Adobe ColdFusion support team? 800 number? email?
Hi,How can we get cflog files created per day? Thank you.
ColdFusion 2016,0,13,316217Hi,We have been getting this in our coldfusion-error.logs multiple a *minute*:Oct 07, 2020 6:59:19 PM org.apache.catalina.core.StandardHostValve custom SEVERE: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/CFIDE/administrator/templates/errors.jsp] org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.IllegalStateException: Cannot create a session after the response has been committed"java.lang.IllegalStateException: Cannot create a session after the response has been committed" This started showing up in our logs last month but only sporadically. ColdFusion has been restarted multiple times and these errors still exist. If it only happend occasionally I wouldn't sweat it, but this is very concering. I don't really know how to figure out what is happening in a ColdFusion context. I found three other mentions of this error on the message boards but no real solutions. I'm not n
Im looking at using ehcache to cache some very large datasets. Im planning to use ehcache regions with eternal and diskPersistent settings turned on. Would it be unwise to allow my ehcache regions to grow into a TB size worth of data? At what point would it be too big? Could I in theory have a 150 TB ehcache region without a performance degradation?
Hi,I am using CFthread to upload a file to ftp sever, The requirement is to upload the file in background even after the browser window is closed after user start uploading the file. Is is possible with CFthread?Code that i am using:<cfif (IsDefined("form.FileContents") && form.FileContents NEQ "")><cfthread action="run" name="fileUploadThread"> <cfset FileInfo=GetFileInfo("#form.FileContents#")> <cfset fileSizeToUpload = FileInfo.size><cfset expectedCheckSum= form.actualCheckSum><cfset variables.uploadedFileServerName = "TestUploadFile" & "/" & "#fileName#" /><!---<cfset fileName = uploadResult.serverfile/>---> <cfftp connection="session.ftpConn"action="open"server="someserverName"username="someuser"password="somepassword"stoponerror="Yes"timeout="90000">Did it open connection? <cfoutput>#cfftp.succeeded#</cfoutput><br /><cfif cfftp.succeeded> <cfftp connection =
Hi,I am trying to upload file to ftp server with CFFTP tag. the code that i am using is:<cfset variables.uploadedFileServerName = "TestUploadFile" & "/" & "#fileName#" /><!---<cfset fileName = uploadResult.serverfile/>---> <cfftp connection="session.ftpConn"action="open"server="uploaduat.flexnetoperations.com"username="some user"password="password"stoponerror="Yes"timeout="90000">Did it open connection? <cfoutput>#cfftp.succeeded#</cfoutput><br /><cfif cfftp.succeeded> <cfftp connection = "session.ftpConn"action = "PutFile"localFile="#form.FileContents#"remoteFile="#variables.uploadedFileServerName#"stoponerror="Yes"passive = "Yes"timeout="90000"><P>Did it succeed? <CFOUTPUT>#CFFTP.Succeeded#</CFOUTPUT><cfif CFFTP.Succeeded><P>Close the connection:<CFFTP ACTION="close"CONNECTION="session.ftpConn"STOPONERROR="Yes"><P>Did it succeed? <CFOUTPUT>#CFFTP.Succeeded#<
Hi,Trying to using the Oracle DB instead of sqlserver DB, and ran into below error.ormSettings.dbcreate = "update";With above configuration after calling ormreload() call, application keeps spinning forever. and getting below error.ORA-00955:name is already used by an existing object. when i change the above setting to "none",ormSettings.dbcreate = " none ";application throws table does not exist error, but in backend we have a table database.when i change the same setting to ormSettings.dbcreate = "dropcreate";we are losing all data and tables got created newly. Application loading/running successfully. By using “update” option, our application is working fine in MicrosoftSQLServer.When we use the same configuration for oracle database, by changing the required configuration like dialect and moreWe landed on this errors.ORA-00955:name is already used by an existing object UsingWindows Server 2022 StandardColdFusion 2021 server Enterprise Trial version 10 days
I'm facing this error since 60 days and it's showing your account is suspended. Even I didn't break the rules and policies of Garena Free Fire. So, please fix this problem as soon as possible. Free Fire ID Name: PɢㅤLEꫝDER UID:521342191
Our company has completed a security review of ColdFusion 2021 update 4 and found it is using an outdated version of Tomcat (9.0.60). Does anyone know if Adobe will be updating Tomcat to the latest version (9.0.74)?
We are thrilled to announce the highly anticipated release of 2023 release of Adobe ColdFusion! Packed with cutting-edge features and enhanced performance, this release takes ColdFusion to new heights of innovation. Experience accelerated development, robust security measures, and seamless integration with modern technologies. Upgrade to the latest version now and harness the true potential of ColdFusion. Elevate your coding experience with Adobe ColdFusion – the ultimate platform for unmatched productivity and success. What is new in this release? LDAP and SAML integration Integrate LDAP and SAML authentication seamlessly with ColdFusion, enabling secure and centralized user management, authentication, and single sign-on (SSO) capabilities for your applications, enhancing security and user experience. Central Configuration Server Utilize ColdFusion's Central Configuration Server to manage and centralize configuration settings across multiple instances, sim
Hello,when i try to add new datasource through administrator page, i'm getting below error message.NOTE:Im using cold fusion 2021 version with coldfusion builder 2018I tried to add microsoft access driver. Could you please let me know how to fix this issue?"The ColdFusion ODBC Server service is not running or has not been installed. You may also use the "MS Access with Unicode" driver to connect to MS Access datasources."
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.