The official community for ColdFusion.
Recently active
Using older version of Coldfusion (7 I think? I know, I know...). Anyhow, my WSDL echo page used to work, but then it stopped working unexpectedly. My vendor tells me they are getting the following error:Error attempting to create Java skeleton for CFC web service; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : Could not resolve CFC datatype: /kydlgweb/echo.cfc]. Here is my code in the echo page:<cfcomponent output="no"> <cffunction name="echoString" returntype="string" output="no" access="remote"> <cfargument name="input" type="string"> <cfset variables.CartID = arguments.input > <cfstoredproc procedure="spPO_Upd_SPGEReg_UpdatePaid" datasource="ProjONE"> <cfprocparam cfsqltype="cf_sql_varchar" value
Has anyone installed CF12 with Plesk 12.I'm being told that plesk doen't support it. Is this correct and can I install and run the CF12 system on the server?Thanks for any comments or assistanceCapt Gary
Hello, all,I'm using regex (REreplaceNoCase()) to set the file path of the root of a site that I'm working on. Until now, it has worked great.What I'm doing is using ExpandPath() to set an application variable in application.cfc so that no matter what folder under the webroot is being used, the variable will always have the same value, no matter if on DEV, Staging, or Production environment.So, let's say one server in each environment: ServerA, ServerB, ServerC, respectfully.The webroot on ServerA is C:\web\webdocs\myproject\The webroot on ServerB is C:\web\webdocs\myproject\preview\The webroot on ServerC is F:\hosting\www\public_html\myproject\docs\I need a regex mask to point to the root on all three servers without hardcoding it, because, you know.. things are constantly changing, and you don't always know that paths will remain as is.The following _kind of_ works:<cfset application.wrmap = REreplaceNoCase(ExpandPath('./', (.+[\\|\/]myproject[\\|\/])(.+)', '\1','all')
Hi. I have some session variables for a shopping cart page. I want to set up a button for the user to click to clear the cart. How do I do this? I tried using the StructDelete function, inside a form with a button, but even if I don't click on this and I just click on the Checkout page button instead, it clears the cart before the info. can be inserted into the database on the confirmation page. How do I set this up so that the cart only gets cleared if the button is clicked? Here is what I have:<cfif NOT StructKeyExists(session,'ElastomerCart')> <cfset Session.ElastomerCart = StructNew()> <cfset Session.ElastomerCart.First_Name = ""> <cfset Session.ElastomerCart.Last_Name = ""> <cfset Session.ElastomerCart.Title = ""> <cfset Session.ElastomerCart.Company = ""> <cfset Session.ElastomerCart.Address1 = ""> <cfset Session.ElastomerC
I need help to migrate webserver from IIS 7 to Apache2.4. We got coldfusion 11 installed on windows 2008R2 machine. It would be great help, If anybody can send document to perform this migration.. Thanks RK
Hi,We have installed multi-server ColdFusion 9 in Windows server. And we have created 4 other instances using multi-server configuration.It was working fine till today morning, but all of sudden the 4 instances are stopped responding. However the main URL is working fine.When I wanted to check Instance Manager under Enterprise Manager tab in ColdFusion Admin Console, it is not opening the page. I didn't find any errors in logs as well as in page.I tried to restart ColdFusion server, IIS server, WW Website server but no luck.Could you please let us know what could be the possible reason and also give some solution to it.Thanks and Regards,LVSR Ravi Chandra
Hello, all,On several of our primary projects, we are storing non-common images (ie, images for articles; not formatting or background images) in an Oracle 11g database, and using queries to retrieve and display them. For the most part, this is working quite well.However, an issue has come up which has caused our PM to question: When an image is pulled from an Oracle db via ColdFusion Server, is the image downloaded in a single reference? Or, does either Oracle or CF Server split the BLOB into chunks, causing more than one reference to the image?In CFAdmin, the BLOB is set for 64000. Is this a buffer size value? It's the default when the DSN is created in CFAdmin.V/r,^_^
Hi,I just installed CF builder 2016 with the embeded CF server in my win7 desktop, but when try to start the CF server from the builder, it always fail with this error:[defaultLocal]:Listening for transport dt_socket at address: 6006[defaultLocal]:Error(06/02 at 12:08:36) Unable to start server. Server startup timed out.[defaultLocal]:Error(06/02 at 12:08:39) Operation is canceled.But the server is actually started successfully, it was just CF builder not able to connect to it.Any idea?Thanks.David
Hello, all,I'm trying to learn how to use CFTHREAD - just playing around with it, a bit - and I'm clearly missing something in the documentation.As a "for example", I'm trying to use CFTHREAD to get the content of different web sites and output them from within a loop. Obviously this should be done asynchronously, as each page will have a different load time. But the output (even when using view source) remains blank. Timing, maybe?<cfsilent> <cfset urlList = ListToArray("http://www.ustranscom.mil/,https://news.google.com/,http://www.sddc.mil/,https://news.yahoo.com/,http://www.amc.mil/,https://forums.adobe.com/") /> <cfset steList = ListToArray("USTRANSCOM,Google,SDDC,Yahoo!,AMC,Adobe") /></cfsilent>I've tried:<cfloop from="1" to="#ArrayLen(urlList)#" index="idx"><cfset steList[idx] = lcase(REreplace(steList[idx],"[^\w]","","all")) /><cfthread name="output#idx#" action="run" aURL="#urlList[idx
I have created a chart in CF11 Enterprise, using CFCHART, with clickable drilldown areas by adding the url option with item=$ITEMLABEL$.This works exactly as it should for the first 10 items on the x-axis, but if there are more items, the values passed to $ITEMLABEL$ beyond the 10th item (and the corresponding value in $VALUE$) do not correspond to the selected item - an earlier value is returned. The chart axis and data labels are all rendered correctly on the page - its just the values passed by the URL are incorrect after 10 items.I am pretty sure this is a bug in CF11 (although I can find nothing on this in forums and searches). I have downloaded a developer edition of ColdFusion 2016 Enterprise, and ran the same code successfully on this server - the correct URL values are passed irrespective of the number of items on the x-axis (well, I tested up to 42).Is there a bug fix for this?
I'm stuck guys. I don't know what do do. We've been having this problem for awhile when dealing with a payment gateway that we get a "Connection Failure". Now, it is not all the time. It is intermittent. Maybe 1 in 25 or so. That rules out certificates right? My thoughts are that if it were a certificate then no requests would actually complete. So I set up a test page that does a test call to the payment gateway, the payment gateway we are using is eProcessing Networks' Authorize.Net emulator. Now, I got an error the first time I ran it.Amazingly I was able to reproduce it. Just once. Then it started working again like nothing ever happened. I really need help guys. I will provide more information if you need. This is the exact code I was using when I ran it. Nothing changes here as far as structure from call to call. These are all test credentials from the developer site.<cfhttp url="https://www.eprocessingnetwork.com/cgi-bin/an/transact.pl" port="443" METHOD="post" USERAGENT="Moz
We install ColdFusion 2016 on Window 2012 server with IIS 8.5. It works fine for couple days, then the admin screen login in screen return blank white page.After play with security and IIS setting, we re-installed ColdFusion and it comes back. After a week, it happens again. What could cause that ?Thanks
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
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.