새로운 Adobe 커뮤니티에 오신 것을 환영합니다.
Questions
최근 활동
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
In building out a new server for ColdFusion 2021, I migrated code running on CF2016 which is returning a strange error. One of my GET REST services which calls another using cfhttp is returning the following: { Message: "JSON parsing failure at character 1:'<' in <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="https://myservername.ddns.net/rest/services/grantPermission">here</a>.</p> <hr> <address>Apache/2.4.52 (Ubuntu) Server at myservername.ddns.net Port 80</address> </body></html>" } What makes this even stranger is the fact that there is no redirect in either service.See the below snippet of error from the exception log:"Error","ajp-nio-127.0.0.1-8020-exec-2","04/21/23","18:57:09","","HTTP 500 Internal Server Error" coldfusion.rest.meth
We had a new linux vm built (RHEL 9) and installed CF2023. We migrated the settings (.car file) from the existing CF2021 and trying to get it up and running. So far we are good with admin console and app folder migrations. But we could get the datasource connection working. The issue we are seeing is when trying to verify an oracle datasource. (using macromedia.jd bc.oracle.OracleDnver) Connection verification failed for datasource:ptcltst java.sqI.SQLException: Timed out trying to establish connectionWe have checked network connectivity between the cf 2023 server and the orace database on port 1521 and it successfull but it fails in the admin console with above error. There is nothing being recd at the target oracle db.When we try the same connection from CF2021 server admin console, we are able to connect and oracle is able to recieve the connection info20-NOV-2024 15:00:22 * (CONNECT_DATA=(SERVICE_NAME=tstdb)(CID=(PROGR
A machine running ColdFusion 2021 Developer Edition has sandbox security enabled and the ColdFusion Lockdown Tool run. The following sandbox File/Dirs permissions have been granted: %cfusion-root%/tmpCache/CFFileServlet/_cf_chart Read,Write,Delete%cfusion-root%/tmpCache/CFFileServlet/_cf_chart/* Read,Write,Delete A chart created using cfchart is causing a NullPointerException to be thrown (stack trace shown below), seemingly in the method call setUpWatermark(). Activating the server or disabling the sandbox causes the cfchart image to be displayed. In the latter case, the Not For Production Use watermark is shown. Does anyone know what changes are required (perhaps additional sandbox permissions?) so the cfchart-generated image is displayed when sandbox security is enabled on a machine running the Developer Edition? Thanks in advance. java.lang.NullPointerException at coldfusion.graph.InteractiveChart.setUpWatermar
The wait is finally over! ColdFusion (2025 release) is now live and generally available! What’s New in ColdFusion 2025? New licensing With the release of ColdFusion (2025 release), Adobe has transitioned from a traditional serial key-based licensing model to a subscription-based licensing mode. About ColdFusion's new licensing method Named User Licensing Feature Restricted Licensing: Online Offline Isolated New spreadsheet and CSV functions Support for streaming spreadsheets, 30+ new methods for cell and sheet properties, and methods to read or write CSV files. For details and a list, see What's New in ColdFusion (2025 release). Language enhancements See Language enhancements in ColdFusion 2025. New functions and tags listGetDuplicates structValueArray cfchartset getCSPNonce interruptThread isThreadInterrupted getPropertyString getPropertyFile setPropertyString Deprecations and removals View Deprecated and removed features in ColdFusion
I'm migrating from cf2021 Standard to cf2023 Standard and have a snag. If I try to utilize an ajax component it is throwing this error. It appears to be utilizing my virtual host as the location for the coldfusion scripts instead of the coldfusion install. I'm using RHEL9 with apache. Ajax component activates this path looking for what to do.http://<URL>/cf2023_scripts/ajax/package/cfajax.js
Where can I give Mock test for ColdFusion certification exam?
We're upgrading from Coldfusion 2016 to 2023 for development on our laptops. We are attempting to make 2023 a silent install zip package. I've used the instructions here and was able to get into CFAdmin: https://helpx.adobe.com/coldfusion/using/install-coldfusion-zip.html The admin is running on port 8500. However, I can't manage to see any other files in http://localhost:8600/ besides the usual CFIDE, cf_scripts, restplay, and crossdomain.xml.In 2016 from what I remember, we just put our application files in wwwroot and didn't have to do anything else. So I'm not sure if the zip installer installs the built in webserver? Or maybe it doesn't enable it? My server.xml looks just like the 2016 version. I'm at a loss.
Hi, all. I recently asked about Log4j vulnerabilities in CF2023, and learned that there are not any known at this time. Now, I need to ask whether CF2021, Update 18 has any Log4j vulnerabilities. The main reason I ask is because I have CF2021 Update 13 installed locally, and when I match the files that @Charlie Arehart mentioned in one of his linked articles, I find that of the files he indicates should exist in (CF_Home)/lib folder prior to file replacement with 2.17.1 versions:log4j-core-2.16.0.jarlog4j-api-2.16.0.jarlog4j-to-slf4j-2.16.0.jarMy directory has only these unversioned files (with no corresponding file for log4j-to-slf4j)log4j-core.jarlog4j-api.jar Possibly the files I have are version 2.16.0, although not named as such? I'm not sure how to check the versions programmatically, and I don't see that the installed Log4j versions are listed anywhere in the CF Admin. In a nutshell, will updating to CF2021 Update 18 remove all known Log4
Does Adobe still provide Java JRE downloads? I need Java 17.0.14 and can't find it anywhere
I am running an environment with a ColdFusion 2023 application on one instance (call it Prime) and two additional instances set up as developer copies (Dev1 and Dev2). Each instance points to its own copy of the application source repository, so developers can work on their own isolated copy in their Dev sandboxes and restart or whatever without affecting the Prime instance. Each instance maps /component_root to the appropriate local repository location in Server Settings for that instance: Prime--> /component_root = /prime/wwwroot/component/Dev1--> /component_root = /dev1_repository/wwwroot/component/Dev2--> /component_root = /dev2_repository/wwwroot/component/ The code is supposed to use the mapping to call the correct version of the component for the instance: <cfset variables.SomeComponentCFC = CreateObject("component", "component_root.SomeComponent") /> However, what I'm seeing is that ALL instances come up with the P
I have a table with UNIX timestamps. I’d like to get a count of events for “today”. So I’d like the query to find any event between 1 second after midnight and now. I’m using this on a forum to see if we reached our goal number of posts per day. Before I reinvent the wheel in a very painful 🙂 (for me) and sloppy way, I wanted to see if you professionals had any advice. Please keep in mind, I am not a programmer. Thank you!
Hi, everyone! It looks like ColdFusion 2025 was released to general availability today! https://www.adobe.com/products/coldfusion-family.html
<cfscript>test=null ///Variable NULL is undefinedtest1=javaCast("null",""); writeDump(test1); // Variable test1 is undefined</cfscript> Is there a way to make prevent getting the "variable null is undefined" error? If not, then I guess javacast("null", "") is the only alternative. However, when trying to use test1, I get the error "test1 is undefined". Could someone suggest a way of getting around this please?Thank you very much
I need help with an error I can't find an explanation for anywhere. On ColdFusion 2021, I'm trying to delete a column from a query. The query for sure contains the column I am trying to delete, as you can see from the code snippet, which works otherwise when I comment QueryDeleteColumn. <cftry> <cfset local.newColumnArray = ArrayNew(1)> <cfloop query="Data"> <cfif len(Data.columName)> <cfset ArrayAppend(local.newColumnArray, Data.columName)> <cfelse> <cfset ArrayAppend(local.newColumnArray, otherMethod(Data.differentColumn))> </cfif> </cfloop> <cfset QueryAddColumn(Data,"newColumn","VarChar", local.newColumnArray)> <cfset QueryDeleteColumn(Data,"columName")> <cfcatch type="any"> <cf_mcabort message="xxx [line #cfcatch.tagContext[1].line#]: #CFCATCH.Message#" except="#cfcatch#"> </cfcatch> </cftry> However, when I try do include that call, I get the following erro
I'm trying to deploy a simple CF8 application on Tomcat 5.5 as a WAR file. I've done the export of the app from the CF Admin as a WAR file and copied it over to my Tomcat webapps directory. When I first tried to start Tomcat, I got an error related to the "*.cfml/*" servlet-mappings in web.xml, so I commented those out based on a post I found elsewhere. But now I'm getting this error, and I can't figure out why: javax.servlet.ServletException: Invalid configuration at line 2 in file /usr/local/apache-tomcat-5.5.23/webapps/wishlist/WEB-INF/flex/flex-config.xml - cvc-elt.1: Cannot find the declaration of element 'flex-config'. at flex.server.j2ee.cache.CacheFilter.setupFlexService(CacheFilter.java:93) The flex/flex-config.xml file is there, and line 2 reads: <flex-config xmlns=" http://www.adobe.com/2006/flex-config"> Are there other manual edits I need to make in order to get this to work? If Flex is the problem, can I disable it from being included in the WAR? Has anyone done
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
이미 계정이 있으신가요? 로그인
sso.login.detail.descriptionWithRegistrationLink
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.