The official community for ColdFusion.
Recently active
I am unable to create a CF Server in Visual Studio Code Adobe ColdFusion Builder Extension. Configuration and steps are listed below I followed during installation: Environment installing on Operating: System MacOS Monterey (version 12.6) Processor: 4 GHz Quad-Core Intel Core i7 (Late 2015) Visual Studio Code Version 1.72.0 Coldfusion Builder Extension version 1.0.443 Java(TM) SE Runtime Environment 18.9 (build 11.0.16+11-LTS-199) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16+11-LTS-199, mixed mode) System requirements macOS: macOS 12. Java 11 as the recommended JDK. Version 1.68 of VS Code or above. MACOS Installation Note: macOS 10.15 Catalina and above uses zsh shell. I followed steps below using both the Terminal Windows in VS Code, (when it did not appear to work work) then I tried again using the Mac’s Terminal Window) zsh shell Downloaded and installed (jdk-11.0.16_macos-x64_bin.dmg) Created zsh environment file: touch ~/.zshenv Located th
On ColdFusion 2016 local developer edition running SQL Server 2022 I cannot set up my datasource and getting the following error: "Connection verification failed for data source: XXXYYYjava.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database "aveglass" requested by the login. The login failed.The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database "aveglass" requested by the login. The login failed." I can query the database successfully directly in the SSMS. Checked permissions, other settings. Using Windows authentication.
I have an application client side both in php and cf code which does simliar things. Both post to cf server 2021 upadate 18. i believe the update 18 is cuasing the issue but i would have to roll back to 17 to test this. In my logs everything was fine until 2/20/2025 and in my installer downloads on the CF server i see on 2/19 i downloaded update 18 so i assume it was intalled on the 19th or early on 20th of feb. Every since then I have the problem. I am not 100% certain that is the issue but if that makes sense to anyone let me know. Now for the issue. To be clear If i encrypt on a CF server which front end app is (also update 18) and then decrpt on 2nd CF server update 18th this still works even after update 18 installed on 2/20. My issue is with PHP front end. I am encrypting with php page and posting to cf server (same one as the cf front end app) and this now does not work. Both php and cf front end worked fine before update 18. For Cf front end i am using basic: function
Hi All,Is there a way to make the SonarQube for vscode extension (https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarlint-vscode) work with .cfm files? Thank you
Cant connect Adobe Admin Panel my MariaDB. i have to connect to an external Database. its a MariaDB 11.4.4. Versioni only have in the admin to select :Apache Derby ClientApache Derby EmbeddedMicrosoft SQL ServerMysql (DataDirect)Mysql 5otherPostgeSQL How i can connect to MariaDB 11.4.4Where i can find the KDBC Connector to download. on MariaDB Site i cant find a .JAR file like Mysql....Who can help me? Kindly Regards Thorsten I have Coldfusion 2016 , Ubuntu 18
Since an update was made on where my site is being hosted, i can't get the URL's to work. Unfortunately my site was written over 20 years ago (not by me) , i do have experience with HTML and CSS, but cold fusion....well no. From what I have seen is that it has something to do with Scoped Variables. The URL's are showing in the browser, but it remains on the homepage. I'm using a page to control most of my nav. So for example<a href="./inc_executive.cfm?show=executive">Executive & Coaches</a> simply resets to the homepage.Any help or suggestions would be appreciatedThanks
Part of my app provides various email content pages, which are called and populated with data, then prepared for sending through Postmark. In the following case, when a user shows interest in a job, s/he clicks a button labelled "Chase Job" which ultimate results in an email being sent to the job owner. When that button is clicked, jQuery handles it as follows: $('#chase-form .btnChase').on("click",function(e){ var clickedID = $(this).attr("id"); var chase = clickedID.split("_")[1]; var user_id = clickedID.split("_")[2]; var listing_id = clickedID.split("_")[3]; var message = $('#intro-message').val(); $(this).prop('disabled', true); jQuery.getJSON("/cfcs/listing.cfc?method=chaseJob&returnformat=json",{"chase":chase,"user_id":user_id,"listing_id":listing_id,"status":status,"message":message},function(res,code){ if(res == 1){ top.location.reload(true); } $('#chase-form .btnChase').removeAttr("disabled"); }); re
We have a shared cfc file that builds html elements, one of which calls a separate function in the file that builds a bound selection box. While testing a newer version of CF in our Dev environment we had been utilizing the following flag in our server settings:Encryption - = -Dcoldfusion.encryption.useCFMX_COMPATAsDefaultOnce we removed the flag, our bind element returns a 404 error, I assume due to the updated encryption in recent CF releases. Is there anything that needs to be done to make sure cfdiv bind will work with the udpated encryption?
How to download cf2023 installer for migrating from cf20221 to cf 2023. CF trail version download no allows only cf2025 download.
I am trying to set a .cfm file insde of an iframe. within a .net website.It was working fine using CF 2016 but now that I am using CF 2023 it doesn't work anymore... thoughts?this is the page: https://www.transducertechniques.com/track-order.cfmThis is the page in an iframe - it throws a 404 errorhttps://www.transducertechniques.com/track-your-order.aspxhere is the iframe. I used it with and without the full URL<iframe id="locator" src="https://www.transducertechniques.com/track-order.cfm" frameborder="0" scrolling="no" width="100%" height="243"></iframe>
Hello all,We were running on Update 11, and have a scheduled task that uses certificate file to connect.Before update it was working fine.Now after update we are getting this: ErrorCode82ErrorTextAlgorithm negotiation fail: algorithmName="cipher.c2s" jschProposal="aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com" serverProposal="aes128-cbc,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc"ReturnValue82 Algorithm negotiation fail: algorithmName="cipher.c2s" jschProposal="aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com" serverProposal="aes128-cbc,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc"SucceededNOSo obviously we are proposing algorithms that the remote server does not support.I cannot find anywhere to allow for aes256-CBC to be used on our end.So how I do I at least enable an algorithm that their server supports???
Hi all. ColdFusion 2021 uses Java 11 and ColdFusion 2023 uses Java 17. Java 11 contained the Nashorn Scripting Engine, which is used in my CF 2021 code to run JavaScript on the back end, but Nashorn was removed from Java 17, so I'm looking for the best way to replace what it did in ColdFusion 2023. Has anyone else successfully done this? Apparently Nashorn is now available as a standalone package but I'm not a Java guy, so I don't know how to get it into a form that ColdFusion can use (maybe a jar file). Would anyone else know how to go about this? Another alternative is the GraalJS scripting engine, which I understand can duplicate what Nashorn did, but again, how can this be put into a ColdFusion-usable library or installation? Any help would be greatly appreciated!
Scheduled tasks on my server are not working. In scheduler.log I get:Connection Failure: Status code unavailableSome more logs: The each method was not found.Either there are no methods with the specified method name and argument types or the each method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity. The specific sequence of files included or processed is: /opt/coldfusion2021/cfusion/wwwroot/CFIDE/administrator/scheduler/tasksstatus.cfc, line: 111Here are the server details
I have HTML code, containing dynamic variables, stored in a database in a field named "data',. An example of raw data in that field would be: <a href="<cfoutput>#application.siteroot#</cfoutput>/?utm_campaign=transactional&utm_source=emails.logo&utm_medium=email"><img src="<cfoutput>#application.siteroot/logo10-180.png"></a> Within a cfc, I have code that sets this data in a <cfcontent> tag as follows: <cfsavecontent variable="emailBody"> <cfoutput>#vData#</cfoutput> </cfsavecontent> However, when I tried to insert "emailBody" into an email and send it, the resulting email does not evaluate the variables in the email body and the email ends up looking like this: What am I doing wrong?
Installed lockdown guide but it destroyed permissions on the websites. Does anyone have a manual lockdown guide for Cold Fusion 2023 Standard Edition?
Here is the log file - The RDP is not enabled but the error says it is and it is a Production install with security: --- Any Thoughts on getting this lockdown tool to work?2025-03-08 22:31:41 INFO - Path:C:\ColdFusion2023\lockdown\cfusion2025-03-08 22:31:41 INFO - LINE_DEBUGGER_ENABLED -> false2025-03-08 22:31:41 INFO - developer_enabled -> false2025-03-08 22:31:41 INFO - REMOTE_INSPECTION_ENABLED -> false2025-03-08 22:31:41 INFO - ajax_enabled -> false2025-03-08 22:31:41 INFO - robust_enabled -> false2025-03-08 22:31:41 INFO - FLASHFORMCOMPILEERRORS -> false2025-03-08 22:31:41 INFO - enabled -> false2025-03-08 22:31:41 INFO - Remote admin component is enabled. Server is not production profile. Please delete the AdminServlet.war from jetty to disable it and try again!2025-03-08 22:31:43 INFO - ColdFusion is running
Am I doing something wrong or is there a bug in ColdFusion 2025? I get this error:Could not find the ColdFusion component or interface http. Ensure that the name is correct and that the component or interface exists.When trying to instantiate an HTTP service object using the cfscript syntax:<cfscript> http = new http(); writeDump(http); abort; </cfscript>This is a fresh ColdFusion 2025 install.
We have application on our server that we are unable to reload or restart when we make changes to the code. We use the URL parameter which does not work with all applications, we try to flush the cache (templates and CFC) in CF administrator page wihc does not quite works. The only thing that works is to restart the actual coldfusion OS service. Is there any tricks that will force the application to restart or reload?CF2021/Linux Centos 7.8
I am testing code that works in CF 11 for an upgrade to CF 2023. I have a component that extends another component and overrides the type of a property in the base component. Here is some simple pseudo code demonstrating the components: Base.cfc: component accessors="true" { property name="myData" type="query"; } Extend.cfc: component extends="Base" accessors="true" { property name="myData" type="array"; public Extend function init() { setmyData([]); return THIS; } } When Extend.init() is called, an error is thrown saying that the value is not of type "query". This code works fine in CF 11. Has something changed since that won't allow this, or, is there a workaround? Thanks, Eric
I have a ColdFusion script that creates a PDF to be sent for archiving. The PDF is created with the following function:<cfdocument format="pdf" orientation="portrait" pagetype="A4" unit="cm" marginbottom="2" margintop="2" filename ="#path#" overwrite="true">The problem is that sometimes the generated file is missing images and instead shows a square with a red 'x' inside. The issue is that the image exists because it is static and present in the filesystem:<img src="../../portale_admin/img/image.png" align="#positioning#"></img>And 99% of the time, it is correctly included. In addition i have a function:<cffunction name="checkImage" returntype="void"> <cfargument name="img_path"> <cfset img_path = ExpandPath("#img_path#")> <cftry> <cfimage action="read" source="#img_path#" name="testImage"> <cfcatch> <cflocation url="/missioni/portale_admin/no_
Recently, Postmark became less forgiving about the stuff people were sending them. I had been using some code 8 years ago from gitHub that prepared and sent email templates via Postmark. I've just dragged that code out again and it is erroring all over town right now. I really hope I've provided enough detail and also hope someone is patient enough to trawl through it. In places throughout the code, I've added comments like "<!--- SEE OUTPUT #2 --->". These refer to various dumps I've added at the bottom to let you see the results of the processing. I also ran some tests using simpler HTML and even plain text, the results of which I've also included at the bottom. Basically, everything I've tried results in the same Postmark error:{""ErrorCode"":403,""Message"":""Invalid request field(s): $.HTMLBody""}So, at this point I'm concluding that the formatting of the JSON for Postmark consumption is going wrong somewhere.If you need any more information, please ask. My pr
<html> <div><p> Hi there</p> </div> </html>Sample code above has whitespace, which I need to get rid of. I've found various examples used in different code settings and tried plugging them into a CF REReplace() function, but nothing has worked so far.e.g. something like this in node var result = html.replace(/>\s+|\s+</g, function(m) { return m.trim(); }); Any help greatly appreciated.
I need to prepare html for sending via the Postmark API.Given the following:<cfset vHTML = "<html><body><div>This is html</div></body></html>">What would be the cleanest way to arrive at:<cfset vPostmarkHTML = "<html>\n<body>\n<div>This is postmark html</div>\n</body>\n</html>">i.e. surround every nested tag group with "\n" except the outer <html> group
Hello - I tried to update my CF2023 on Windows using the CF Admin tool's Package Manager. I clicked on Download and Install, it looks like it downloaded the latest version to the server, according to the updates log, it downloaded Update 12, but the process didn't stop and restart the server.I did that manually, and my account has persmission to access the services, so that shouldn't be an issue.I didn't notice the update to 12 being applied. I am bringing the Server from 6 to 12. I'm just trying to get the updates and the other packages up to spec.I've looked at different update guides... and there is a part of me that get's a little confused as to what files I need to modify and where to point things. As I mentioned that the admin downloaded the file and put it in one directory, but when I follow the updates instructions, and download the zip file, the instructions want me to point to that unzipped directory.. I think.I'm sorry, but trying to mak
Hi,We have certain values (e.g., '1002-1', '1002-2', ... '1002-12') that end up as -1 when added to a spreadsheet via spreadsheetAddRows. Weirdly, '1002-13' is fine. Maybe spreadsheetAddRows is making bad guesses about whether a value is text vs a number? spreadsheetSetCellValue doesn't seem to have the problem. I reproduced the issue in cffiddle, although it looks like CF 2025 is going to fix the problem. This cffiddle link shows the issue: https://cffiddle.org/app/file?filepath=b1d4c4bd-0989-4481-bcd3-46200ec39e7f/f4b909fd-a448-49ff-87da-91f8eb9f4d16/f29fc59a-821f-4481-9ad3-8f32869c6dd4.cfmHas anyone run into this before, and do you happen to have a workaround? thanks, Mark<cfset testArray = [[ 'Bar, Foo', '1002-1', 'G009']]><cfset theSheetObj = SpreadsheetNew("tempSheet",true)><cfset spreadsheetAddRows(theSheetObj, testArray)><cfoutput>#SpreadsheetGetColumnCount(theS
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.