The official community for ColdFusion.
Recently active
We are upgrading from ColdFusion 9 to ColdFusion 11. We noticed a change in back button behavior. On pages running CF 9 the back button works, but on pages running CF 11, when clicking the back button, we get a browser "confirm form resubmission" message. Since it is the same browser, it is clearly a change in ColdFusion. Does anyone know when the change was made? Is there a setting that controls the behavior?Thank you,David
Hi,So after spending the best part of 3 weeks trying to get cfhtmltopdf working on CF11 installed on Linux (RHEL 7), I am about to give up. I have systematically:1) Read and followed all previous advice and posts on the subject, ensuring the additional packages are installed together with the required fonts (e.g. Adobe ColdFusion 11 Support for cfhtmltopdf (PDFg) on Linux » Adobe ColdFusion Blog etc)2) Checked the permissions are correct for the various directories3) Altered the apache config filesThe PDF service is definitely running on 127.0.0.1 port 8987. However, every time I run a test the page processes for ages and then effectively times out. The error messages are not very helpful:1) Message displayed on page - Error occurred whilst generating PDF - reason: Error occurred while handling request2) Application.log shows - 'Error occurred while generating PDF.Reason: Error occurred while handling request. The specific sequence of files included or processed is: /www/dev/htdo
Guys,We have may CFC in our system and we primarily use them as a means to organize the application, as we have no instance date, but to use them we have to create instances using cfinvoke. It is similar to this post made a over 10 years back: using CFCs statically without cfinvoke That said from what I can tell CF doesn't have static methods: i.e. a means to create a method in an object and just call that object without instantiating the entire objects (which I'd like to avoid doing).
We have migrated our application from Cf-8 to Cf-2016 (enterprise edition). With lot of difficulties, we managed to do the migration. We manually did all the settings and mappings from old version to new. We haven't done much on IIS side assuming it will automatically host the new CF version there and overwrite old CF8 mappings. Now my test server has both CF8 and CF2016 present. I just stopped the cf8 services. Now what's happening is - I need to start both the services (CF-8 and CF-2016) to run my application. If I only start CF-2016, then application doesn't run. It's weird.Can someone help here pls?Screen shot from IIS:
It should be on the debugging settings page next to Enable Robust Exception Information. I need to see CF debug info, not IIS errors!!!
Hey Everyone!This is what I hope will be helpful information to anyone pulling out their hair on why the hell the Patch 10 for CF2016 is showing Patch 8 or 9 as the major version on the CFIDE Info page.After patching our Test environment with Update 10 we noticed that there were some errors reported but that the patch install was complete.Our test environment can throw errors for non existent instances in our instances.xml - anyways, we didn't think much of it until we noticed the version was off in the CFIDE information page (2010.0.08.314028 instead of 2010.0.10.314028). What was alarming - was that if we didn't notice that version and relied only on the Update Level (chf20160010.jar) - we would have thought our patch was successful.After reviewing the patch log we noticed a fatal error that was not brought up during the patching - (why on earth wouldn't a patch roll back automagically if there was a fatal error??) To make matters worse, we were not allowed to run the uni
Hello community, we are still having some issues about timeouts. Users are reporting they get timeouts errors much before the 20 minutes set on the application.cfm file.I decided to do a CF2016 installation from scratch just to test different setting and while creating the connection to the web server using the Web Server Configuration tool, when I clicked on Advanced, I found these settings:At this point I am confused about the different places where different time outs can be adjusted.Would this affect the issue the users are having?Thank you in advance!
Hello, all,I'm submitting a form to itself (form target is set for an iframe on the same page) to generate an Excel file and offer it to the user for either download or open. So far, everything is working great except one minor thing.When the form submits, I add an animated circle 'progress' image to imply working in the background. Once CFHEADER and CFCONTENT offer the file, I'm trying to get the gif to detach or hide.I've tried using the iframe onLoad and onChange, but apparently that isn't being triggered. Is there another way to trigger some kind of event when the file is offered?<form target="exportToExcel" method="post" enctype="application/x-www-form-urlencoded">...<select id="FQDN" name="FQDN">...</select></form><iframe id="exportToExcel" width="1" height="1" src="about:blank"></iframe>Javascript:FQDN = document.getElementById('FQDN');... // set FQDN onchange to submit the formifrm = document.getElementById('exportToExcel');
Hello, all,Our public facing page has recently developed some bizarre activity.For days it will run with no issues, then it will suddenly start generating error emails stating that a CFOUTPUT tag is exceeding the allowable time limit for a few hours, THEN it will start sending emails to us indicating that a CFINCLUDEd file cannot be found (the file that was originally exceeding the allowable time limit.)Specifically, we have a file called trans_form_new.cfm. It is a cost estimate request form. It CFINCLUDEs a menu from another folder. The menu is the file that starts taking too long for a CFOUTPUT tag to complete. After a few emails stating the CFOUTPUT tag is exceeding the allowable time, we start getting emails from trans_form_new.cfm stating that CF cannot find the /otherFolder/menu.cfm file that is clearly present.I am not aware if the CF service (or the CF server) is being restarted during any of this. I _am_ aware that we have recently been applying
Could anybody tell me if there are any built in functions within CF2016 that would assist in importing a CSV file into SQL?At the moment I'm downloading a ZIP file from a data provider, taking the CSV out of it, putting it into Access, importing the Access into SQL, what a pain! It's time to automate it all!
I have the following cfif statement:<cfif status.datetime NEQ "" AND dateDiff('d',status.datetime,now()) GT 1 >It works however in rare occasions status.datetime might not be defined. When I change it to:<cfif isdefined("status.datetime") AND status.datetime NEQ "" AND dateDiff('d',status.datetime,now()) GT 1 >it stops working. What am I doing wrong?Thanks in advance for any help.Gary
I've been creating some forms and have run into an issue dragging text from Adobe Acrobat Pro DC into CF Builder 2016 V3.1.4 302777. If I drag and drop blocks of text (list items) some text gets "stuck" in the buffer and is kept at the end of the next block if it is smaller. It's like Builder doesn't clear the buffer before putting the new text into it and just overwrites from the start of the buffer leaving the old text at the end of the buffer. If I copy & paste the extra text is not retained. It appears to only happen on drag and drop operations.Has anyone else run into this issue?
I know the cfmailparam below marks my emails as Urgent (red exclamation mark) in Outlook mail:<cfmailparam name="X-Priority" value="1">However, I want the Urgent mark to show ONLY on the recipients in the TO: line and NOT the recipients in the CC: line. Is there a way to do that, or do I have to send two emails, one with the tag above and one without?Thanks.-Dale
Hello community, we have found today a very large isapi_redirect.log file under the C:\Coldfusion11\config\wsconfig\ folder.Does anyone know where can I set either the size or duration of the file?Thank you.
Hi,I have an application running on colfusion server and i am trying to install it.I have already done that with ColdFusion2016 and it is running smoothly yet when i try it on ColdFusion 11 i get an error.The setup is as follows:Under ColdFusion11/cfusion/lib:I add:libsodium.dlllibsodium-jna-1.0.4.jarcommons-codec-1.10.jarjna-4.2.2.jarAnd in the coldfusion Administrator, the lib path is added under Dcoldfusion.libPathWhen trying to use it in a java class from the directory of ColdFusion Class Path ,I am getting the error:Could not initialize class com.muquit.libsodium jna.SodiumLibrary$SingletonHelper In my java code:i load the library through:SodiumLibrary.setLibraryPath("C:/ColdFusion11/cfusion/lib/libsodium.dll"); and then i call:SodiumLibrary.cryptoBoxSealOpen Please advise,
Kind of a newbie question.... We started using Twilio for SMS. Inbound texts are sent via an HTTP post using webhooks. I'm a bit lost on how to convert the string I get to a structure I can work with. When I use: <cfset requestBody = toString( getHttpRequestData().content ) /> and dump requestbody to a text file I get:ToCountry=US&ToState=MA&SmsMessageSid=SMcaba8a187004c59cf83f1b97d3ff091c&NumMedia=0&ToCity=ROXBURY&FromZip=01760 ...etcLooks like & is the delimiter. Thanks in advance for any suggestions.Gary
I was about to buy a hosting from a very famous hosting provider. They showed a list of features which they were offering along with that hosting for which they were charging so much money. Most of those features are available online for free you just need to integrate them with your site. All I want to say is don't get fooled by a company which uses fancy terms for its services and expect from you to buy that.
I have code to create a pdf like this. It works great<cfdocument format="pdf" localUrl="yes" orientation="landscape" marginleft="0.10" marginright=".10" margintop="0.15" ><cfdocumentitem type="footer"> <cfoutput>Page #cfdocument.currentpagenumber# of #cfdocument.totalpagecount#</cfoutput> </cfdocumentitem><cfquery name="Loads" datasource="dsn">SELECT [company_id]FROM datatableWHERE ID =16598</cfquery>Rest of code based on ID</cfdocument>Now I want to loop through a list of ID's and create a combined pdf of all of the ID's in the listlike this<cfloop list="16958,17019,17020" index="idx"><cfdocument format="pdf" localUrl="yes" orientation="landscape" marginleft="0.10" marginright=".10" margintop="0.15" ><cfdocumentitem type="footer"> <cfoutput>Page #cfdocument.currentpagenumber# of #cfdocument.totalpagecount#</cfoutput> </cfdocumentitem><cfquery name="Loads" datasource="dsn">SELECT
The notes for 2018 update 2 state that this needs to be done manually if you have the auto-lock down applied:ColdFusion (2018 release) Update 2 I downloaded the update and followed suggestions from Charlie Arehart here:How to solve common problems with applying ColdFusion updates (in 10 and above) - Charlie Arehart's Server Troubleshooti… I stopped the main CF service and tried to run the update using the CF2018 JRE (java version "10.0.1" 2018-04-17)from directory: [coldfustion root]\jre\bin:command: java - jar [coldfusion root]\cfusion\hf-updates\hotfix-002-313961.jarI got this:Error: To use 'StartFlightRecording', first unlock using -XX:+UnlockCommercialFeatures.Error: The unlock option must precede 'StartFlightRecording'.Error: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit.What the hell is that? Now what?
I have ColdFusion 2018 Enterprise (64bit) on Windows server 2016. I can no longer to connect my access databases (*.mdb) through ODBC. The CF 2018 does not support access database? Thanks.William
I have downloaded and trying to install the hotfix update 8 to my CF 2016 environment. The update starts, shuts down CF application server, and then presents an error stating I don't have sufficient privileges to install. I am running under my admin logon and running cmd as admin just like I have installed all hotfixes in the past. I read an old post that related to this issue and they recommended using the non-GUI method by adding the -i console argument to my java command. That got me farther but ended up only partially installing the update which required me to back it out. In order to back out the partial update 8, I had to deinstall update 7 and then reinstall hotfix 7 which worked fine using the GUI method I always use. Therefore, I think it is something to do with the actual jar file itself.Any ideas would be greatly appreciated.
Hi,After scanning our new development ColdFusion 2018, we found following vulnerabilities: How can we fix this issues? Did ColdFusion installed node.js?Thank you.Apache Tomcat Default FilesThe remote web server contains default files.The default error page, default index page, example JSPs, and/or example servlets are installed on the remote Apache Tomcat server. These files should be removed as they may help an attacker uncover information about the remote Tomcat install or host itself.Node.js - JavaScript run-time environment is affected by multiple vulnerabilities.The version of Node.js installed on the remote host is 6.x prior to 6.15.0, 8.x prior to 8.14.0 or 10.x prior to 10.14.0 or 11.x prior to 11.3.0. Therefore, it is affected by multiple vulnerabilities. - OpenSSL Timing vulnerability in DSA signature generation (CVE-2018-0734). - OpenSSL Timing vulnerability in ECDSA signature generation (CVE-2018-0735
I recently switched CF from using the system account to a restricted user account. I just noticed that my captcha images are not displaying (they are 404's), I thought I must have to give access to another folder (full access to web root and Coldfusion2016 folder given), however, I just switched it back to using a system account and for good measure rebooted the server, it's still not working.Here is an example of an image that is giving a 404https://www.kigso.com/CFFileServlet/_cf_captcha/_captcha_img5757781384502625729.png This has been working fine for years so I'm a little lost as to what might be causing itCan anybody help.ThanksMark
Hi,I am using CF11 with SQL server 2012 & IIS8.0 on windows server 2012.When I am using a CFGRID bind to a CFC and passing 2 or more than 2 parameters from a FORM, it fails for an incorrect JavaScript.Using the below code:<cfgrid attributeCollection="#args#"bind="cfc:MaintenanceMenuComponent.getLookUpData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{appl},{search})" onchange="cfc:MaintenanceMenuComponent.editLookUpData({cfgridaction},{cfgridrow},{cfgridchanged})" onerror="errorHandler" bindOnLoad="true"> Getting Result:JavaScript Error for:SyntaxError: missing ; before statement ...id'] = 'applid,appl,,value;'search,search,,value';var _cf_gridDataModel = Ext.cr...I have checked the Adobe blog and found that this type of bug (Bug ID# 3759630) is already reported and fixed in ColdFusion 11 Update 1 (Suggested by Anit Kumar Panda Ref: https://bugbase.adobe.com/index.cfm?event=bug&a
I have a scanned in doc that has different size pages.When I pick "Choose paper source by PDF page size" all the pages print on 8x14".This option used to work in the past.
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.