The official community for ColdFusion.
Récent
Where is the setting to change the maximum number of threads for CFTHREAD in Coldfusion 2018 Administrator?
Hello, all,I just recently learned that DISA (Defense Information Systems Administration) considers a robots.txt file as a vulnerability finding Category II.https://vaulted.io/library/disa-stigs-srgs/apache_site_22_for_windows/V-2260So, I will be forced to remove the robots.txt file from our public site. Does anyone know of another way to prevent search engines from spidering certain sections of your website? I just want to keep spiders out of our components folders.V/r,^ _ ^
When I try to open a large file having 2700 lines of code in CF Builder 3, it becomes completely unusable and in the task manager showing Not Responding.
I have to display a modal window with bootstrap to display my error or warning messages, the modal page is inserted on each of my pages, The problem is that by doing my tests, I just found a page which contains 3 frames, each of which has a part of the form. My modal page then inserts on each of them but when displaying a message it remains prisoner of the frame, does not put on top either.Someone has a solution?thank you so much
I am at my wits' end attempting to integrate Google's recaptcha v2 with a simple HTML form. I hope someone can help.In the <head> of the form page I have <script src="https://www.google.com/recaptcha/api.js" async defer></script>as directed by Google.Within the form I have <div class="g-recaptcha" data-sitekey="xxxxxxxxxxx"></div>where xxxxxxxxxxx is the sitekey provided by Google. When the form is displayed, this is properly creating the recaptcha widget.On the target page that processes the form submission, I have this: <cfset form.RecaptchaResponse = ""> <cfif StructKeyExists(form, "g-recaptcha-response")> <cfset form.RecaptchaResponse = form["g-recaptcha-response"]> </cfif> <cfhttp url="https://www.google.com/recaptcha/api/siteverify" method="post" result="capt
Hi everyone,Its been stumping me for a few days and I thought I'd ask the experts out here.Basically, its not recognizing my variable, although it has been set already.Am I using the wrong syntax?I'm using ColdFusion 10 and using Filemaker Pro Advanced 15.
I moved from CF8.01 a while ago to CF2016, however my server is still on Windows 2008 Server R2.Every time I need to add a new SSL cert for a domain I have to add and pay monthly fees for another IP number as Win 2008 has to have one IP to one SSL.I'm thinking of moving to Windows Server 2012 R2 which would allow me to use one IP for lots of SSL's.I don't want to do a bare metal install as I don't have time, so I'm thinking and presuming I can do an upgrade over the top of my existing Win 2008The question is, has anybody done such an upgrade and has it worked fine, or am I likely to suffer problems and down time or is it as simple as running and upgrade and making a coffee? I believe CF2016 is officially supported on Win2012 now, right?Will 2012 give any performance advantage with a newer version of IIS.Correct me if I'm wrong, CF won't run on Windows 2016. I think 2012 might be a better option anyway as it's had plenty of time to weed out all the bugs.Appreciate some feedbackThanksMar
Hi,I'm trying to get in contact with Adobe about my invoice, but finding it impossible to find the information or to get in contact with Adobe.On the 24th of July, I purchased Coldfusion 2018 Standard, I see it in my account under products, but nowhere is my invoice to be found and I NEED it.Is there anyone that can help me? Best regards,Steven
I have recently been asked to ensure our site scan is A+.. currently we are at an A because of the Content-Security-Policy header. Currently the value is:default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' *.google-analytics.com *.googleapis.com *.mysite.com;The warning from the scan is that the words 'unsafe-eval' and 'unsafe-inline' are dangerous. The issue is that whenever I remove those from the policy, I get the following error:refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' *..... etc.All of my CS and JS are in their proper files and there is NO inline JS or CSS on my page. It appears that coldfusion is adding script as shown below.. right above my </head> tag.. and that is what is causing the error to occur. If I change my <cfform tag to just <form the error goes away. Any ideas how I can fix this?<script type="text/javascript"><!-- &nb
Our company was doing security scans on our https website and reported to me that the cfglobal cookie is not being served securely. I did some reading and tried the following solutions to fix this. After checking the headers I still have an unsecured cfglobal cookie. Here's what I tried:CF Administrator -> Memory Varialbles -> Check Secure Cookie and HTTPOnlyin Application.cfc added the following cfscript code:this.sessioncookie.httponly = true;this.sessioncookie.secure = "true"Header:I don't know what else to do. I thought checking secure cookie in CF Administrator forces all the cookies to be served securly???
We recently upgraded to ColdFusion 2016 having run ColdFusion for over a decade. Most everything has gone well except a weird issue with email. Every CFMAIL function now strips out spaces when displaying multiple variables in a row. For example, many automated reports that generated output through CFMAIL have something like this in the code:Example Query:<cfquery name="GetUsers" datasource="database"> Select User_Name_F, User_Name_L From Users Where Active = 1 Order By User_Name_L, User_Name_F</cfquery>Output Code (in body of CFMAIL tag):<cfoutput>#GetUsers.User_Name_F# #GetUsers.User_Name_L#</cfoutput>Output Result (in multiple email clients):JohnDoeBefore the upgrade this displayed as "John Doe" correctly with the space between names and has for years. I can force a blank space by hard-coding it in, which I shouldn't have to do. I can a
Hellocan coldfusion 11 supported running Azure App Service?can I extract the session state and consistent data out of the coldfiusion application (azure redis, azure blob, azure sql) when runnin coldfusion 11.I am aware it is possible on coldfusion 2016.Thanx
We are tightening our sites against cross scripting attacks and so forth and used Veracode to scan our source code and it came back with some items to address that are in the CFIDE/scripts directory, such as cfajax.js and ext-all-debug.js to name a few. It did not like the eval() commands in there according to the report.Has anyone else come cross this and did you do anything to remedy it? Our code for the most part is fine but CFIDE had a lot of files this scanner listed as severe items vulnerable to attacks so just wondering if anyone else has had to deal with this and how.We are using CF11 with all the latest updates on a Windows server.
Hi,My website works fine locally but for some reason when I put it onlline I'm getting the error:The value '' cannot be converted to a number.can anybody point me into the right direction as to what might be causing this?Thank you,MIke
Hello, I would like to know if cfmessagebox works with version 5 of coldfusion, otherwise how to display a window with an error message in a modal window. several new browsers so Edge does not allow the display of a window without the address bar.Thank you
Hello everone,I am using CF 2016There are some CF Build-in Spreadsheet functions like SpreadsheetFormatRows, SpreadsheetAddRow, etc.... to help developer to convert a CF table page into a Native Excel file. Unfortunately there is no CF Build-in power point table functions such as PPTAddTable, PPTAddRow, etc to convert CF table page to native Power Point file.The reason I want to convert to native table in PPT because our user will need to edit the data in the table of the PPT fileI wonder if anyone out there ever have a method to do such the jobWe don't install the MS Offices products in the Production server machinePlease adviseThank you so much
Hi,I have CF9 on Windows 2003 (32 bit) and need to connect to Oracle 12c (Windows 2016 64 bit). Could someone, please let me know if it's possible and refer me to a document on how to do it.When I try to create data source using the following, I get an error. Driver: otherJDBC URL: jdbc:oracle:thin:@db01:1521:APOLLODriver class: oracle:jdbc.OracleDriverThank you,Eugene
I have file names like thisP_PAUL-QR-20180827183000.xlsWhere 20180827183000 indicates 08/27/2018 at 6:30PML_PAUL-QQ-20180828140000.xlsWhere 20180828140000 indicates 08/28/2018 at 2:00PMHow do I extract the 20180827183000 or the 20180828140000 from the file name string?
Hi there! We have a few sites that don't require a full-blown CMS like Mura but still require some self-administration features like text editing and image/file uploads. I've been using Redactor, but the "file manager" plugin is very rudimentary and gets unwieldy with more than a dozen or so uploads.What do you suggest for such an admin? The previous posts on this forum on the subject appear to be from years ago. The downloadable version of CKEditor no longer supports CF, but it looks like they have a cloud version (and we're not opposed to paying for such a service if necessary.)Thanks!
I am on a Windows 7 64-bit pro machine reading network files. It seems that when I have a cfc that gets a little too long then I randomly have CFB3 freeze up and never return. I have to force it closed and then open it again. I luckily have a copy of HomeSite that I use to edit these files with no problem, but it is getting annoying as it seems to be doing it more and more. When I say large files they are not that large, the one that just froze up is only 2345 lines of code.Searching the Internet I find things to try but they are all for CFB2. I have tried a few things but I still seem to have the problem.I will try right now to Disable Syntax Checking and see if that helps, but it is unfortunate that I have to disable all the features to edit my files. Anyone have any other ideas to try to help it work better? And I can't seem to find a roadmap to CFB, are they going to continue to make it better?
Hello everyone,Does anyone know if ColdFusion 2018 has an updated connection to Amazon AWS S3? I am getting this error from ColdFusion 2016: "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256."This happens for newer regions since Amazon updated their encryption for any S3 regions added after 2014.Thank you for any help you can provide!
Currently we are having as single scheduled for multiple instances. We are considering changing the logic to create one scheduled job per instance. What shall be the performance hit on the server with multiple (20+) scheduled jobs running every minute??
I have a web web service like "https://test.com/WS/serviceTest.cfc?wsdl" which is calling another cfc file ServiceTest2.cfc.1. serviceTest.cfc<cfcomponent style="document" namespace = "http://DefaultNamespace" output="false"><cffunction name="GetName" returnType="any" access="remote"> <cfargument name="input" type="ServiceTest2[]"> <cfdump var="#input#"></cffunction> </cfcomponent> 2. ServiceTest2.cfc<cfcomponent><cfproperty name="FirstName" required="No" type="string"><cfproperty name="LastName" required="No" type="string"> </cfcomponent> Getting the below error:AXIS errorSorry, something seems to have gone wrong... here are the details: Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : [Lservicetest2;][java.lang.ClassNotFoundException : servicetest2]
I get this error trying to map a microsoft access database with cold fusion 18 dev. edition on windows 10,64 bits....Connection verification failed for data source: Labarquejava.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.
I am trying to have cfmail send a list (the result of a query) from an access DB. I would like each value separated by some blank lines. I have inserted </br> but they don't get treated as html, they are just sent along with the results:<cfquery name="P1" datasource="DB"> SELECT * FROM Table1 </cfquery> <cfmail query="P1" from='user1@gmail.com' to='user2@gmail.com' subject='Testing CFMail'> <cfoutput> #Col2#</br></br></cfoutput></cfmail>The resulting email looks like this:Result1</br></br>Result2</br></br>Result3</br></br>I would like the </br> treated as html and not included in the email. Any suggestions would be appreciated. TIA.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Vous avez déjà un compte d'utilisateur ? Connexion
Pas encore de compte ? Créer un compte
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.