The official community for ColdFusion.
Nyligen aktiv
If I use a chart like this:<cfchart tipStyle="none"> <cfchartseries type="line"> <cfchartdata item="1" value="1"> <cfchartdata item="2" value="2"> <cfchartdata item="3" value="3"> <cfchartdata item="4" value="4"> </cfchartseries> <cfchartseries type="bar"> <cfchartdata item="1" value="10"> <cfchartdata item="2" value="11"> <cfchartdata item="3" value="12"> <cfchartdata item="4" value="13"> <cfchartdata item="5" value="14"> <cfch
Need to set up data source in CF11 to a SQL server not using mixed authentication so I need to use a domain account. When I try to connect SQL see's it as an sql account not and AD.
Sorry for the slightly facetious title.I've been using CFEclipse for years and never had the inclination to move away from it. However, 2 days ago I had a software crash and needed to re-install. Installing Eclipse was no bother but it seems that CFEclipse is down entirely and I really need all my tag-completion and code-colouring nonsense, so I decided to install the latest version of CFB instead.However, even though the installation was fine and it linked to my old workspace no problem, the editor seems just like notepad(!) It's just a grey text editor; no code completion, no colours, no CF toolbar, nada. See attached screenshot.Can anybody advise?
Hi, i need some help.First the environment:OS: Centos 6.7 latestACF: 2016 64bit Linux war deployment Tomcat : 8.0.32 Java Version :openjdk version "1.8.0_71"OpenJDK Runtime Environment (build 1.8.0_71-b15)OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)After i deploy the war file the server did not start. Here are some more information (catalinalog):23-Mar-2016 18:32:20.035 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.3223-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 2 2016 19:34:53 UTC23-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.32.023-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux23-Mar-2016 18:32:20.036 INFO [main]
I can upgrade Tomcat myself, but that approach isn't documented and isn't likely to be supported by Adobe.Tomcat is bundled as part of ColdFusion 11, previously Adobe has provided a hotfix to upgrade Tomcat. Is this something on your roadmap?Tomcat 7.0.68 fixes the following issues: Moderate: CSRF token leak CVE-2015-5351 Moderate: Security Manager bypass CVE-2016-0714 Moderate: Security Manager bypass CVE-2016-0763
I have 2 servers in stage setup. Installed Coldfusion in both. My question is1) I would like to manage both servers using a single admin page URL installed in first server only2) If I create a cluster by adding the second server as remote instance, then do I need CFIDE folder in second server?I am new to coldfusion setup and your suggestions will help me a lot.Thanks,Sarath M
When trying to use the includecolumnnames parameter CF throw and error saying the spreadsheetaddrows function only supports 2 to 6 parameters, but documentation shows 7. Even the example in the spreadsheetaddrows documentation fails:<cfscript> out_fl = "#expandpath("./")#header.xlsx"; xlobj = SpreadsheetNew("2d_arr_data", true); qry_data = queryNew("product, customer, qtr"); queryAddRow(qry_data, {product:"aniseed syrup", customer="annie", qtr="1"}); queryAddRow(qry_data, {product:"camembert pierrot", customer="pierre", qtr="2"}); queryAddRow(qry_data, {product:"scones", customer="connie", qtr="4"}); datatype = [""]; spreadsheetAddRows(xlobj, qry_data,1,1,"true",datatype,true); &n
I have a cfgrid bound to another cfgrid that always returns null for the value.Worked in CF8Binding to a cfinput displays proper valueCFC is no problem hard coded value in place of bind workswriting to log from cfc verifies null value returned<!--- select office ---> <input type="checkbox" id="pckOffice1" onclick="setOffice();" checked>Bangor <input type="checkbox" id="pckOffice3" onclick="setOffice();" checked>Lamoine <input type="checkbox" id="pckOffice5" onclick="setOffice();" checked>Lincoln <input type="checkbox" id="pckOffice7" onclick="setOffice();" checked>Machias <br/> <input type="hidden" id="OfficeFilter" name="OfficeFilter" value="'1','3','5','7','2','9'"><!--- cycle grid ---> <cfgrid name="gdCycle" format="html" colheaderbold="true" striperows="no" striperowcolor="##ccffcc" selectcolor="#selectcolor#" selectmode="row" selectonload="fa
I am using ColdFusion 11 and have just started using the EncodeForHTML function instead of HTMLEditFormat whenever I need to display text that the user has entered, usually via a textarea. We need to save the formatting so that information the user has entered remains understandable. Users have a choice of whether to display the info to the screen or export to a pdf. We are using EncodeForHTML to make the displayed info safer and we are using <pre> to retain the required formatting.My problem is that when I need to export the data to a pdf, then EncodeForHTML acts differently than HTMLEditFormat does. For some reason, I get extra lines inserted.Here's some sample code. Just save to a cfm and run:-------------------------------------------------------<cfsavecontent variable="f">This is my sample data.Value 1 20%Value 2 30%Value 3 50%Here's my summary of this data.</cfsavecontent><cfhtmltopdf saveasname="MyTest.pdf">
Hi everyone. I am testing some simple code on this page: Untitled Document to do an online order with Stripe.com, but I keep getting this error message when I click Submit:405 - HTTP verb used to access this page is not allowed.The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.Does anyone know what to do to get this to work? Do I need to update something in the CF11 administrator pages or do I need to update something in our IIS server?Andy
Here's my code:<cfif StructKeyExists(cfData.data, "inherited_roles") || IsArray(cfData.data.reader_roles)> <cfset arrayRoles = "reader_roles" > <cfif ArrayIsEmpty(cfData.data.inherited_roles)> <cfset arrayRoles = "inherited_roles" > </cfif> <cfloop index="p" from="1" to="#arrayLen(cfData.data.arrayRoles)#"> <!---some code here---> </cfloop></cfif>And here's the error I kept getting.Element ARRAYROLES is undefined in a CFML structure referenced as part of an expression.The error occurred on line 07 when I have the #arrayLen(cfData.data.arrayRoles)#.Any suggestion is much appreciated
Hi All,For the past few weeks, the ColdFusion Server will randomly just hang... where a page request will just keep spinning... restarting the server has cleared it up... but we're having to do that more frequently.Can you give me some insights into this problem or how to debug it on CF11 Server?Version: ColdFusion 11 Update 7IIS: Windows Server 2012R2 8.5.9600.16384Database: SQL SERVER 2008 R2I suspect the problem may be related to the number of workers/processes running at a given time? How do I increase this from the default installation?Thanks,John
We can't seem to get this running right, and need someone with experience.We have 100 IIS websites, 65 of them are coldfusion. So we "tuned" AJP for that number of connection pools. Under the "ALL" configuration, we have an allotment of 9000 and a reuse size of 138. The server.xml matches thread count and timeout.Originally this was at the default of 250, and sites began to hang and never load. Took us forever to figure out this was the reason...So now we have the sites running, but they use extreme amounts of memory. The worker processes (w3wp.exe) appear to allocate large amounts of ram as soon as they start, and having jakarta in the ISAPI FIlters list reliably causes this. Remove jakarta, and site returns to normal fair memory usage. So naturally we removed jakarta from all PHP sites, and only have it on the CF11 sites. We also began grouping coldfusion sites based on priority into application pools, to try and reduce ram usage.Do we need to tune jakarta for every single site? Is t
I have a Coldfusion 10 Websockets channel that streams data every 2 seconds. This has worked perfectly for some time, however I have now approximately doubled the amount of data being sent and I have problems when it comes to Chrome and Internet Explorer – they both come up with the following errors -Websocket connecttion to 'ws://mywebsite.com' failed: Invalid frame headerUncaught TypeError: Cannot set property 'readyState' of undefinedEverything works perfectly on Firefox.I am assuming the errors relate to the size of the packets and that they are not correctly specified in the header, since if I reduce the amount of data slightly everything works fine. I have increased the “Max Data Size” for websockets in Coldfusion Administrator but this does not fix the problem.It does mention here: http://www.adobe.com/devnet/coldfusion/articles/using-websocket.html that there is a default packet size of 8192 bytes (8KB) and if messages are larger they need to be tuned accordingly - but it
this sentence below is working fine on Coldfusion 11 and previous version, but it throws exceptions when the application is deployed on Coldfusion 2016Could anyone give some advice on this issue?<cfset SubjectText = Replace(#SubjectText#,"%Request.RequestID%",#Request.RequestID#,"All")>the value of #Request.RequestID# is a number
As I test more with CF2016 Enterprise 64-bit, I'm finding weird and inconsistent performance issues. At the moment, I have two queries against my Oracle database that vary from 2ms to 3000+ms from one run to the next. Both queries are against relatively small tables that have all necessary indices, and both use bind variables. In production (CF9 32-bit), I'm not seeing anything like that. My Oracle analytics show no problems with the queries, no recommendations about tuning.I can't help but assume that this release is too fresh and will require significant updates to get it to be production-ready. It feels like nobody else is trying to use it yet, so I can't find any other posts about this. Not to mention that the stupid decision to stop numbering and adopt this new clunky name makes it even harder to get decent Google results.Has anybody else begun testing their applications in this new version and found weird issues like this? I'm wondering i
Every individual that works with CF tells me how easy AJAX is to work with. But, I beg to differ. I am trying to get a simple product page to calculate products * quantity. I spent a good 12 hours scouring over the internet and never found the solution. I have a page called shoppingCartForm.cfm that calls shoppingCartAction.cfm into play. On the shoppingCartAction.cfm is where I am trying to calculate the sub total. I can get the individual variables to output correctly, yet they will not cooperate when I try to coax them into multiply them. Maybe I should use a little positive affirmation and call them rabbits. As usual, any help would be appreciated, I don't have much hair left.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head> <title>Your Order</title></head><body><cfif isDefined("Form.submit")> <cfparam name="Form.itemID" default=""> <cfoutput>&
Do I need to take preperations before using this tag?I see: Error Occurred While Processing RequestA tag starting with 'CF' has been detected. This tag is not supported by this version of ColdFusion. Please verify your typo and try again.Unknown tag: cfspreadsheet.Dreamweaver CC 2015
I have a ColdFusion 10, front end on a Windows 2008 R2 (VMWare) machine interfacing with an Oracle 11g database. I recently had an issue (https://forums.adobe.com/thread/2121425http://) that was solved by changing this.datasource to application.datasource. Shortly after, I was tracking down some other issues, specifically one where a CFMAIL tag was not loading output of a query. I toyed with it, even trying to brute force the TO address in there, and just caused other problems. Since I am working with a copy on my Test server, I decided to start over. I copied the two files that I had been working on from the copy on my Development machine that has not been touched since it was promoted to Test, expecting to see the CFMAIL error again. Instead I see:When I go to tline 76 in the module listed, that line is completely blank. I am baffled as to what needs to be done to get back to the original error.
Hi,I got randomly an error on a cffile copy :java.nio.file.FileSystemException: D:\netprint\Images\C01332\VISUELHD\SG_OPTEFR_4_Concert.jpg -> D:\netprint\DOC_demandes\ReqSG_00331742\BIB\SG_OPTEFR_4_Concert.jpg: The process cannot access the file because it is being used by another process.However my code is executing copy only if target file doesn't exist :<cfif not fileexists("#DEMrepert#/BIB/#NomImageHD#")> <cffile action="copy" source="#BIBrepertHD##NomImageHD#" destination="#DEMrepert#/BIB"></cfif>I am running Coldfusion 11 on windows 2012 R2 server with Java 8 (jdk1.8.0_66).As destination file doesn't exist, it looks like issue is on source file being locked by another process. Is there a way to check inside coldfusion if source file is locked by another process ? Regards,Pierre.
I have enabled click to play flash in Firefox and it only works on a few sites. Yahoo and many other sites just load up their flash videos with no problem. What is the fix for this?
Hi, I have a function that stopped working when I upgraded to 2016, I can't for the life of me see why. What happens is the second time the query runs it overwrites the first one and stops. It does not run the full first query. What am I missing?! <cffunction name="doThis" access="public" returntype="string"> <cfargument name="parent" type="numeric" default="0"> <cfscript> var LOCAL = {}; </cfscript> <cfquery name="LOCAL.q"> SELECT parentID, title FROM thetable WHERE parentID = <cfqueryparam cfsqltype="cf_sql_integer" value="#arguments.parent#"> ORDER BY priority; </cfquer
down votefavoriteI am using ColdFusion as my backend for an AngularJS application. I need my Application.cfc to run in order for my authentication module to run. However, because I do not have any .cfm files, it does not run on request. The files in the root of my folder are all of the application folders (controllers/, styles/, views/, etc.). Also at the root is my index.html which kicks off the angular application as well as Application.cfc. I want Application.cfc to run as soon as the application is accessed. Is there any way to do this, or will I need to make an API call to Application.cfc from a controller/service to kick it off?
We are upgrading Coldfusion from 9 to 11. This worked in 9 just fine, but running into errors in 11. My cfgrid declaration is as follows:<cfgrid name="cfPagingGridName" autowidth="yes" rowHeaders="no" format="html" height="165" width="675" style="border:none;" selectcolor="##C6D6EB" striperowcolor="##EEF3F9" striperows="yes" selectOnLoad="false" bgcolor="##FFFFFF" pageSize="1000" bind="cfc:model.nomination.nominationAddRecipientGateway.getNomineeGrid({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},#form.nominationid#)">On selection from this grid, we can add values from this grid to another grid when the add button is selected. The add button runs some JavaScript. This JavaScript is erroring with the getStore() method, but the real problem seems to be right before this. The part of the JavaScript that is erroring is as follows:
Can a customer buy ColdFusion 2016 and get a download/backward licensing to ColdFusion 11? If yes, what is the process involved.Please advise.Brian Chau
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.