The official community for ColdFusion.
Nyligen aktiv
hi guys, what encryption method that ADOBE ColdFusion 11 is used for data source password encryption? Anyone knows? Really appreciated for the answer
I have included the Pubnub-4.0.0.jar file into my webroot.(Pubnub-4.0.0.jar can be downloaded here: https://www.pubnub.com/docs/java/pubnub-java-sdk-v4)I am trying to get the “HERE NOW” java code into my coldfusion project and am having some trouble in doing so.The java code is as follows:PNConfiguration pnConfiguration = new PNConfiguration();pnConfiguration.setSubscribeKey("SubscribeKey") PubNub pubnub = new PubNub(pnConfiguration);pubNub.hereNow() .channels(Arrays.asList("ch1", "ch2", "ch3")) // who is present on those channels? .includeState(true) // include state with request (false by default) .includeUUIDs(true) // if false, only shows occupancy count .async(new PNCallback<PNHereNowResult>() { @2226279 public void onResponse(PNHereNowResult result, PNStatus status) {  
I am running a cfhttp request as follows:<cfhttp url="http://www.thedata.place/dataset/323f337f-8d97-4e39-acf4-dbdb7a7a3fab/resource/911510a9-bd85-409c-bcf4-f4b99a81b3b2/download/pcclibraries4326.geojson" > <!--- JSON data is sometimes distributed as a JavaScript function.The following REReplace functions strip the function wrapper. ---><cfset theData = REReplace(cfhttp.FileContent, "^\s*[[:word:]]*\s*\(\s*","")><cfset theData = REReplace(theData, "\s*\)\s*$", "")><cfset cfData = DeserializeJSON(theData)><cfdump var="#theData#" >This results in:{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "LIBNAME": "Crownhill Library", "ADD1": "Cross Park Road", "ADD2": "Crownhill", "ADD3": "Plymouth", "PCODE": "PL6 5AN", "TEL": "01752 306248", "EMAIL": "Crownhill.Library@plymouth.gov.uk", "WEB": "http:\/\/www.plymouth.gov.uk\/homepa
Windows 2008 R2IIS 7.5ColdFusion 11We just upgraded our production environment from CF10 to CF11. We ran onto some snags with the dev environment on the upgrade, but not this particular issue. The issue seems to be that the default/welcome document is not being honored.Example:If I go to http://server/dir/default.cfm everything is cool, but if I go to http://server/dir/ I get a 404 error.HTTP Error 404.2 - Not FoundThe page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server.Detailed Error Information ModuleIsapiModuleNotificationExecuteRequestHandlerHandlercfmHandlerError Code0x800704ecRequested URLhttp://server:80/default.cfmPhysical PathX:\dir\root\default.cfmLogon MethodAnonymousLogon UserAnonymousNow I have checked/deleted/added the Handler Mappings, ISAPI Filters, and ISAPI and CGI Restrictions until I am half-mad. I have deleted the connector with wsconfig loads of times, and the only thing I see that stands out is in the
Hi Friends,I am knew to CF - 11..I am trying to insert line break after 64 letters and dont know how to change below line. Kindly help. and also if possible please explain below line.<cfset outstr &= Mid(instr,p,64) & #Chr(13)#>Thanks My code as follows.<cfset instr = rereplace(arguments.value,"#chr(10)#","","all")> <cfset instr = rereplace(instr,"#chr(13)#","","all")> <cfset instr =trim(instr)> <cfloop from="1" to="#len(instr)#" index="p" step="64"><cfset outstr &= Mid(instr,p,64) & #Chr(13)#></cfloop>currently I an getting a long string with a space after 64 letters as output.
Hi All,ColdFusion 2016 Update 2 and ColdFusion Builder 2016 Update 2 early access builds are now available for your testing and feedback.What’s new in this UpdateColdFusion 2016 Update 2Struct Serialization and Array Serialization Configure SSL- Access API Manager portals over HTTPS for better encryption and securityCAR settings migration- After deploying a CAR file, some settings are not migrated. You can view the list in the Archive Summary page (under the section Settings Never Migrated) while creating CAR as well as during deploying the CAR.New member functions – ArrayDeleteNoCase, YesNoFormat, and BooleanFormatCKEditor - FCK Editor has been deprecated. You can now customise and design text areas in a form using CK Editor in the cftextarea tag.NTLM changes - The ntlmDomain attribute is required if a user is part of a domain. When the user is not part of a domain, the ntlmDomain attribute is optional.Other bug fixes – API Manager, PDF, language, etc. ColdFusion Builder 2016 Update 2
I have 2 applications, one spring web application and another is a web app written in coldfusion. I want that both the applications can use the same datasource. I'm thinking to install coldfusion 11 server in J2EE configuration and deploy its war (cfusion.war) file, and deploy it in Tomcat as I'm also deploying Spring web app in Tomcat. I've also configured Tomcat to use JNDI datasource. So does my coldfusion app(deployed on coldfusion 11 server) be able to access JNDI datasources configured in Tomcat server.I'm stucked in this, as I'm not a Coldfusion developer, I'm developing a Spring web app and I'm trying to find a way so that both the applications can use the same datasource
I have a Spring web application, there is also a another application written in Coldfusion, I want that both these applications can connect to the same datasource. After searching, I found that Coldfusion 11 server uses Tomcat, so can I deploy my Spring web application in Coldfusion's tomcat and configure JNDI datasources in its context.xml, which can be used by both the applications?
Possible to load both environments on the same Windows workstation? I have several production apps going and I'm a bit nervous about making the jump.Thanks,
Hello , Please raise a ticket with CF to understand why CF service goes down. please create a case with CF and provide below mentioned inputs for ticket. Below are the logs from coldfusion-error.log file. Logs is as below: Apr 13, 2016 2:30:36 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\apps\ColdFusion11\cfusion\lib;D:\apps\ColdFusion11\cfusion\jintegra\bin;D:\apps\ColdFusion11\cfusion\jintegra\bin\international;D:\apps\ColdFusion11\cfusion\lib\oosdk\classes\win Apr 13, 2016 2:30:38 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8014"] Apr 13, 2016 2:30:38 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Apr 13, 2016 2:30:38 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.54 Apr 13, 2016 2
Hi,I'm a beginner developer. I've been playing with PHP for years, but never really advanced my skills beyond the basics I needed.I've found myself in a position where I now need to write three relatively basic apps in the next month or so:1. Quote and invoice system.2. Inventory database.3. Project document viewer with signature capture on mobile devices.Using off the shelf products isn't possible, so at the moment I'm looking at writing these in PHP, learning what I need to as I go along and using existing scripts I've found via Google. However, this could be a lengthy task in each of the above cases. Instead, I'm wondering whether it would be worth investing some time upfront to learn ColdFusion, so that the development process itself is much quicker and potentially easier.Does anybody have any opinions on this please? For/against PHP or ColdFusion?If you believe CF is the way forward, what are the best resources for a beginner learning CF 2016?Any help is mu
I have a type=line cfchart set up with about 16 cfchartseries The problem is that it is they all show up upon loading the cfm, and are making chart look too busy. Can anyone suggest a way to only have a few higher level cfchartseries show up upon loading, and the user can then click on the legend to turn on any others they desire? I have done a few hours of research with nothing that really addresses the topic. Any help to get me on the right path would be helpful.Thanks
Hi,I moved a site from CF 8 to CF10. CF8 resided in a different server. I put a WriteOutput(" testing") in the onSessionStart function of the Application.cfc to know how the site will behave. I ran the site, on the default page the the "testing" appeared. When I clicked on the SignIn page, the "testing" word appeared again. It's calling the onSession start. Here is what's in my onSessionStart.<cffunction name="onSessionStart" returntype="void"> <cfif NOT StructKeyExists( cookie,"CFID" ) OR NOT StructKeyExists( cookie,"CFTOKEN" )> <cfheader name="Set-Cookie" value="CFID=#session.CFID#; Expires=#GetHttpTimeString(DateAdd("yyyy", 40, Now()))#; Path=/;SECURE;HTTPOnly;"> <cfheader name="Set-Cookie" value="CFToken=#session.CFToken#; Expires=#GetHttpTimeString(DateAdd("yyyy", 40, Now()))#; Path=/;SECURE;HTTPOnly;"> </cfif> <cfscript> WriteOutput("testing"); StructClear(session); session.pageR
Hello, all,This side project I'm working on is really pushing me to learn some new things (which I enjoy!); but I keep running into issues that _should_ be pretty simple to figure out.This time, I need to detect the mimetype of an uploaded file _without_ saving it to the hard drive, and _not_ by the file extension.CF11 on an Ubuntu Server (Trusty Tahr 14.04.4 LTS; no GUI, it's all CLI)The process that I have has been mentioned in an earlier post in this forum: image(s) are uploaded to the server without being saved to the HD, and the system loops through each of the .tmp files to insert the binaries of the file(s) into an array so that I can insert them directly into a database.But I would like to limit the acceptable mimetypes to strictly .gif, .jpg, and .jpeg.Is there a way, as I loop through the .tmp files, to detect the mimetype so I can reject anything that isn't .gif, or .jpg/.jpeg? The binaries are first loaded into a variable and I'm using isImage() to make sure tha
Hello, all,I'm attempting (for the VERY first time) to code a function that will take files posted via HTML5 form from an <input type="file" multiple="multiple" name="images" /> tag.Specifically, how do I determine how many files were selected for upload on the server-side?The aim is to use CFFILE to READASBINARY the images, then insert them directly into a MySQL database. (This last part I think I've got down pat.)V/r,^_^
We are running 6 fully loaded coldfusion servers. Besides the constant issues we have we have a new one that recently started happening.We are maxed out apparently on how many datasources we can add. When we add anymore they are not found by the coldfusion server.We have two servers that when we add a datasource to one of the servers it gets added to the second server and we can not seem to figure out how that is even possible.The neo-datasource.xml file does not match our Admin datasources either. We have more datasources in our neo-datasource.xml file then we do in the actual Admin interface.Can someone please explain how coldfusion stores the datasource information? Does it use the neo-datasource.xml or does it store the datasources some place else.?How can two seperate servers share the same datasources? When we delete one in one Admin interface it deletes it from both plus if we add it then it will add to both servers.
Dear All.,I have been trying to update a application variable in my application.cfm and it is not working.APPLICATION.old_variable = '1,2,3';(I want to add 4,5,6 along with the above variable)I did the applicationtimeout and it is working for 10 seconds and again the the old values '1,2,3' is coming.Also i added a new application variableAPPLICATION.new_variable = '1,2,3';But here what ever the change i did and update the applicationtimeout it is working well.My case is the application variable is ONLY NOT UPDATING TO THE OLD VARIABLES
Hello Everyone,As you are probably aware, we are in the planning stage for the next version of ColdFusion. We are all excited to begin working on this new version of ColdFusion.An important step during this planning process is to get valuable information from you about your usage of ColdFusion. We seek to get his information in the form of a survey. Please take a few minutes to take this survey and provide your feedback. The data from the survey will be used to validate a set of hypothesis about the usage of ColdFusion. This will eventually help us build a great next version of ColdFusion, which is codenamed Aether.Thank you for your valuable time. Here is the survey link ( Adobe ColdFusion New Version Survey ) again.Regards,Anit Kumar
Hi,I have a request from a client to generate an excel spreadsheet from a query. I have the query kicking out the fields and I can generate the excel file without a hitch. The problem comes when the client takes that excel file and then tries to manipulate it. The majority of the trouble comes from fields that should be marked as currency or dates. I am, with some struggle able to generate a "real" date field. Before this Excel was not sorting the dates properly.I was able to call an excel formula by using this:<cfset SpreadsheetSetCellFormula(s,"DATEVALUE(#Chr(34)##Replacement_ETD##Chr(34)#)",therow,9)>Date value forces Excel to acknowledge this as a real date field. However, this fails when this file is manipulated thru excel. The next problem is the currency field. I can't get excel to acknowledge this as a currency. It always comes up custom. When this is set, the SUM function won't work in excel. You can add the fields individually like A1+B1+C1 = TOTAL. This won't be helpfu
Hi there,I am running the following code I found on the internet to grab a load of Tweets with a particular hashtag: <cfset consumerKey = "MY_CONSUMER_KEY"> <cfset consumerSecret = "MY_CONSUMER_SECRET"> <cfset bearerToken = ToBase64(consumerKey & ":" & consumerSecret)> <cfset authorization = "Basic " & bearerToken> <cfhttp url="https://api.twitter.com/oauth2/token" method="post" charset="utf-8"> <cfhttpparam type="header" name="Authorization" value="#authorization#"> <cfhttpparam type="header" name="Content-Type" value="application/x-www-form-urlencoded;charset=UTF-8"> <cfhttpparam type="body" value="grant_type=client_credentials"> </cfhttp> &
In case anyone here doesn't follow the Adobe ColdFusion blog, this was posted yesterday: Submitting your wishlist for the next version of ColdFusion — Adobe ColdFusion Blog TL;DR: File your wishlist items on the Bugbase.-Carl V.
Hi,Using Coldfusion 10 (Update 14 or upper) for connect to SQL Azure, not works.If we use Coldfusion 10 without Update 14 the connection to SQL Azure works fine. But we need to use Java 1.8, then we need to install CF 10 Update 14.Thanks in advance,
I have a Windows 10 system with Apache 2.4 where I do ColdFusion development for a client who is considering an upgrade to ColdFusion 2016. I installed a trial CF (planning to use it as a development after 30 days) and it works so far except for scripts with CFIMAGE with WritetoBrowser. The browser debug tools in Firefox show an error: "NetworkError: 403 Forbidden - http://{vhostname}/CFFileServlet/_cf_image/_cfimg2.....jpg".The Apache {vhostname}-error.log shows the following: "AH01630: client denied by server configuration: C:/CFusion2016 ...."I earlier tried CF2016 on an older Windows 10 system with Apache2.2 and the applications using CFImage all seem to work fine there. I understand there were numerous security changes from Apache2.2 to 2.4. I suspect the mapping of CCFileServlet is behind the problem but nothing I have tried seems to make it work. I am looking for ideas before I ditch the Apache2.4 - I would rather not go backwards with v
Hello,I have searched the forums extensively and still have not found a solution. What I am trying to achieve is simple, but am having problems getting it to work. I want to pass a dynamic url string from a web mapping application to a cold fusion page that then opens the pdf file on the users browser. This is an example of the url that will be passed to this page, and based on what feature the user selects, subdir and page_id will be dynamic:http://localhost/displayImage.cfm?subdir=60&page_id=3807444 Here is what I have so far for displayImage.cfm,it is just a start, I know I need more, possibly cfheader content? When I run this code I get an error saying the file cannot be found.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head> <title>Untitled</title></head><body><cfquery name="Surveys" datasource="sire" dbtype="odbc"> select * from slco_sire.dbo.surveys_doc INNER JOIN slco_si
I would like to set up a single website with CFM11 under IIS8.5In this website there are several CFM applications, each under a different "Application" subfolder. For security purposes, monitoring and separate maintenance shutdowns per application, these would all need their own "application pool".However, this means that these applications should run under a different application pool than their website root node. In IIS this causes a 403.18 exception:HTTP Error 403.18 - ForbiddenThe specified request cannot be processed in the application pool that is configured for this resource on the Web server.Most likely causes:•An ISAPI filter or custom module changed the URL to run in a different application pool than the original URL.•An ISAPI extension (or custom module) used ExecuteURL (or ExecuteRequest) to run in a different application pool than the original URL.•You have a custom error page that is located in one application pool but is referenced by a Web site in another application po
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.