Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
We are upgrading our CF Server 10 to latest CF 2018. And i am facing bind issue between dropdown selected value and cfgrid bind.There is dropdown just above the cfgrid that is set empty at first and has values listed of a query, and just below is a grid that binds the dropdown selection value to the query that is fetched.At first as empty is selected it would not fetch records and grid would be empty. Also the bind URL is correctly formed.http://127.0.0.1:8501/app/dummy.cfm?&DbFunc=getRecords&SrcID=&newSrcID=&flt_nm=&flt_iv=&flt_ct=&flt_sc=&flt_in=&pageSize=174&_cf_ajaxproxytoken=6D89B1BFAE8D17997E5A&_cf_clientid=1AFC4F973849FBAE6EAAA465492A0E0B&_cf_rc=0&_cf_nodebug=true&_cf_nocache=true&returnFormat=json&_dc=1549690631545&start=0&limit=174&page=1&sortCol=&sortDir=ASCBut next when i select the dropdownto a new value the URL is formed in this way.http://127.0.0.1:8501/app/dummy.cfm?&&DbFunc=getRe
I've been developing small web sites, mostly for personal use, since Coldfusion 4.0.1. Throughout that time, I have run them on an IIS server under various versions of Windows. I am not highly technical; don't have much knowledge of servers. I have always been able to create and manage multiple sites with coldfusion by setting ports to match the directory structure under inetpub/wwwroot/site_1; inetpub/wwwroot/site_2, etc.Last year, I installed CF18 under Win10, and the usual J2EE installation didn't go through the old process of provisioning under IIS. Sorry if I'm using the wrong terminology. After reaching out on the forums for help, I finally installed under the Standalone Server option, which put my files under cfusion folder with port 8500.I've been totally lost on how to create new sites under this setup.====================The help I'm reaching out for here is to understand the two installation options. 1) can I create multiple local sites with different ports under the standal
The "Multihoming" links on the page ColdFusion Help | Use multiple server instances self-reference this very page indefinitely.
Howdy all, I've recently encountered an issue with a 300+ page PDF generated by a scheduled process. The scheduler generates our institutional organization chart and has been working great. However, we have found instances where a few pages (~4 or so depending upon run) are flat and have no CSS styling applied to them. All other pages are flawless. Even more puzzling is that in some instances, the styling will be applied to parts of the content, but not others. So in one case, the header and footer are properly styled, but the page body has no styling applied. In another case, on one page only the footer is missing styling. Given this is all rendered via iteration, the only thing I can think of is maybe an intermittent connectivity issue to the CSS sheet. We have recently moved our data center, so we have had some squirrely routing issues every now and then. I've learned from experience that it is best to include the CSS in both the CFDocument AND in every CFDoc
'm working on the new system and there are few things that are different from what I used to see. Basically there is an JQuery ajax call with "POST" type and url pointing to .cfm page. The .cfm page will return html table.After talking to lead developer he mentioned that this method is more efficient. This way calling .cfm we do not create new instance each time we make a call. The other way if we use .cfc and call a function new instance will be created each time. I do not know everything behind the screen and deep layers of ColdFusion.One other thing he mentioned this way it's better since we do not use any frameworks. I have been working with ColdFusion for the past 4 years and what I seen in the past is JQuery Ajax calling component.cfc with specific method name. The data is returned and table is built dynamically. I was wondering if someone knows more about this and why the .cfm might be better than calling .cfc.Thank you.
When using BlazeDS (Flex app) to send dates to CF, and the date sent is within Daylight Saving Time, CF fails with an error [BlazeDS] Error deserializing client message.coldfusion.runtime.locale.CFLocaleBase$InvalidDateTimeException: July 8, 2016 6:00:00 PM EDT is an invalid date or time string.My guess is that this is likely caused by CF 2018 using Java 10 which has an issue in CLDR using three character time zone formats. (We are US shop). Even having the standard JVM switch -Djava.locale.providers=COMPAT,SPI it does not work, fails every time.Does anyone have any ideas how to resolve? I am about to try using a separate JVM as a test, but not sure whether that will work or not. I suspect BlazeDS is not playing nicely with JVM (using its own, maybe?)Here is a zip file containing sample project, see "ADDITIONAL" sub-folder for logs, screen shot of proxy AMF dump, etc. Copy the Additional -> remotingDateTest folder to your web root and adjust the RemoteObject in the project applicati
I have installed ColdFusion 2016 in IIS 10 and when I browse to http://localhost/mysite/ I get HTTP Error 404.17 - Not Found but when I browse to http://localhost/mysite/index.cfm it works just fine. It seems there is some confusion about the default documents being served as static files rather than dynamic files. This is supported by reading further details in the IIS error message:HTTP Error 404.17 - Not FoundThe requested content appears to be script and will not be served by the static file handler.Most likely causes:The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler.Things you can try:If you want to serve this content as a static file, add an explicit MIME map.Detailed Error Information:Module StaticFileModuleNotification ExecuteRequestHandlerHandler StaticFileError Code 0x80070032Requested URL http
Hi,I am trying to installColdfusion 2016 on a CentOS 7 Linux machine with an Apache Web Serveralso, same problem with Coldfusion 8 on a CentOS 7 Linux machine with an Apache Web ServerThe install script prompts for the "apache control script",The script does NOT exist.CentOS now controls the services via systemctrlHow do I get the install to work?Any ideas?I have skipped the web server configuration part of the install.Apache will just displays coldfusion scripts as text.I have tried using wsconfig, but doesn't work. (The 'ok' button is greyed out.I have tried to hack the httpd.conf file, but that doesn't not work.How do I get the install to work?Any ideas?I have modified the httpd.comfto use mod_run. still not working.I have extracted the mod_jrun "so" filesas outline in this linkhttps://www.apachelounge.com/viewtopic.php?p=5352
Installed CF 2018 on new server and copied over the neo-*.xml files from a previous version of CF 10. After logging into 2018 CF administrator, I can see the main categories on the left side of screen, and I can open each of these. However, there is no way to drill down into any of the sub categories... for example with Server Settings... there is no way to drill down to: Request Tuning, Caching, Client Variable, etc.Any help would be greatly appreciated.
Hi,I installed a new server (Win 2012 R2 / IIS) to migrate an old CF10 server to the new CF2018 version. Problem is cfthreads are not executing on CF2018. For testing purposes I setup a simple page as follows:======================================INSERT INTO TABLE (record1)<cfthread action="RUN" name="Test_Thread"> INSERT INTO TABLE (record2)</cfthread>INSERT INTO TABLE (record3)======================================Records #1 & #3 get inserted, but not record #2.Log shows:application.log = "Error","cfthread-1","11/29/18","16:02:42","","TEST_THREAD: coldfusion/runtime/CFPage".cf-out.log = Nov 29, 2018 16:02:42 PM Error [cfthread-1] - TEST_THREAD: coldfusion/runtime/CFPageexception.log = Caused by: java.lang.ClassNotFoundException: coldfusion.runtime.CFPageCouldn't find any info on this.Any suggestion?Thanks!
While tracking down errors in the CF2016 Admin console on Windows, I noticed an error in both Chrome and Internet Explorer when I edit a 'Scheduled Task'. (Side note: Lesson learned on case sensitivity, don't accidentally link to CFIDE/Administrator/index.cfm instead of CFIDE/administrator/index.cfm because icons and javascript functionality will be missing.)Error shown in Chrome debugging console:jQuery.Deferred exception: Unable to get property 'msie' of undefined or null reference TypeError: Unable to get property 'msie' of undefined or null referenceSCRIPT5007: Unable to get property 'msie' of undefined or null referenceUncaught TypeError: Cannot read property 'msie' of undefined at c._generateHTML (jquery-ui.js:332) at c._updateDatepicker (jquery-ui.js:299) at c._optionDatepicker (jquery-ui.js:290) at HTMLInputElement.<anonymous> (jquery-ui.js:341) at Function.each (jquery.js:2)&n
Hello,We are running two Red Hat 7 servers, one to run CF 2016 (Server A) and one to run Apache 2.4.6 (Server B). I’ve read instructions on how to get CF to run in distributed mode, but I’m not having any luck getting it to work. Is there a walkthrough on how to go about it?I’ve installed CF on the Apache server (Server B) to get the connectors set correctly, and changed the workers.properties file to point to Server A, ensuring the cfusion.port is the same on both servers. On Server B I’ve installed our homegrown CF application, complete with Application.cfm and index.cfm files but when browsing to Server B it returns an error: ERR_EMPTY_RESPONSEWhat am I missing? (I know I’m missing a lot!)Thanks for any help you can providePG
I want to have the first select box display vehicle makes (this part is working) and then have the second select box display related vehicle models based on the model selected in the first select box.I've researched this and based my code on answers I have found in the forum, however the second select box is not working. Following is my code:The CFC:<cfcomponent output="false"> <cffunction name="getProduct" access="remote" returnType="query"> <cfset var data="" /> <cfquery datasource="xxxxxxx" name="data">SELECT makeid, makeFROM makesfinalORDER by make</cfquery> <cfreturn data> <!--- Convert results to array --->  
I'm trying to make a pdf accessible using cfhtmltopdf 2016. I need to add alt text to images, I have check boxes that need tool tips for screen readers, I have links that need a specific tab order, and I have lists that use bullets but the graphics are read as graphic mc-rev and I would like it to say bullet instead. Is it possible to change these things using cfhtmltopdf 2016?Thanks in advance!
Following error appearing! - Connection verification failed for data source: orga2 java.sql.SQLNonTransientConnectionException: [MySQL JDBC Driver][MySQL]Client does not support authentication protocol requested by server; consider upgrading MySQL client The root cause was that: java.sql.SQLNonTransientConnectionException: [MySQL JDBC Driver][MySQL]Client does not support authentication protocol requested by server; consider upgrading MySQL clientAny help?
During a vulnerability scan, my ColdFusion 2011 server was identified as having several Eclipse Jetty vulnerabilities (version 9.0.7.v20131107). Will CF v11 be updated to address these? Or, will I have to manually upgrade Jetty to the secured version -- and if so, how?
Hi there,I'm new to CF and trying to format a timestamp but no matter what I try I am unable to get the DateTimeFormat function to work successfully so I am hoping that some one with more experience might be able to quickly identify what I am doing incorrectly. Goal: trim the timestamp <cfscript> unformattedTime = "{ts '2018-11-05 12:13:50'}"; formattedTime = DateTimeFormat(unformattedTime, "yyyy-mm-dd HH:nn:ss"); writeOutput(formattedTime);</cfscript>Expected Output: 2018-11-05 12:13:50Actual output: nothing
We upgraded from ColdFusion 11 to ColdFusion 2016 and noticed in the ColdFusion 2016 admin, Mappings, /gateway Directory Path is pointing to the ColdFusion11 directory, while /CFIDE is pointing to ColdFusion2016. Is this the correct setting? If not, what should /gateway be set to and are there any other places that need to be changed?Thanks!
Hello, all,Where I work, we have to adhere to a very strict set of security protocols. It makes my job difficult, most of the time. More so than any other job I've ever worked.We have to follow STIG guidelines, typically 300-400 pages of instructions. One of these guidelines states that we have to use httpOnly in our application.cfc/cfm files. We also set that in the web.xml file, so it should apply to all projects running under CF.However, we have been informed by our security experts that there is a finding. While they do see that we are using httpOnly, they claim that all of the session cookies have the httpOnly flag set, one of them is missing the secure flag. No mention of which one.What am I missing, here?V/r,^ _ ^
I recently upgraded my web application from Coldfusion 9 to Coldfusion 2016. Right now the two version coexist on the server (RED HAT). I have already shut down cf9 and removed all the old connectors. CF2016 can successfully talking to Apache and our web application seems working perfectly with cf2016. However when I trying to access the Admin Page through https://my_web_application_url/CFIDE/administrator/index.cfm, the login page still shows cf9; after logged in, the logo at the upper left comer shows cf10; in the setting summery actually shows version 2016. The screenshots were attached below. Any help would be appreciated!
Hello, I am migrating an application using an old version of Cold fusion(version 9 or before) and Crystal reports 8 to Windows Server 2016 and Crystal Reports 2013. In the old application upon opening crystal reports the reports are launched within the browser in a new window. The same behavior is not happening on Windows 2016, I installed Crystal Reports viewer but this is working only when I use the Server to open and access the application. When I connect from other client PCs its not opening as it is looking for a Crystal Reports viewer on the clients. How to make it work like the old application where it would launch within the browser it self ?Syntax I am using is<form name="form1" method="get" action="report_view.asp"><script><cfoutput>window.open('Crystal_reports/ORA_rep1.rpt?prompt0=#session.multi_rep_id#&user0=#Session.UserName#&password0=#Session.Password#', 'CrystalReport', 'resizable=1,HEIGHT=600,WIDTH=800');</cfoutput>document.l
We had an issue recently that i needed to do a quick analysis of what emails were in undelivered folder. For all my other servers i used the CF Admin to go to the Mail page and click "View Undelivered" which gives me to/from/subject in a table and a view to the formatted html in the messages. All my servers but one. That server throws the same error twice when i try to perform this action and then displays nothing.ERROR: Bind Failed, Element not found: mailitems [Enable debugging by adding 'cfdebug' to your URL paremeters to see more information]adding ?cfdebug after the url took me back to the administrator home page, but navigating again to mail > view undelivered mail threw the same errors but added no debugging.I have tried the following things to fix it:1. icacls on undelivr folder giving users full control of undelivr folder and all contents2. look for 0 length file in Undelivr folder - none found3. Clear all files from browser cache and historyCan anybody su
How can I troubleshoot and isolate a gradual build up of JDBC request to our database server (SQL) in CF 11. In the Fusion Reactor, the graph for JDBC starts to climb more and more. Slow web request start to build up also, and then overall web request response times (graph attached). I am an experienced Sys Admin but with little CF experience. I can provide more info as I'm sure it is pretty general. I have so far looked at network utilization (no latency) and resources at the OS level (memory, CPU and disk, NIC) are busy, but acceptable on both CF Servers (load balanced) and the database server. (I realize I need to look at the load balancer as well to be sure that is not having issues).When I restart the CF services, everything is fine for several hours even with a lot of connections/activity immediately resuming. Is there anything I can do at the Cold Fusion level? To me, since physical network and server resources appear normal, it seems like it may be in the code, however I'
Hello,I'm trying to force my <cfselect> results to push content down on a page instead of overlapping. I've tried wrapping the <cfselect> inside of a DIV that has been styled with a CSS (accordion).The accordion works, however, when I click on the drop down results instead of staying within the confinements of the DIV the results simply overlaps everything. Has anyone tried displaying their results in another manner using an accordion? Or,Has anyone been able to force the drop down to push the page's content down so it won't overlap?Thank you.
I know I can format the output of a date using DateFormat, but when the user clicks the download button, it directly downloads an excel file.I have a date field in MS SQL It is not a datetime, but just date. If I download the field directly I get {ts '2019-01-02 00:00:00'}.I tried CAST(MNCDate as Date) AS 'Collection Date' but got the same thing.Can I modify the way a date is displayed in the output from the query? I want mm/dd/yyyy.Thank you{ts '2019-01-02 00:00:00'}
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.