The official community for ColdFusion.
Recently active
Hello - I am having difficulty installing the ajax package. The package I'm trying to install is ajax (2021.0.02.328618) and I've tried using CFAdmin and cfpm. Is there anyone that has run into a similar problem? I'm running CF2021 on Windows server 2016. thanks
A part of a Google pay implementation we need to attach a certificate .PEM file and key to a CFHTTP request. It seems some envoronments like Node can do a HTTP POST and specifiy such files. Is this possible in CFML? Unless we do a CFHTTP POST with a specific .PEM file, the request is rejected. Help appreciated.
Is it possible to throw site wide error of each unique type only once? Using CF 2016 . The website application has on error exception handling mechanism used in Application.cfc. The site encounter ed a SQL injection attempt and numerous error sent like mail flood.Can we handle without using any black list table creation in such a way that the spam kind of mail throw only once in a day? Also, genuine error mails are not prevented.Any suggestion is appreciated.
I have an Azure Container Instance service and deployed the Docker service there. Now ColdFusion server is running on the Docker service. Now I want the ColdFusion log through the Docker and Container Instance.Currently, I mapped between Azure Container Instance and Log Analytics workspace. And I got the Container Instance log. But I can't see the Docker or ColdFusion log.Can anyone help me to get the ColdFusion log using the Azure Container Instance and Docker? Please give me the same example or any documentation.let me know if you want more information.
Is there an upgrade path from ColdFusion 11 to ColdFusion 2021 using an upgrade?
I'm totally stumped! Some users are having a problem with our site because CF can't seem to maintain the session. The users keep saying their browsers are set to accept cookies but CF, for some reason, can't read them. I am having a hard time diagnosing the problem because I can't recreate it. The website is accessed from two domains and the problem is only encountered when someone tries to place something in the shopping cart. The domains are: nottinghillnotes.com nottinghillnotes.co.uk One user was kind enough to spend some of his time helping me. Here's what we have so far... This particular user has Safari on a Mac (we've also received complaints from users with IE 6) He verified his browser is set to accept cookies and even sent me a screenshot... Screenshot 1 - Cookies in the Safari Browser I had the user browse to a test page that just dumps out the cookie structure using the cfdump tag. The request sent to the webserver included the proper cookies. Here is part of
We have been using cffile upload for many years without issue, but we have a problem with text files that get uploaded sometimes with a charset of "utf-8 with BOM". The BOM characters at the beginning of the file are interfering with the processes we do on the file. I don't see a way to change the encoding during the upload process, and I think one option might be to use cffile to read it back, change the charset, then write it back out to disk. I wonder if there is an easier approach... Tom
We are having a great deal of trouble getting a ColdFusion Enterprise web app to upload or download from Azure Blob Storage over TLS/SSL. Storage is connectable by other methods such as remote copy with an SAS key, and is on the same virtual network as the web app service. We have a different instance of the app that was eventually able to connect, upload and download: after a lot of trial and error, we added the server's own certificate and the Root CA of the Blob Storage endpoint's certificate to Azure's TLS/SSL Settings, and suddenly everything worked great. On the problematic server, the security restrictions are a bit tighter, and it uses a different set of certificates; still, we uploaded the certs to the Azure public keystore as we did on the first server, even including all the intermediary CA certs... but nothing helps. The uploads and downloads are handled by a CFC, written for CF2018, that creates Java objects to handle the connections, but the error we're getting from
Hello Everyone, i have been task with something very difficult migrating a Coldfusion 6.1 VM running on a Windows Server 2003 to a Coldfusion 2021 VM running on a Windows Server 2022. Does anyone have any experiece or info on how to do it? Is it even possible? The Old Coldfusion Server:Server Product: ColdFusion MXVersion: 6,1,0,83762Edition: EnterpriseOperating System: Windows 2003OS Version: 5.2Java Version: 1.4.2 The New Server:Operating System: Windows Server 2022OS Build: 20348.643no Coldfusion installed yet
Folks,I've been dealing with a problem over the past month or so with one of my developers where his application is crashing my IIS server's w3wp.exe.Essentially, the application pool keeps crashing and restarting until it hits the limit of crashes within the timeframe allowed, and then stays down - resulting in a 503 error - website unavailable.According to the crash dumps that I've been able to collect - the faulting module in this case is MSVCR110.dll - and it's crashing because it's trying to read from memory that it doesn't have access to. Fault bucket 1896345861034215315, type 4 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: w3wp.exe P2: 10.0.14393.0 P3: 57899b8a P4: MSVCR110.dll P5: 11.0.51106.1 P6: 5098826e P7: c0000005 P8: 0000000000051d70 P9: P10: Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899b8a Faulting module name: MSVCR110.dll, version: 11.0.51106.1, time stamp: 0x5098826e Exception code: 0xc0000005
Hi I have just installed ColdFusion 2021 locally on my Intel based MacBook pro - I am presented with the Configuration and Settings Migration Wizard and I enter my password and I get an error. I am using HomeBrew apache. Intel based Macbook Pro. This is the error I am getting: "Error","http-nio-8500-exec-6","06/12/22","21:15:32","cfadmin","'' The specific sequence of files included or processed is: /Applications/ColdFusion2021/cfusion/wwwroot/CFIDE/Administrator/enter.cfm, line: 598 "coldfusion.security.SecurityManager$UnauthenticatedCredentialsExceptionat coldfusion.security.SecurityManager.getAdminHash(SecurityManager.java:2660)at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.base/java.lang.reflect.Method.invoke(Metho
I'm using application.cfc's onError method to email me any CF exceptions that occur. Using the exception struct provided I'm able to create a somewhat detailed email message, but seems I don't have access to the same info that would normally be displayed in a CF error template, for example I want to see the lines of code that errored, to get that I would need to do a fileread on the template which seems hack-ish. Any better way to get something more like the default error handler?
We are having issues where CFTOKEN and CFID are being passed between our users. When one user clicks on these links their session switches to the sender of the URL. How can I prevent this?I was going to add something to the application.cfc like this.<cfif (CGI.QUERY_STRING) CONTAINS "CFTOKEN"><cflocation url="Log User out and go to the login screen"></cfif>But I am worried that users may legitimately have CFTOKEN and CFID in their working URLs and it would kick them out in that scenario. Though we have added cftoken="no" in all of our cflocation tags.What is the best way to deal with this issue where sessions sometimes (?) are changed when a URL with cftoken or cfid is in the URL.
Hi all, I search for a gateway watching changes in a database (e.g. insertions of records in a table etc), as DirectoryWatcher does in a directory for files when creating / modifing / deleting them. Which of the existing CF gateways fits better to this role? or could fit with some changes???Is out there any custom made CF gateway doing it?? Thanks in advance
I am trying to pass variable values from CFML forms to the Stripe API (Checkout API), but have not been able to find relevant documentation. The data can be passed through hidden variables or by Javascript/Ajax. Does anyone have any useful information on this? Thanks in advance.
I am trying to deploy a CF 11 .car file on CF 18.In the admin, I can browse to the .car file, select it, and click deploy. The screen refreshes but none of the data sources get added? Does CF 18 allow CF 11 .car files?
Does Adobe intend to ever update the main installer for Adobe ColdFusion 2021? Reasoning: The installer as it is includes a log4j vulnerability that some network scanners are detecting. In my environment, the network scanner detected the log4j vulnerability that was present prior to being able to install Update 4 and performing cleanup on the hf-updates directory. Will the installer be updated? Is there a way for an administrator to be able to streamline the update into the initial installation?
I created an Azure Container Instance and Coldfusion 2021 is running on it as a Docker image.The application creates multiple log files. Now I want all these logs to show on Standard Output.I tried symlink but was unable to get those logs to stdout. Can anyone help me? Thanks!
Trying to enable Proxy Websockets in CF2021 admin console. However when I select the Use Proxy radio button the Submit Changes button disappears? anyone encountered the same problem, it seems it maybe dependent on other settings as this behaviour does not happen on my local development version. any help appreciated. Darrell
Environment: Windows CF Version: 2021 Patch 4, single instance.IIS Site The following code (which is everywhere in our codebase), worked in CF2016. variables.newObj = new svc.myobject( config = struct ); WHERE:svc - is a map to our services directoryconfig - is a configuration structure containing various env configuration In CF2021, they're throwing the following error: DetailError information java.lang.NoSuchMethodException: coldfusion.runtime.CFComponent.arrayPushVaradic([Ljava.lang.Object;)MessageUnable to complete CFML to Java translation.StackTracecoldfusion.compiler.CompilerInternalException: Unable to complete CFML to Java translation. at coldfusion.compiler.ASTruntimeCall.getVaradicMethod(ASTruntimeCall.java:618) at coldfusion.compiler.ASTruntimeCall.setMethod(ASTruntimeCall.java:305) at coldfusion.compiler.ExprVisitor.call(ExprVisitor.java:792) at coldfusion.compiler.ExprVisitor.transform(ExprVisitor.java:82) at coldfusion.compile
I am generating a pdf document and on clicking print button , print window should appear, but my page returns blank. Why this happens. What I have did <cfoutput><a href="print.cfm?user_id=#session.sessionUser.user_id#"><i class="fa fa-print"></i></a></cfoutput>print.cfm<cfparam name="user_id" default="v"> <cfset doc_data=createObject("component","components.results")> <cfset data=doc_data.printFunc(user_id)> <cfdocument format="pdf" filename="contact_data.pdf" overwrite="Yes" name="contact_data.pdf"> <cfinclude template="master.cfm"> <h3 class="text-center">Contact List</h3> <table class="table table-bordered"> <thead> <tr> <th>Name</th> <th>Date Of Birth</th> <th>Gender</th> <th>Address</th>
Under Headers in Network tab(Chrome dev tools), I see,Referrer Policy:strict-origin-when-cross-origin
Bonjour,Je programme cette requête souvent avec d'autres fichiers mais là je ne vois pas mon erreur :Bonjour, SELECT * FROM Produits WHERE Pro_ID=#session.Produit# </CFQUERY> SQLSTATE 07002 EXCEPTIONS <small><i>not set</i></small> DATASOURCE soliv_solivresdb VENDORERRORCODE -3010 SQL SELECT * FROM Produits WHERE Pro_ID=1139Merci pour votre aide
Hi, I need to set up analytics to get current site page visits. How do I set it up on Coldfusion? Thanks!
Server: LinuxCodfusion 2018 Update 14 installed from the command line. The update said it completed succesfuly and when tryign to get to the admin page, I get an error that says: The Monitoring Service is not available. Please note: CF is service pages, but I just can't get to the admin. A dump of the server variable confirms that update 14 is installed. Logs:May 13, 2022 18:25:20 PM Information [main] - Starting logging...May 13, 2022 18:25:20 PM Information [main] - Starting license...May 13, 2022 18:25:20 PM Information [main] - Enterprise Edition enabledMay 13, 2022 18:25:20 PM Information [main] - Starting crypto...May 13, 2022 18:25:20 PM Information [main] - 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, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA
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.