The official community for ColdFusion.
Recently active
Hello, I still need the Coldfusion 8 server. I wanted to be asked how to convert an HTML table (dynamically heard) as xlsx, or how to use it? greeting
Will the cffileupload tag get an update with a non-Flash component? Or is this tag depricated along with Flash? https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-f/cffileupload.html A little past half way down the page find "USAGE". SWF is a FLASH based component.
Hi,I was wondering can the actual folder name where coldfusion 2021 installed "ColdFusion" folder be changed to something else for example "coldfusion2021"?Thanks
Within a cfm, I have a script section and the pre-compiler is throwing this error - it is not recognixing that $("#selectname") is valid invalid token at the second ". Any ideas on how to go around the problem?
My company website is using cfClient with device detect to pass metrics on whether customers are using computers, tablets, or smartphones to reserve car rentals. Here is the block we have in our checkout form template:<cfclientsettings detectDevice=true /> <cfclient> <cffunction access="public" name="cfDeviceGroup" returntype="struct" returnformat="json"> <cfreturn {'name'=cfclient.properties.deviceGroupName,'desc'=cfclient.properties.deviceGroupDescription}> </cffunction> </cfclient>This has been working fine in CF2016, but we are starting to migrate to CF2021 and now, loading the page with that code block generates a fatal error:class coldfusion.runtime.NeoBodyContent cannot be cast to class coldfusion.runtime.NeoJspWriter (coldfusion.runtime.NeoBodyContent and coldfusion.runtime.NeoJspWriter are in unnamed module of loader coldfusion.bootstrap.BootstrapClassLoader @21bd128b)Guidance on how we can or should troubleshoot c
Hello folks, We recently installed ColdFusion 2018 on Red Hat Enterprise Linux in our environment and are migrating applications to the new servers. One of our applications uses Solr collections. Unfortunately it looks like Solr isn't running on the new system. It appears to be installed (/opt/coldfusion2018/cfusion/jetty/solr is populated) but it doesn't appear to have spawned any jobs. When I try to create new collections I get the error message, "Unable to retrieve collections from the Search Services. Ensure that you have installed ColdFusion Search Service and it is running." Solr host name: localhostSolr Home: /opt/coldfusion2018/cfusion/jetty/multicore I try to reach {server}:8983/solr and {server}:8991/solr via both browser from my work machine and curl from the server, to no avail. Any thoughts? Do I need to install a separate Solr instance? Thanks.
Hello, good morning everyone.I wonder if the code below will consume coldfusion 9 resources,since we have more than 40 simultaneous users in the routine.<cfoutput query = "qryItens"><cfset obj = createObject ("component", "cfcs.PrestadorPrecoIten"><cfset obj.setid_prestador (id_prestadorItem)><cfset obj.setid_item (id_item)><cfset variables.preco = obj.getPreco ()># variable.preco #</cfoutput>That is, instantiate an object within a loop and the routine is being accessed by 40 users on average.can cold fusion stop?
my knowledge to the crypt functions and the hmac is limited and i am still learning. I am trying to do this of Node JS code to Coldfusion but my results are not the same const getMessageSignature = (path, request, secret, nonce) => { const message = qs.stringify(request); const secret_buffer = new Buffer(secret, 'base64'); const hash = new crypto.createHash('sha256'); const hmac = new crypto.createHmac('sha512', secret_buffer); const hash_digest = hash.update(nonce + message).digest('binary'); const hmac_digest = hmac.update(path + hash_digest, 'binary').digest('base64'); return hmac_digest; };and i did some try in Coldfusion but i am not able to get right results <cfset nonce = createobject("java","java.lang.System").currentTimeMillis()> <cfset string_to_sign = "/0/private/TradeBalance" & hash(nonce, "SHA-512", "UTF-8")> <cfset api_sign = tobase64(hmac(string_to_sign, "#secret_key#", "HMACSHA256"))>
Hello, I just installed the January Microsoft updates for Windows Server 2012R2 and now ColdFusion 2016 ( with level 16 patch ) will not start. Please help, this is a production system for state Government! Here is the info from the logs. I have tried restarting the server 4 times. Funny thing is that the server log says ColdFusion application server was started. Thanks for any help you can give! When I try to start the Application Server from Windows Services it times out and gives the following response. "Windows could not start the ColdFusion 2016 Application Server services on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion. Here is the coldfusion-error log:Jan 24, 2021 7:22:07 AM org.apache.catalina.core.AprLifecycleListener lifecycleEventINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\ColdFusion2016\cfusion\
I am wondering if anyone found success running CF Performance Monitoring Toolset (2021 specifically) in kubernetes. I am asking about two things specifically:- Were you able to get autodiscover to work? I think I am having an issue with multicast and RKE with multiple nodes. I believe this to be a networking issue and NOT a PMT issue, since autodiscover works great for me in Dev (single kubernetes node).- Is there any option for updating the password for PMT at container runtime? I looked at the official docker image but didn't see a way to set a user/password via env var. I did see a bin/passwordreset.sh but it seams to be a TUI script and from a quick glance it doesn't take a user/pass as arguments.Beyond updating the password, I wasn't able to find any options for updating PMT configurations in an automated fashion, besides the handful of env vars from the official container image (which I am using and did help me), but maybe I missed a file/document so
I am following the instructions here:https://developer.paypal.com/docs/checkout/integrate/#5-capture-the-transactionAnd when I get to step 6.2 to verify the transaction on the server side I am not sure what to do. Do I need to install something on the server if I am using the javascript code shown?Cheers!
I'm using ColdFusion 2018, Oracle 12c, and IIS 10. I setup a page to upload Microsoft Word files with a DOCX file extension into a BLOB field into the database. When I use the website to open the file all I see is the text. The problem is I do not see any images that were pasted into the file before it was uploaded. In IIS there is a MIME Type of DOCX. The upload query is similar to:<cfquery datasource="my_dsn">INSERT INTO my_db_table (File_Name,File_Content)VALUES (<CfQueryParam CfSqlType="cf_sql_varchar" value="#File_Name_Value#">,<CfQueryParam CfSqlType="cf_sql_blob" value="#File_Content_Value#">,)</cfquery> The query to get the file from the database is similar to:<cfquery datasource="my_dsn" name="my_query">SELECT File_Name, File_ContentFROM my_db_tableWHERE File_Id = "#File_Id_Value#"</cfquery>
Having trouble getting GoogleBot or Bing to crawl through pages on a website. For some reason when you use Google Console or Bing Webmaster tools the crawlers timeout or get kicked from the site and i receive the error of "Page cannot be reached". I've ensured robots.txt is not blocking the crawlers as well as no firewall is blocking them and IIS is allowing them into the page as the log files for the site sees the bot talking to it.ColdFusion is in lockdown.I've looked through the log files and haven't found anything to point to the crawlers getting booted.Any suggestions would be greatly appreciated.
Hi, We want to explore the option of running Adobe Coldfusion in AWS on a EC2 instance. Currently we run CF on RHEL 6/7 on premise. Is there any information/documentation regarding AWS and CF? I would it appreciate if any other community members can share there experience? Thank you.
I am working with a SOAP request in coldfusion. When the code I have is run from a .CFM file, it works. If it is run from a .CFC file, it doesn't work. The code is the same as far as possible (the .CFC needs the cfcomponent and cffunction tags for example). Why would it work from one and not the other? When I call it from the CFC page I get the error Unable to determine MIME type of file. Does anyone have any idea why this might be happening? The SOAP request is identical on both pages. The call with the CFHTTP as well as all the CFHTTPPARAMs are the same as well.
I need to know the latest version of JVM and Tomcat for Cold Fusion 2016 Currently I am using JVM: 11.0.6+8-LTS looking at upgrading to JVM 11.0.7 As well as upgrading from Tomcat 8.5.42 to Tomcat 8.5.55
Hi,I enabled encryption on a varchar column in database MS SQL 2019. Now, CF application is generating an error ByteArray objects cannot be converted to strings. How to enable or register encryption for this database in the CF 2016 server?Thank you in advance,
Hi All I'm trying to find some help / pointers to create a work/schedule/calendar section for my website. I need 1 month across the top and my resources/programmers down the left. Quite a simple layout but I've been struggling for 4-5 days, any help/pointers etc. would be gratefully received. ThanksGary
The small Australian organisation I consult for has a problem. The CF application I created for them some 8 or 9 years ago and which they have been happily using ever since, seems to have reverted to the developer version thus restricting them to a single workstation for the application when they need 3 or 4. We originally purchased CF8 and in 2018 moved to CF9 but we have no idea what our CF serial number is and therefore can't correct the situation. I have spent a fair amout of time trying to figure out how this situation arose without finding an answer. How can we find out what our serial number is?
Hello everybody!I'm posting this here to have a place to gather any information about using Postgres 12 with the most recent releases of Coldfusion. In our current environment (Postgres 12 and CF2018), we are getting errors thrown by Postgres indicating a very mismatch between the client (CF's JDBC Postgres driver) and our Postgres 12 database server. We do not see these errors when connecting to our Postgres 11 server. I will document here our updating attempts to resolve this issue. First, we will update to CF2021. This may resolve the issue, but I'm not optimistic as the support matrix only says Postgres 11. If that does not succeed, we will try simply replacing the jdbc driver jar and test that. Hopefully it won't break coldfusion and will resolve the errors. If anyone else has done this, I'd love to hear how your experience went. If anyone from Adobe has any advice or news on if/when Postgres 12 will be officially supported, that would be great to have!thanks, everyone!
Moved from an old laptop to a new Surface computer. Trying to connect my Localhost (127.0.0.1) installation on Windows 10 on the IIs server to my existing MySQL database. CF Administrator works fine, as do my CF templates (except for queries, of course). Got this message:"The standalone MySQL JDBC driver is no longer shipped with ColdFusion.Please download it, put it in cf_root/lib folder and restart ColdFusion."1. Where to I get the correct MySQL JDBC driver?2. Does is go under C:\ColdFusion2021\cfusion\lib ?Thanks in advance.
Hi i have an value: 20191111153402IT is: YYYYMMDDHHMMSSHow can i convert it in an mysql DATETIME Format? Anybody an idea? Kindly RegardsThorsten
What could possible go wrong, right? Since we bought CF 2021 I googled "coldfusion download" which took me here https://www.adobe.com/support/coldfusion/downloads.htmlUm, no Linux 64bit installer? Ok, so I logged into my adobe account and got here: https://www.adobe.com/products/coldfusion/download-trial/try.htmlActually, I don't want to try it 30 days ... we already purchased it ... now I need to fill in a marketing survey?! REALLY?Well, ... after hitting the "Download" button I got to a page with some getting started content, but no download. I tried a few times with mostly random answers to the survey. Frustrating ... Turns out the download doesn't start in Chrome 87 so I needed to switch to Safari browser to get the ColdFusion_2021_GUI_WWEJ_linux64.bin Ok, since I want to update our CF docker image which we use for development I searched for silent installation properties.https://helpx.adobe.com/de/coldfusion/using/install-coldfusion-2021.html#Sil
I am having an issue with the square API and want to make sure I'm not doing something stupid. Here's my code: <cfset stFields = { "order": { "idempotency_key": "xxxxxx-215d-4dce-b92a-90c306eb5eba", "location_id": "xxxxxx", "total_money": { "amount": 99999, "currency_code": "USD" }, "order": { "location_id": "xxxxx", "customer_id": "asdasd" } }, "idempotency_key": "xxxxxx-215d-4dce-b92a-90c306eb5eba", "ask_for_shipping_address": false, "merchant_support_email": "consectetur@loremipsum.com", "redirect_url": "https://abc.com" } > I keep getting the error: {"errors":[{"category":"INVALID_REQUEST_ERROR","code":"VALUE_TOO_LOW","detail":"`order.total_money.amount` must be greater than 1.","field":"order.total_money.amount"}]}Yet... It looks to me like there's a value... Any ideas???
We have just recently updated from CF11 to CF2018.One thing we do often as we develop is use CFDUMP to view the contents of variables and objects as we're coding. We've grown quite fond of ColdFusion's neat little CFDUMP tables that make viewing objects so convenient such as this little example:However, since installing CF2018, CF when we use a CFDUMP inside a CFC we no longer get this nice view. We get a plain old HTML table that's much harder to read..especially as the objects grow much larger:Viewing the source code of the dumped page, CF is not inserting the CSS nor JS for it's CFDUMP tables when used within a CFC. Everything is fine if the CFDUMP is used on a CFM page. This was not a problem in CF11 nor any version prior.Any ideas how to get CF to 'dump' out the CSS and JS when used in a CFC?
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.