The official community for ColdFusion.
Recently active
I’m adding Windows Authentication to an existing app. There’s a complete test environment with AD setup on a Windows 2019 Server and a separate IIS 10 server connected to the windows domain. Windows Authentication is turned on in IIS. I access the website (using Edge) and the browser correctly prompts the user to log on. I enter a valid (domain) username and password, which the browser accepts. The only way I know of to get the username, which was entered into the browser prompt, is to use CFLOGIN. In Application.cfc, onRequestStart was modified. CFLOGIN is supposed to be defined at this point and CFLOGIN.Name should contain the username.However, I'm getting an error that CFLOGIN is not defined.What am I doing wrong? Has anyone gotten CFLOGIN to work using Windows Authentication on Windows 20019?I couple of things I've tried are: i) Make CF run under a domain account and ii) Changing security on the web root so that all domain users have read access.Thanks,Mike
Hello, When will Adobe CF support matrix offer SQL 2022 compatability? Thanks in advance, Carl.
I have some questions regarding large file uploads and memory usage. Maybe sombody has some more info on this. I am working with CF 2021 and IIS 10. I just finished troubleshooting a problem with large file uploads in a multipart form post. Anything larger then 200mb was failing with an internal server error. It turns out that setting max post size is not enough, I also have to set the request throttle memory setting to a value larger then the max file size I want to upload. This is really probematic because it actually seems to load the file into memory as it uploads, and it takes up the memory for the entire duration of the upload. Is this really the way uploads have to work in CF? It seems really stupid. Is there any other way I can allow large file uploads without having to potentialy tie up so much memory?
Is there some sort of integration (maybe third party) that allows for building out nice JS/HTML dashboards using Coldfusion for server side?
I was using cfhtmltopdf with coldfusion11 After migration to coldfusion2021, I need to update my code to force charset otherwise special characters are no more displayed. Just adding <meta charset="iso-8859-1"> at the beginning of html code to be converted to pdf. Is there any configuration to be done in jetty or coldfusion jvm to avoid such modification ?
Hello! I just bought a new computer so that I'd have more space for my projects, and I realized that when I sign in with the same account on the new device, my files don't transfer. Is it possible to transfer them somehow? (Old device is a Mac and new is a Windows).
I am using coldfusion builder 2018 to develop mobile application and 2021 coldfusion standard edition. I have developed a very simple mobile app which uses features like GPS, FILE, CONTACTS and CAMERA. When application is installed in android emulator and executes, camera doesnt work. When i see permissions, all are present except camera. Please advise whats missing.All build logs are attached with this post.
Hi, I read that you can disable JSP at least on CF 9 - https://www.3gpp2.org/cfdocs/htmldocs/Installing/WSf01dbd23413dda0e5753779b11fae614009-8000.html by commenting out <!-- <servlet-mapping> <servlet-name>JspLicenseServlet</servlet-name> <url-pattern>*.jsp</url-pattern> </servlet-mapping> --> in cf_root\WEB-INF\web.xml.We are using the same website to host CF and Confluence (confluence runs jsp) with a URL rewrite rule to redirect to a different port which works fine as long as the url does not have .jsp in it... but if the url does have .jsp in it CF takes over and tries to process the page so we want to disabke CF from taking over.The issue is that I can't find JspLicenseServlet in cf_root\WEB-INF\web.xml.Our web.xml is attached.
It's that time of the year when we release a sneak peek of what ColdFusion has in store for you for its next major release. As usual, we are reaching out to you for initial feedback on how we can shape the future of ColdFusion. Project Fortuna is power packed and comes with several features, like: GCP Storage GCP Firestore GCP PubSub Central Config Server Several bug fixes Needless to say, these features are works in progress, and we are relying on your feedback to make these features bulletproof. Sign in to the Adobe Prerelease Forum and test drive Project Fortuna. Your feedback and effort will go a long way in making ColdFusion the platform of choice. What the forum contains We have Linux and Windows versions of CF, .NET integration installer, Docker Image (ubuntu), VS Code Extension (adds support for CF Fortuna), and Documentation. There is also a "bugs fixed & known issues" file. Wear your testing hats and let's keep the conversation flowing.
Most of the instructions online are retrieval and inserting new data on an existing database. I setup coldfusion builder and was able to add a datasource through the coldfsuion administrator. I am just trying to figure out how to create new tables in that new database. Any help would be much appreciated. Thank you.
I recently inherited a website that is cold fusion. There are some menu items that need to be removed because the pages are now defunct. For example, there is a support option in the menu that leads to a PayPal option which no longer exists. When I go to the manager group option is logged in as primary administrator, there is no way to remove that option from the menu. How do I get rid of this stuff?
Hi all, I'm trying to help a partner with its client regarding CF 2021 coexisting with CF 2016. The client do not want to migrate, but wants to be able to continue to use CF 2016 while start new projects in CF 2021. The documentation (last updated in April 27, 2021 - see below) says that CF 2018 can coexist with earlier versions, but I couldn't find anything related to the 2021 version. I'd assume this is possible, but I'd rather check with experts instead of assuming. I appreciate your help. Best,
When using htmal select tag I can show a message on the first option attribute to the user, such as: Please select a country :<fieldset><select name="Countries" class="stylebox" id="Country" required> <option value="">Select your Country</option> <CFOUTPUT QUERY="GetCountries"> <option value="#GetCountries.country#">#GetCountries.country#</option> </CFOUTPUT></select></fieldset> Is it possible to do the same thing with cfselect and how? I put down my message in the message attribute of cfselect but it doesn't work. Here is my code:<fieldset><cfselect name="Countries" query="GetCountries" value="Country" required="True" multiple="No" size="1" class="stylebox" ></cfselect></fieldset>
Hello So I have a page and when it loads I would like to have it insert into a table if a record is matched. In the body I have this: <cfquery name="countlookup" Datasource="#application.datasource#" dbtype="ODBC">SELECT id as idlxFROM usercount</cfquery><cfset idl = #countlookup.idlx#><cfif #idl# eq '449'><cfquery name="countlookup450" Datasource="#application.datasource#" dbtype="ODBC">INSERT INTO usercount (id)values (450)</cfquery></cfif>Issue I'm seeing is the page loads and doesn't insert anything in the usercount table. What am I messing up? I'm using Coldfusion 2021 woth SQL 2019. Thanks
Hello -I am using CF 2021 with Windows ser2016I'm attempting to run this simple .cfm from repl but I can't do it. Here's the .cfm. It's called test0.cfm<cfscript> writeOutput("Hello World");CLI.writeLn("");CLI.writeLn("Hello World using cli.writeLn); </cfscript> When I run it from repl I get the following error:cf-cli>test0.cfmcoldfusion.compiler.CFMLParserBase$UnterminatedStringException: The string is not closed. I thought I was able to use tags according to this article https://coldfusion.adobe.com/2018/07/repl-coldfusion-2018-release/
Hello I'm trying to run a report cfr and I keep getting this error:Error at line 4 char 226: net.sf.jasperreports.engine.xml.JasperDesignFactoryIs there soemthing I need to install? I'm using CF 2021 and SQL. Format the report is using is a pdf.Thanks
Error Executing Database Query.[Macromedia][SQLServer JDBC Driver]An SSL socket connection could not be established because JRE 1.4 or above is required.Windows VM running SQL from Microsoft Azure. Having used CF for 20 years, moved to a new venue and established a dev server running CF2021. We are about to spool up prod servers and buy the licence but there was this nagging issue. On restart of windows servers, we would battle for varying periods to get the system up again. Tried restarting services, restarting computer, putting a delayed start on the CF services etc. Eventually found a reproducible method to allow the system to come up each time.By executing the startup sequence as per the image, we can now get our system to start without issue. Now to write a script to automate this by setting services to manually then starting in the correct sequence.VM is on aged hardware (10 years old) but abundant resources. There is going to be a lot
After CF11 is installed I see that Node.js has been installed too, Is that the expected behavior? (Using ColdFusion_11_WWEJ_win64.exe installer and Windows 8.1 Pro)
Does anyone know of a free or 'cheap' barcode generator that will work with CF?
To whom it may concern: I am trying to activate Adobe ColdFusion 2021 on a Windows Server, running in an environment where the server is restricted from web browser access. For this reason, I was forced to attempt to utilize the offline activation method. Upon doing so, I received the following message: "You cannot activate a Virtual Core license offline. To activate ColdFusion, connect to the internet from your server and retry activation." Is there a workaround for this process? I have 3 additional servers in the coming week that I need to upgrade and this will be a major blocker for my customer.
Due to many politics and things out of my control here, we will be continuing running a public production CF 11 host with no end date in sight. (which is part of those politics - they actually appear to want it to fail) Since it is unsupported and will never be updated, I’m just wondering if there are mitigation steps I can take to ensure even known issues are not available to hackers? Any extraneous services, packages, etc. I can make sure are off/removed, etc.? Appreciate everyone’s feedback.
Hello, I can't remember where in IIS you set up Coldfusion to handle all error codes. When I Googled it people say to use advance in application pool. Only issue is only option sI have in application pool are add and refesh. I have Enable HTTP status codes uncheck in CF admin. Any help would be great. Thanks
In Update 5 of the 2018 release of ColdFusion, the application flag useJavaAsRegexEngine was introduced. If you enable this flag at the application level, you can override the default Regex engine and you can use the Java Regex engine. For example, component { this.useJavaAsRegexEngine=true; } For more information, see Application.cfc variables. You can also enable the option at the serve. Enable the option Use Java As Regex Engine, located in Server Settings > Settings of the ColdFusion Administrator. For more information, see Using the ColdFusion Administrator. For example, using the default Perl-regex engine, you can write the following snippet: <cfscript> writeOutput(refind("[[:digit:]]","abc 456 ABC 789? Paraguay for $99 airfare!")) // Returns 5 </cfscript> After you enable the flag useJavaAsRegexEngine, you can rewrite the snippet above as follows:
Hello, I just upgraded a server to use Coldfusion Builder 2018 to edit CFR files. Issue I'm seeing is it can't figure out the coding and opens them I think as raw data (see pic). What do I need to do in order to see them correctly. The old version of Coldfusion Builder was for CF10. So it's pretty old.Thanks
Hi, I have a server running CF2018 and we have just purchased the CF2021 (both enterprise versions). In previous versions of CF I could install two different version on the same server. I think this is still possible but has anyone got any advice/guidance on the best way to do it? The CF2018 has production initativies running on it. My plan was to install CF2021, configure, secure, migrate and then eventually unintall CF2018 once happy all is running well. Thanks Peter
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.