The official community for ColdFusion.
Recently active
It appears that CF11 Update 7 broke the debug output by removing “tagcontext” from the “stacktrace” structure. For pages that are below the top level page all debug output after the “Execution Time” heading disappeared. The fix is simply to remove the string “.tagcontext” from all lines in the debug template. This applies to all templates that I could find. I hope this gets to Adobe.
I have a very simple example for sending an image as an attachment using Coldfusion 11 cfmail tag.<cfmail to="example@domain.com" from="example@domain.com" subject="Test" type="html"> <cfmailparam file="www.example.com/image.png" disposition="attachment; filename=""test.png"""></cfmail>I want the attachment to be called "test.png" when it is viewed in the recipients email client.It works fine when I receive the email in Gmail, however Outlook 2013 (and Office 365 web client) retains the "image.png" attachment name.Have I correctly made use of the "disposition" attribute?
Our Oracle DBA is looking at moving us from Oracle 11g to 12c and is asking which sub version of 12c does CF11 support, the 12.1.0.1 or the one that was release this last fall - 12.1.0.2? He, of course, would like to install the latest 12.1.0.2. Thanks!
We are in the midst of a regular maintenance downtime and our systems engineer went through standard tasks to restart the coldfusion application and was not able to. She has restarted the entire server and still is unable to restart the application. She rolled back to her first snapshot when all was working fine and is still not able to restart successfully. As far as we can see, any changes that were made initially should not have impacted anything. But even after she rolled back to the original snapshot, we still can't restart. Any insights? Thanks so much.
Hi all,I am very new to cfscripts.I am having below function <cffunction name="newReplace" > and whenever I am calling this function I am getting java.lang.StringIndexOutOfBoundsException: String index out of range: -1 error.I think I missed some validation to check the null but unable to identify. <cffunction name="newReplace" returntype="string" description="Replace the original CF9 Replace() and ReplaceNoCase() which don't support some UTF-8 string"> <cfargument name="stg" type="string"> <cfargument name="origStg" > <cfargument name="rplStg" > <cfargument name="all" type="boolean" default=true> <cfargument name="caseSensitive" type="boolean" default=false> <cfset var result=""> <cfscript> var oStringBuffer = createObject("java","java.lang.StringBuffer"); var i = 0; var tmpStg = ""; oStringBuffer = oStringBuffer.init(arguments.stg); while(i + origStg.len
I migrated a CF site to a server the only supports up to CF8. Does anyone know where I can download CF8 developer edition?
I have not found the combination for adding a new Coldfusion Server in Flash Builder 4.7 or Coldfusion Builder 2.01 with Coldfusion 10. I am running windows 7 64bit. on IIS 7. Coldfusion 10 is running fine. All was well with Coldfusion 9 Flash Builder 4.6 and Coldfusion Builder 2.0. Local Server Settings for CF9 were Server Home C:\Coldfusion9Document Root C:\inetpub\wwwrootVersion: 9.0.xNow as soon as I put in C:\Coldfusion10 or C:\Coldfusion10\cfusion I get an error "Server home is not valid".Any hints on getting this going.
Hello, all,According to Adobe documentation, REreplace() (ergo, REreplaceNoCase(), too) requires three arguments: the target string; the regex match; and the value to replace that match with. The docs also state that the third argument is a string. Nothing is mentioned of using a function for the third argument.But in JavaScript (ex: str.replace(x,y)), while the prefix str is the target string, the two arguments that go inside the parenthesis are the regex or substring match, and the replacement - which can be either a string, or a function.The reason I bring this to attention is because in the past I have needed (and now would like) to write something that will convert HTML entities into the character said entity is supposed to represent. But I have had no success by using just a string as the replacement.For example: Say I have a string, such as "This is a test&#59; this is only a test." (Yeah, I know, VERY basic.) Well, I don't always know tha
Hi,I have ran into a problem, fresh after migrating to IIS 8.5 (from IIS 6), CF 11.07-ent.Does this make any sense to the pros out there?Here is what I would see:In taskman, as SOON as the Max JVM Heap memory was reached (for coldfusion.exe), CF would become partially or fully unresponsive.I understand about connector tuning, and that is not the problem here. Here are the isapi_redirect log lines:----------------This first line shown below is the LAST line in the log having to do with connections (as you can see, I am a long way from maxing out. Also, my server.xml file's MaxThreads and Timeout are set to 1600 and 60000 and I only use one wsconfig/x, and one application pool, for a total of 1600 connections. I was very stable with these same numbers in IIS6)[1532:3796] [info] ajp_process_callback::jk_ajp_common.c (2244): (cfusion) current reuse count is 91 of max reuse connection 800 and total endpoint count 1600then hits error condition[1532:3796] [info] jk_open_socket::jk_conne
I have this cfhttp tag.I want to log the URL to see if it's actually having all the correct parameters because it's not working.<cfhttp result="objRequest" url="#UrlDecode( strTargetURL )#" method="#CGI.request_method#" useragent="#CGI.http_user_agent#" timeout="15">
Guys,I've got a SOAP request that is requiring me to use MTOM attachments (to pass along the credentials). I was wondering if anyone has seen/read a tutorial as to how best to do this? I'm not seeing a whole lot of documentation in CF10 for this feature. Any help would be much appreciated. Best,Nadav
Hi,We are getting frequent hanging issue of Coldfusion 11 on Windows Server 2008 R2 Enterprise. In this case we are unable to track down the root cause of the problem to address it.Currently we need to manually restart Coldfusion 11 service in such situation and in some cases when the service fails to restart, machine need to be restarted.Coldfusion 11 is installed in integrated way with IIS. At the time when Coldfusion service gets hanged, all other IIS applications are running smooth without any trouble. During hanged state, request to Coldfusion pages either die out after a while or gets an error message like services not available.We need help in tracking down the root cause and to address it.Recent error log is as follows. At this time, service was restarted manually from Windows Services. There are no relevant logs prior to service hanging or during the time when service was hanged.Windows Application Log:Time: 11-02-2016 10:29:12Event ID: 263Level: ErrorSource: Coldfusion 11 App
Hi there,I'm upgrading both my CF from 9 to 11 and my server, from a self hosted on premise server to a VM cloud based solution.Current server is running CF9 in production and I cannot shut it down until cloud environment is fully set up and tested.Security audit won't be executed on a trial/developer edition so that I need to have both server (on prem and cloud) running simultaneously with a production version of CF for a while (say 2 weeks).Am I allowed (terms of license) to do so ?If I run the upgrade process (from CF11 trial/dev edition) on the new (cloud) server using my CF9 serial, will it deactivate the license from the other (on prem - CF 9) ?Is there a specific action I can have to be 100% sure the current production server (on prem CF9) won't be affected ?Any official answer from Adobe greatly appreciated, also users' experience welcome !BR, thanks in advanceAntoine.Ce message a été modifié par : Antoine BAPST - Reason : seems no one at ColdFusion level is able to answer this
Brand new CF 11 install on Windows 2012 R2. I have a cluster of servers running so I disable the client variable purge process on ALL serves. Although the purge process is disabled I still see "Run Client Storage Purge" messages in the coldfusion-out.log. I want to ensure client variable purge is NOT running on each server.
Hi. We have a new server. On our old server, I used to get all the debugging info. from Cold Fusion on my computer if something was wrong with a Cold Fusion page. Now with the new server, all I get is a 500 internal server error. Is this because something is not set up correctly on the server and the debugging info. from Cold Fusion is not able to display? Does anyone know what I need to do to get the Cold Fusion Debugging info. to display? Below is what we all currently have:Our new server is running Windows Server 2012 R2 and IIS 8.5ColdFusion 11 StandardSQLEXPRESS 2008Thank you.Andy
I have successfully connected to a .NET dll. However, I am having a problem passing the correct data type.I asked a fellow developer who works in .NET and he said it must be a "data table". What is the equivalent in CF? A query structure doesn't work.Thanks
I am making a cfhttp call from my main server to reporting server. And it was working fine until few days ago.But suddenly it has started giving errors when I am trying to make http call through cfhttp. Following is the error dump :Charset [empty string]ErrorDetail I/O Exception: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-emptyFilecontent Connection FailureHeader [empty string]Mimetype Unable to determine MIME type of file.Responseheader struct [empty]Statuscode Connection Failure. Status code unavailable.Text YES Because this error has start coming all of sudden.I suspect is it because of automatic java update.I had seen some links related truststore key missing , but nothing was related to coldfusion.Anyone having idea regarding this ?Thanks in advance
Hi,I wonder if my JVM parameters on Coldfusion 11 are correct. My actual parameters are:-server -XX:MaxMetaspaceSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Djava.security.egd=/dev/urandom -Duser.language=en -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLogMinimum JVM Heap Size is 4096 MB and Maximum JVM Heap Size is 6144 MB.My server has 2 vCPU and 8 GB RAM.Yesterday, my Coldfusion server crashed suddenly so I ask you if there is some problem in my actual configuration.Thank you all.
Very strange, but repeatable issue I've run into. I'm using the barbecue Java barcode generator library to generate code128 compliant barcodes which are then handed to cfimage writeToBrowser to finally end up with printable packing/mailing labels. When rendered to screen, everything works perfectly, but as soon as I wrap it in a cfdocument tag, so that we can generate as a pdf for printing on a label printer, I'm ending up with the wrong image on the wrong label in a few cases. It's always the same records that end up reusing an image from an earlier record (and always the same earlier record). I can check in the ColdFusion8\tmpCache\CFFileServlet\_cf_image folder and see that all the correct images were created by the cfimage tag, but for whatever reason, some of the images don't make it into the pdf, but are replaced by a different barcode from an earlier record. I can't see any commonality between the two records and if I intentionally remove the earlie
Hello, all,I've got a query that (pseudocode) is like: SELECT fname, lname, ORGS.EntityName dir, Table2b.EntityName div, Table3.personalid, COALESCE(Table2b.EntityName, ORGS.EntityName, 'N/A') org FROM personnel, (ORGS INNER JOIN ORGS Table2b ON ORGS.OrgID = Table2b.ParentID), Table3 I'm getting an error message: "Table2b"."EntityName" : invalid identifier. I've also tried using the alias (dir,div), same error message.ORGS table has organizations; some organizations are "parent" organizations of other organizations, and has an ORGID and PARENTID.How can I use COALESCE() (if one is blank/null, get the other; if that's blank/null, use 'N/A') in this query?V/r,^_^UPDATE: I should probably mention that this is an Oracle database. 10g, I think.
I am following this article by Ben Nadel -- not sure if there are some other better tutorials out there. Anyway, I kept getting the Variable ALLARTICLESDATA is undefined. error.<script type="text/javascript"> // Run when DOM is ready. $(function(){ var jForm = $( "form" ); // Hook up form submit. jForm.submit( function( objEvent ){ // Get articles from Knowledge Owl. &
Hi All,I am creating a .dll object from ColdFusion but I am getting the following error message."Class GenerateSQLReport not found in the specified assembly list. The assembly that contains the class must be provided to the assembly attribute."The Process I have followed:- Updated the ColdFusion 9.0.1- Uninstall the .NET Integration Service- Install the .NET Integration Service for 9.0.1- Run the code.My Code is : "<cfobject type="dotnet" name="MDBDTable" class="GenerateSQLReport" assembly="#expandPath('./GenerateSQLReportDLL.dll')#">"I got the following StackStrace:________________________________________________________________________________________________________________________________________________________________________coldfusion.runtime.dotnet.Assembly$DotNetClassNotFoundException: Class GenerateSQLReport not found in the specified assembly list. at coldfusion.runtime.dotnet.Assembly.generateProxy(Assembly.java:272) at coldfu
<cfquery name="getSelectedPriorityList" datasource="#application.datasource#" username="#application.datasource_username#" password="#application.datasource_password#"> SELECT id, name FROM lrp, p WHERE lrp.id = p.id AND lrp.ra_id = 123 AND lrp.id in (#form.assignedPriority#)</cfquery><cfset nickname_list=Valuelist('getSelectedPriorityList.name')>If I run above code the value of nickname_list = Send Certificate Invitation,View Certificate,Allow Key RecoverybutI am in need the output as nickname_list = 'Send Certificate Invitation','View Certificate','Allow Key Recovery'Kindly let me know what exactly I need to do to generate above output.Thanks in Advance
Hi All,How can I export my data from a cfquery to an excel file?I found old links examples using old versions of CF, anyone wants to share a link or example?Thanks in advanced.
Hi. We set up at second CF10 server, identical to the first, but the new server breaks on all cfajaxproxy calls with "Status: 500, WDDX packet parse error at line 1, column 1. Content is not allowed in prolog." The servers are identical, completely patched and up-to-date, and everything works on the old server.I've cleared my browser cache and temp files, checked that the return value does not have stray characters (it fails even if nothing is returned), tried returntype=plain/json/xml, asyncmode and syncmode, and turned on debugging, which only generates the same error message.Using straight javascript to call a new XMLHttpRequest() does work, so it's something about cfajaxproxy that's failing.Any idea what could be causing the issue?Thank you.
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.