The official community for ColdFusion.
Recently active
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'}
Hello fellow CFers,The Stack Overflow 2019 survey was just launched. Each year they ask developers to share information about their jobs and what languages they develop in. it would be great if the ColdFusion/Lucee community would participate and let them know you're an active CFML developer.Here's the link to the survey:2019 Stack Overflow Annual Developer Survey
I am in need of a good “dynamic form builder” that integrates well with ColdFusion 2016/2018. Any suggestions?
I was looking for a source/reference to help me implement our own event gateway type. I could not find out an example on the internet for the same.Can someone please help me on this with step-by-step details. Also, I would like to know, in which scenario we should go for a custom event gateway type.Thanks,
i have some code which reads a datetime field from an sql database and then formats it using lsparsedatetime.this has worked for years under previous CF versions and produces{ts '2018-01-11 08:00:00'} when passed2018-01-11 08:00:00.0read from SQL database.when passing this in CF2018 it refuses to format it but produces no error just the original 2018-01-11 08:00:00.0i have set <cfset loc = setlocale("English (UK)")> on both machinesaccording to my hosting company the date/time settings are the same on both servers though the old server is running older versions of windows/iis/sql serverbut as the db date is the same when retrieved from both databases i can only assume CF is the issue?any help greatly appreciated
Good afternoon everyone Here is coldfusion9 company and want to use the 2018 version. Our file is application.cfm yet. Code in coldfusion 9 is compatible with the 2018 version ?? Thanks
Is it possible to pass a value to a datefield cfinput?I have an edit form that is auto filled from a database - I can fill text fields by passing value to them. I tried value and default in the type="datefield" and it doesn't seem to work.<cfset ThisDate= "2016/01/20"><cfform id="Add" name="Add" method="post" action="UpdateDonation.cfm" > <cfinput name="test" type="text" value="#ThisDate#"> <--- Works but no date picker <cfinput name="test" type="text" mask="yyyy/mm/dd" default="#ThisDate#"> <--- date picker, but no date prefilled <cfinput name="test" type="datefield" mask="yyyy/mm/dd" default="#ThisDate#"> <---- Gives error</cfform> What am I doing wrong?Thanks!
Good afternoon. One more doubt. I have a server with 4 cores and I want to buy ColdFusion 2018 Standard.Will I have to buy 02 licenses?
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.