Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
We updated to CF 2021 Update 10, and we're now seeing an odd error with CFPDF calls that utilize the write action. Essentially, we read a PDF from a network share (\\server\share\inputfile.pdf), do some work on it, then write out a new file in the same location (\\server\share\outputfile.pdf).We've recently been getting an "access denied" error when executing the CFPDF call that writes the file out. The CF process absolutely has access to write to that network location, and looking at the event log on the server, I don't see any audit failures when the CFPDF call executes. As a workaround, we've changed the CFPDF call to output to an internal temp directory, then we use CFFILE to move the file to the network share. This works fine. If anyone else seeing this behavior?The only changes to our server recently have been the installation of Windows Updates and CF 2021 Update 10. I haven't yet had time to dig further, but I was wondering if anyone else h
I have a CF process where I click a submit button. Then I need the process to wait/pause for 30 seconds and then run another check. If the check is no the process ends. If the check is yes then i need the process to wait for 10 more seconds and then run the checks again. What is a good way to do this to get the processes to wait the 30 seconds and then the 10 seconds?
I am assisting in moving a site that was on CF11 to CF2021. There has been a lot to fix but I have had trouble on on instace in where there are client variables that are lost from one page to another. When a user logs in, client variables are set.However, when users click to go to a part of that websiet that uses Model Glue for this and only this folder, the client variables and session variables are cleared. Now, on CF 11, this worked no problem. The variables exist without issue. However, on CF2021, those variables are cleared. Now, yes, there is an Application.cfc within this folder and I suspect its the reason why this is cleared (there is no app.cfc in the folders before this again, old appliction not my code) The problem is, that there is code within this model glue folder that tries to refrence that now cleared (on CF2021) variable. I'm lookng for a good solution, is there a way to move that client information into this folder which is needed for some functionalit
Hi, i found issues on cfhtmltopdfitem <cfif _PAGENUMBER eq _LASTPAGENUMBER > Last Page<cfelse> Page: _PAGENUMBER of _LASTPAGENUMBER</cfif>this will only work if no html tags like <div> something like that. ill give example<cfif _PAGENUMBER eq _LASTPAGENUMBER > <div> Last Page </div><cfelse> <div> Page: _PAGENUMBER of _LASTPAGENUMBER </div></cfif> this line of code will not work. also this like of code will also not work <cfhtmltopdfitem type="header"> <div > Header </div> </cfhtmltopdfitem> <div> Body </div> <cfhtmltopdfitem type="footer" evalAtPrint="true"> <cfif _PAGENUMBER eq _LASTPAGENUMBER > Last Page <cfelse> Page: _PAGENUMBER of _LASTPAGENUMB
Hi,I am trying to convert some java code (below) to Coldfusion but am running into an error "Variable HEX is undefined". How can I create a Hex object in CF? <cfset input='{"id":7,"attempts":1,"notifications":[{"action":"UPDATE","message":{"id":0,"sender":"","body":"{\u0022TableId\u0022:930002,\u0022TableName\u0022:\u0022DEMOGRAPHIC\u0022,\u0022TableAction\u0022:\u0022UPDATE\u0022}"}}]}'> <cfset key = "xxxx"> <cfscript> secret = createObject('java', 'javax.crypto.spec.SecretKeySpec' ).Init(key.GetBytes("UTF-8"), 'HmacSHA256'); mac = createObject('java', "javax.crypto.Mac"); mac = mac.getInstance("HmacSHA256"); mac.init(secret); digest = Hex.encodeHexString(mac.doFinal(input.GetBytes("UTF-8"))); </cfscript>
We are pleased to announce that we have released the updates for the following ColdFusion versions: ColdFusion (2021 release) Update 2 ColdFusion (2018 release) Update 12 Note: The ColdFusion (2021 release) installers have also been refreshed with this update. The new server installers bundle Update 2 and JDK 11.0.11. The ColdFusion Add-Ons and other installers are bundled with JDK 11.0.11. The refreshed installers are available at ColdFusion downloads. In these updates, we’ve fixed a few security bugs and some other bugs, which are mentioned in the tech notes. ColdFusion (2021 release) Update 2 ColdFusion (2018 release) Update 12 These updates fix security vulnerabilities that are mentioned in the security bulletin, APSB21-75. In addition, Update 2 of ColdFusion 2021 features the following: CFSetup enhancements ColdFusion licensing and activation ColdFusion AWS Lambda For more information, see the tech notes for ColdFusion 2021 Up
I am moving an old application which is on a CF11 install to my CF2021 install.the code has worked fine for 10 years under CF11 i have code where after i am adding a product to my cart it its updating the database with the cart product information. it is running this code as part of a UPDATE cfquery and upating a user table: SET PreviousProduct_ID = '#Listfirst(Form.Product_ID)#', CF is complaining - Complex object types cannot be converted to simple values.but it is not a complext object it is a simple list productid numbers with commasthis is the variable output in the CF debugPRODUCT_ID=5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347,5348,5349,5350that is a list? not a complex object? works fine in CF11 but not in 2021 and i can not for the life of me fiture it out.Please help.
Hi,Strangely, our CF 10 server has started to show "500 - Internal server error" whenever a CF error occurs, instead of the normal error message. The error is logged, but the front end shows the error 500 and nothing else. Normally, we'd see the error message and stack trace etc.How would I troubleshoot that?EDIT: This is a CF10 on IIS 8 Windows 2012 server, with update 11.Regards,MarkMessage was edited by: tribule
Is there a particular folder within coldfusion that scheduled tasks that i create has to be stored?
Hi, I'm in charge of supporting a legacy application that works with Coldfusion 9.0.1, it has a datasource that was pointing to a postgres 9 database, recently the database was upgraded to postgres 15, when making queries it works fine, but when trying to save or run certain functions I get the following error: "The root cause was that: org.postgresql.util.PSQLException: This ResultSet is closed." Any help is much appreciated
We recently purchased 6 licenses for CF2021 Standard with the understanding that 1 license covers 2 cores, and we're intending to install this on 6 virtual machines configured with 1 socket/2 virtual processors (2 cores). Unfortunately, I didn't realize that two of my servers were configured with 4 cores (2 sockets/4 virtual processors) when I did my first installations. The License Usage tracking showed them as activated with 4 cores. I had my sys admin restart the servers with 2 cores each (verified in Windows) and then deactivated and uninstalled CF2021 from each one. I thought that by reinstalling, they would "reset", get a new device ID and activate with the correct number of cores. However, after reinstalling, they still show up with the same device ID and are now "re"-activated, still with 4 cores. My worry is that by each using up twice as many cores as they actually have, I'm going to run out of licenses before I can get all my servers insta
RedHat Linux 7: Coldfusion Server fails to start after Applying Coldfusion 2018 Hotfix 16
Hi, this is a code block for a widget that displays several other items bought together when purchasing the current item on display on the web page. For some reason it only shows just 9(marked red)/22 of the items in it. Below this image, you'll also find the the other code blocks it connects to. I don't think the issue lays there as it's also connected to other products on the site and it displays every item within the file for those. Please advise on what it could be, I've been staring at it for too long. Root
Hi All,I tried to configure the websocket proxy on Linux with this following command[joseph@ip-10-0-0-22 bin]$ sudo java -jar /opt/coldfusion2016/cfusion/lib/wsproxyconfig.jar -ws Apache -dir /etc/httpd/conf -port 8759and I got this error below:Error occurred while running proxy configuration tool. Reason : WebSocket Proxy can be only configured with worker mpm.* Apache:Server version: Apache/2.4.6 (CentOS)Server built: Oct 19 2017 20:39:16* Java:openjdk version "1.8.0_201"OpenJDK Runtime Environment (build 1.8.0_201-b09)OpenJDK 64-Bit Server VM (build 25.201-b09, mixed mode)* Coldfusion 2016version: 2016.0.10.314028Please help.Thank you in advance.Joseph.
We were applying the service releases last night to our recently upgraded Coldfusion 2021 server. We are able to apply service releases up to #4 without any issue, however when I try and apply service release 5 or 6, the application sevice fails to start back up. I even tried to restart it after it stops and it just continues to fail. We have reverted back to service release 4 until we can figure this out. I did notice that the Coldfusion ODBC server and agent dissappeared for a bit after the service release 5 and 6 were applied but then finally showed back up after about 4 or five minutes. I also noticed in my current logs that whenever I restarted the application after a service release update, the service is trying to go out to the adobe license server but fails. We did get the new server serial number validated and applied but we had to do it offline. I don't know if either of these things are causing the main issue, but thought it was wort
We are migrating from Coldfusion 2018 to Coldfusion 2023. We run Enterprise Edition and have multiple instances. For secuity reasons we remove the HTTP listers after creating the instace by removing the connector from <server-dir>/runtime/conf/server.xml<Connector protocol="HTTP/1.1" port="8501" redirectPort="8445" connectionTimeout="20000" />This works fine in Coldfusion 2018 However after doing the same in Coldfusion 2023 the stop and restart actions aren't avaibleAfter adding the conenctor back into <server-dir>/runtime/conf/server.xml <Connector protocol="HTTP/1.1" port="8501" redirectPort="8445" connectionTimeout="20000" /> This the expected actions are avalible. From what i can tell eveything else works ok, including the restart after applying an update. I just wanted to check if I'm doing something wrong or if this a known issue or a bug. Thanks
I am trying to use basic authentication with Solr and ColdFusion but am running into 2 issues. I have done the following: Create a security.json file (https://solr.apache.org/guide/7_2/basic-authentication-plugin.html).Put the security.json file in the C:\ColdFusionAdd-onServices\multicore directory of the ColdFusion server (ColdFusion 2021).Restart the ColdFusion 2021 Add-on Service service. I tested logging into the Solr Admin: http://127.0.0.1:8993/solr/ using the credentials from the security.json file. Anonymous access is now prohibited and I am able to authenticate. Next I did the following: Login to the CFADMIN.Click the Data & Services icon on the left.Click the Solr Server link in the top navigation.Under Advanced Settings enter the credentials from the security.json file into the User name and Password fields.Click the Submit Changes button. Issue 1: The collections are not available in CFADMIN > Data & Services > ColdFusion C
Hi,I am using cfftp to transfer file to ftp server. I am able to upload file around 2 gb but I am not able to upload more then 2 gb file via cfftp coldfusion. I am using chrome browser.The code is under as:<cfftp connection="session.ftpConn"action="open"server="testserver"username="testuser"password="testpassword"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"> <cfif CFFTP.Succeeded><!---<P>Close the connection:---><CFFTP ACTION="close"CONNECTION="session.ftpConn"STOPONERROR="Yes"> what needs to be done for this?
We did an upgrade last night from Coldfusion 2018 to CF 2021. The installation upgrade went fine but now it takes several minutes, 3 to 5 minutes, for the application server to start and sometimes we have to restart it because it fails. The CF administrator is working as well as the website. There is no noticeable performance differences in that part once the cf 2021 app server was running, however, when we tried to start appling the service releases, we only made it up to release 5 before it failed to start back up. Each patch release said it completed without issue but it would just take a while for the app server to reload. The Virtual server has dual CPUs allocated, 8GB of memory, and 30GB of C drive storage space. Does anyone have any suggestions of where to look to find the issue?
Installing ColdFuson 2023, got the step that says "you need to do offline activation" and it is already activated.In theory this server has no internet access - and I did not press any activation buttons anyway.Just wanted to confirm this is nothing to worry about (maybe the ColdFusion elves were busy last night).
Hi folks,I'm working with the Woocommerce API. All my get commands work fine, but the put command returns a 405 error - verb not allowed. I've checked the cfm handlers in IIS, and it's set to allow all, and I do not have WebDEV installed in IIS. Any other suggestions on what to check?Thanks.. Gary
I encountered a strange situation with CFHTTP's behavior while attempting to validate coupon code requests and using the Stripe REST API. Strangely, the first request goes through successfully, but subsequent requests fail with the following error message: "I/O Exception: peer not authenticated." I believe that the problem is not with the cert and even with the target URL, the problem is with the Coldfusion server, Does anyone have a similar experience or have the idea to fix this issue? Here are the system specs. Server Product: ColdFusion (2021 Release)Version: 2021.0.08.330144Tomcat Version: 9.0.60.0Edition: EnterpriseOperating System: Windows Server 2016OS Version: 10.0Update Level: C:/ColdFusion2021/cfusion/lib/updates/chf20210008.jarAdobe Driver Version 5.1.4 (Build 0001)Java Version 11.0.1
We are pleased to announce that we have released the updates for the following ColdFusion versions: ColdFusion (2023 release) Update 3 ColdFusion (2021 release) Update 9 ColdFusion (2018 release) Update 19 In these updates, we’ve fixed a few critical security bugs mentioned in the security bulletin, APSB23-47.For more information, see the tech notes below: ColdFusion (2023 release) Update 3 ColdFusion (2021 release) Update 9 ColdFusion (2018 release) Update 19 Please update your ColdFusion versions and provide us with your valuable feedback.
I recently migrated from CF2018 to CF2021, for a windows server.When I tried to uninstall CF2018, I restarted the server, and Apache would not start after this. I checked the Event Viewer, at in stated that it could not find the mod_jk_vhost.conf file. I thought too fix this issue, all I had to do, was change the path it wanted, from the old, non existant CF2018 path, to the CF2021 path, but there is no wsconfig folder, in CF2021/config/To "fix" this, I restored the CF2018 folder, and changed some paths in the .conf files in the older version, to point to the newer version.Now, everything works, but this is not a long term fix.Is the solution, just too copy the wsconfig folder, to CF2021?Or is there an installer or zip folder I forgot to include, when I migrated?Is this because of my lack of understanding on how Apache and ColdFusion work?I thought I configured the connection between Apache and ColdFusion, when I ran the "wsproxyconfig.exe", thats under CF2021/cfusion/bin, and adding t
Hi All, Has anyone trying sending SMS using CF SMS Gateway in unicode? Basically I did all the documentation said about setting the dataCoding to 8 and sending the actual text to the server (Clickatell SMPP Gateway). If I send it to Australia it's easily working. But for some destination such as china and korea, Clickatell doesn't support for setting up the sender id field. (which is a bit stupid i think, because i'm only using normal mobile phone number and they don't support it). That means the company will set up the sender id for me. (and that's only for some provider) This is however brings me another problem such as, I don't know which provider my clients are belong to. The weird thing is when I asked for the delivery receipt from the server it gives me delivery back with the dataCoding 0 and err = 1 (message length is invalid). This is also happens even though I send only about 6 or 7 characters long (unicode). Any help will be greatly appreciated.
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.