The official community for ColdFusion.
Recently active
Recently, a user informed me that the RichText editor within her form had changed. When she used the form to send out an email, the copy that she got had no message text. After two more try's, I decided to try this on our test environment and the same thing happened.<cftextarea name="textarea1" height="200" width="525" richtext="yes" required="YES" toolbar="basic" message="Please type your message." />When this field (textarea1) gets filled in and I dump the FORM elements I get textarea1 [empty string]. Any ideas why this would have started happening and what I need to do in order to correct it again??Thanks in advance for any help you can provide.David
I have had to reinstall CF9 on windows 7 but lost IIS connect. After several trials, decided to use the built-in server for my development. Installed fine and get the administrator page under port 8500. I'd like to put that in my inetpub/wwwroot/ path and have access to CF sites via localhost at that inetpub/wwwroot location.CF doc says can do this by changing the jrun-web.xml file under "virtual-mapping". I moved CFIDE to inetpub/wwwroot/ pathAdobe ColdFusion 9 * Using the built-in web server I tried it with:"<virtual-mapping> <resource-path>/*</resource-path> <system-path>C:/inetpub/wwwroot/</system-path> </virtual-mapping>"but gets 404 error for http://127.0.0.1:8500/CFIDE/administrator/index.cfm "java.io.FileNotFoundException"Would like to be able to keep everything where I have it in the inetpub/wwwroot folder rather than move all files to the CF9/wwwroot/ directory.I'm guessing I have not changed
Windows 2016 ServerMSSQL Web Edition 2017Coldfusion 2016 - 2016.0.05.303689, Tomcat - 8.5.11.0IIS 10.0.14393.0I randomly get an error emailed to me from multiple sites (see below) how can I resolve this? No other information is provided to solve the problem. We did check "Use J2EE session variables" because we need them for a project and then this started to happen. A google search reveals that this could be the issue. Anyone have a solution on how to keep this setting and not get this error?Cannot create a session after the response has been committedType:java.lang.IllegalStateExceptionStackTrace:java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.catalina.connector.Request.doGetSession(Request.java:2955) at org.apache.catalina.connector.Request.getSession(Request.java:2368) at org.apache.catalina.connector.RequestFacade$GetSessionPrivilegedAction.run(RequestFacade.java:216) at org.apache.catalina.connect
Hi All,I am hitting this error "Branch target offset too large for short" on one of the codes on Coldfusion 2016. Have try to update to latest update 5 but still failed.It there any way to fix this?Thank you.
Is the parameter for Enable High ASCII characters and Unicode for data sources configured for non-Latin characters in JDBC sendStringParametersAsUnicode=true or different?
Hello, all,I've got a form that I'm using AJaX to submit after using jQuery.serializeArray() and JSON.stringify(). I've set the contentType to "application/json". What ColdFusion gets in the CFC is an array of structs. Screencap included.<cfset requestBody = toString(getHttpRequestData().content) />What I would _like_ to do is convert this to the form scope. But converting to a query is just as good. Question is: What is the most efficient way to do this?V/r,^ _ ^
Hi,I'm trying to upgrade our ColdFusion from 9 to 2016, and we have some running applications in the production server. I started with discovering and identifying the deprecation features as listed here, so I would like to ask if there is available tools or configurations that can help in finding the risky features (tags, attributes, and attributes values) that need to be change in my current applications, or any automated way to do that?I found some discussions about migration to CF11 but nothing for migrate to 2016 yet.Any suggestion would really appreciated!Thanks,
I am trying to talk to someone to get extended support for our version 10 Coldfusion instance.Do not want to miss the opportunity to qualify for the extended support while we upgrade to the latest version of ColdFusion over the next few months so can someone please find me someone I can deal with.As advised by the online help from the ADOBE site, I have tried the 0800 0280148 number that just has been selecting options that do not put me in touch with a human.I have emailed the Coldfusion team @ cfsup@adobe.com - no response.Please some one help !
I have a flex application that is calling multiple ColdFusion services, this has been working for a long time but now all of a sudden it stopped working and I have no idea what is causing it. Basically, I am sending 15 function calls to different services through the flex gateway. The first one executes and all the other ones send this error message "java.sql.SQLException: This connection either has timed out or has been closed and has returned to its pool. You must re-acquire the connection. " See attached Charles screenshotThe coldfusion application is a very simple ORM application running some simple single parameter hibernate queries like belowremote Wayeo_Service.cfc.city_clerks[] function searchByID39(string q ) { var hqlString = ""; var whereClause = ""; var params = {}; hqlString = hqlString & "FROM city_clerks"; if (len(arguments.q) gt 0){ whereClause = ListAppend(whereClause, " ID39_City LIKE '%#arguments.q#%'"); }&nbs
Hello, when I try using this code<cfpresentation title="MyPreso" autoPlay="true"> <cfpresentationslide src="c:\preso.ppt" /></cfpresentation>I'm getting this:Could not initialize class com.sun.star.lib.loader.WinRegKey... What's going on?
Hi, I've been trying to use powerpoint as a source for the cfpresentationslide tag, but it would always give me this error: Could not initialize class com.sun.star.lib.loader.WinRegKey. How do I fix this? I am using CF 9 and I'm pretty sure that it supports powerpoint. Thanks!
People who installed coldFusion 11 on our server didn't select the option "ODBC Service".Is there a way to install the ODBC service without re-installing coldFusion ?
Hi have a pdf with some formfields:http://www.direct-jobs.ch/abm.pdf(official form from swiss authorities)and i want to automatically fill it out with cfpdfform.However when I try to read it using <cfpdfform source="/tmp/abm.pdf" result="resultStruct" action="read"/><cfdump var="#resultStruct#">I get an CF-Error message Either datafile XML or data XML contained in the PDF document is invalid. however reading the form with acrobat reader works perfectly fine.Any ideas how I can get this to works?I suppose it has something to do with the version of acrobat the form was generated with, but thats just a guess.
Please download the attached file to view this post
Anyone created a function to get the current year? Here's what I've got so far and it appears to work: function getCurrentYear() { var datetime = now(); var month = year(datetime); return Year(datetime); } Is there a better way to code such a function in cfml?
Hi ,From Solr, we are getting default Json formatted output on http query request.is there any way to get customized Json output from Solr? Like some indexed parameters in one object or some parameters in another object or array object of some parameters or nested objects.Any pointers on this would be helpful. Thanks!
(CF8.01 server with Windows 2008 Server R2 - Java installed in C:\Program Files\Java\jre6)I have no problems connecting with CFHTTP from a local dev box to one of our domains on a server with SSL. I also have a domain that uses a PayPal API over SSL which appears to be working still. However I've recently tried to integrate with another 3rd party and I can't get it to connectI receive a peer not authenticating error, as detailed in the link belowDiagnosing a CFHTTP issue - peer not authenticated · Raymond Camden I tried the fix at the top of Raymonds page but it would not work, it just throw errors. I've been through the thread which at one point led me to an instructional page here Naveen Chhabra's Blog | Just another WordPress.com site which suggested that you take the certificate from the third party server and install it on the CF server. However I struggled with that because it was asking for a keystore password, which I don't know and can't seem to figure out how to set.The
HelloWhat is the easiest way to transform a cfhttp get result to xml?I refer to a string like this:{"ticker":{"base":"BTC","target":"NEO","price":"233.95972149","volume":"","change":"-0.55305476"},"timestamp":1514451062,"success":true,"error":""}Would be happy to solve this issue Thanks a lotThomas
I'm using <cfpdfform> command to simply read fields from my Livecycle 9 pdf. The problem is that not all of the fields appear in the CFDUMP. I'm simply using:<cfpdfform source="test.pdf" action="read" result="fields"/><cfdump var="#fields#">I have one subform where I have 15 text fields in the PDF. When I do the CFDUMP, it only shows 2 of the 15 fields. Has anyone else encountered this?
Hi there,I try to create a DSN using ODBC Socket on Coldfusion Standard 2016 (OS Windows Server 2016) and i receive this error :java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][SequeLink Server]The specified data source is not defined.The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][SequeLink Server]The specified data source is not defined.When i try the same on Coldfusion Standard 2016 (OS Windows Server 2012) everything works fine.It seems that Windows 2016 no longer support SequelLink Connectors.Any idea to bypass This or do i need to downgrade to Windows 2012 ?Thanks and sorry for my English.
Running ColdFusion 9,0,1,274733 on JRun (J2EE install), Windows Server 2008 R2, Java 1.6.0_22Has anyone else had a problem getting the default document, index.cfm, to work with ColdFusion? I'm assuming that this is only an issue because of our setup; different web server (IIS) and application server (ColdFusion). I can't imagine we are the only ones running this configuration. Are we?So here is the issue.If we request http://mysite.com/test/index.cfm it works.If we request http://mysite.com/test/ it does not work and we get a 404.I checked the web connector's log file on our IIS server and can see that it is sending the request to our ColdFusion server. The ColdFusion server is sending back the 404 error code but I can't figure out why. We have the default document set on our IIS server for index.cfm. We also have the <welcome-file-list> set to include index.cfm on our application server (web.xml).From our web connector's log when we do NOT include index.cfm:2012-11-01 13:37:22 j
Getting this error, not sure where to begin troubleshooting. I'm trying to fix a website for a friend but I am a bit lost on where to start. Hoping one of you could shed some light on what exactly this error means.
Is there a way to make writeDump() easily output to a new line when using this within a <cfscript> block?
Hello everyone,We have upgraded our development server from CF10 to ColdFusion 2016 today. While I was testing our system I notice that every report couldn't be accessed. I have checked the folder on the server and files are in there. I tried to use this code to test and access the files:<cffile action="read" file="\\testsite\testsite_d\test.xlsx" variable = "fileContent">After I run code above error message showed on the screen:Message\\testsite\testsite_d\test.xlsx (Access is denied) DetailThe cause of this exception was: java.io.FileNotFoundException: \\testsite\testsite_d\test.xlsx (Access is denied). I'm not sure why files can't be accessed. Everything worked fine before we did the upgrade. If anyone knows how to fix this problem please let me know.Thank you.
Hello, all,I understand that ColdFusion spreadsheet functions are based upon Ben Nadel's POIutility.cfc. I was just asked a question that I don't know how to answer and thought I'd bring it here for scrutiny."Do CF spreadsheet functions rely, at all, on .Net?"I know that CF is a wrapper for Java (Tomcat). But that's the deepest my knowledge goes. Does .Net come into play for spreadsheet functions in CF?V/r,^ _ ^
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.