Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
Hi everybody! I’m struggling with an issue regarding a validation form and showing an error. If the user wants to Add a New User, and if he clicks Submit button without entering a value(number) into the Age field, an error message must be shown. After I click the Submit button, an error from ColdFusion administrator appears…While editing/adding the user information, the Age validation should be in place. If no value is provided, an error should occur. Empty value should not be allowed. // Some validation formpublic array function validateForm (required string last_name,required string first_name,required numeric age)output="false"hint="Some validation to from not empty"{var Error = arrayNew(1);if(arguments.last_name EQ ''){arrayAppend(Error,'Please provide a valid Last name');}if(arguments.first_name EQ ''){arrayAppend(Error,'Please provide a valid first name');}if(arguments.age EQ '' OR NOT IsNumeric(arguments.age) ){arrayAppend(Error,'The age is empty or not number');}return Err
ColdFusion2016 services are not getting started, It was running since last year now they are stopped suddenly, while I'm checking the cf-out logs it says "Either the server is already running or some other application is using the HTTP port"CF-Error logs says "failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak." I have checked no other application is using it except coldFusion.When I stop IIS site then ColdFusion services gets started. Can any one help me here.
We are pleased to announce that we have released Update 7 of the 2018 release of ColdFusion. ColdFusion (2018 release) Update 7 addresses vulnerabilities that are mentioned in the security bulletin, APSB19-58. The update includes a fix for the ColdFusion Administrator UI. The vulnerability affects Windows platform only. Users on non-Windows platform need not apply this update. For more information, see the tech note. Please update your ColdFusion versions today. Let us know if you face any issues while installing the updates. Your feedback is essential to further enhancing the product. We thank you for your continuing support. To report an issue with the update, file a bug using the public tracker https://tracker.adobe.com/ or send an email to cf.install@adobe.com.
For reasons that don't require advice to upgrade to newer software, I'm trying to install an older version of CF server coupled with Coldfusion Studio. I'm doing this on a VM. I got CF5 / CF Studio 4.5.2 installed under Windows XP. But, WinXP is, as far as I can tell, unusable with only spotty access to the internest and, worst of all, IIS allows the creation of only one website. So, I created a VM running Windows Vista, assuming it was old enough to run the CF combo I described above. But, it turns out that CF5 is incompatible with Vista. Won't install. So, given my stated goals, what operating system and what version of CF Server do I need to install? I could use Homesite or Homesite+ instead of CF Studio. So I'm not locked in on that. My problem with later operating systems is that the other software I want to use gets buggy under Windows 7 and unusable under anything later than that. Many thanks,John
Hello, all, We are using Apache web server and have modded the mod_jk file to pass things like CN to ColdFusion Server. This has worked just fine for many, many years. However, we will soon be experiencing a change with our CACs that has us scrambling to make changes before the deadline. I'd like to switch our apps to authenticate via Principal Name instead of CN. What changes do I need to make to our Apache config files to pass Principal Name to CF Server? V/r, ^ _ ^
Is it possible to get an actual lockdown guide for CF 2018?The documentation for the auto-lockdown tool is not very detailed and it has been finishing with errors, with most of the lockdown tasks remaining incomplete.I've hardened instances from CF8 and up several times before - at this point it would be much faster to follow a guide rather than continue to troubleshoot the tool.
Hi everyone! How can I implement a login button to redirect to ADFS and afterwards to logout page? And after that to implement a logout button request logout to ADFS.
Will Adobe be posting the Java SE 8u241 Update File? I usually get it here - https://www.adobe.com/support/coldfusion/downloads.html#additionalThirdPartyInstallers
I would like to know the current password for my data sources in ColdFusion 11, what is the process for that... If the password is in encrypted form how to decrypt it.
Hi everyone, I have a new web server running Server 2016 and CF 2018 Standard. No issues with install and the cfadmin site opens and runs fine. However, the additional sites we have added will not run cfm or any of the other associated file types. All it does is prompt for a download. I've checked everything I can think of and still no luck. Below is the list of what I have tried. I'm hoping someone out there has a silver bullet for this issue. Appreciate any help you can provide. Thanks! Have removed and added the web servers in the Adobe Web Server Configuration toolHave removed and added the app pools associated with the web sitesHave checked all file permissions to make sure both the CF user and the App Pool have accessHave checked all CF settings with a different server (same config) that is working as expectedHave checked all IIS settings with a different server as well
I have recently move to a new 2003 WIN server running IIS 6.0. Last night the Coldfusion server crashed and when I was checking the c:\Coldfusion\runtime\logs I came across the following error.10/11 18:32:01 Error [jrpp-9620] - Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: D:\website_directory\index.cfm, line: 838SQLException while attempting to connect: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: database name:1433. Reason: Connection timed out: connect.[Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: xxxxxxxx:1433. Reason: Connection timed out: connectjava.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.schedul
Does somebody know how to solve the following problem?Question to ABCpdf.net:I try to generate a PDF from ColdFusion via theABCpdf.dllIt's all 64 bit.And I get the following error:Is it a bug in ABCpdf? I do not use the Get_Units function directly.Answer from ABCpdf.netIn the past other clients have reported something similar. Something occurred on the transition between CF11 and 2016. It used to work, and then somewhere between the two releases, something went wrong in CF.The UnitType code in the V11 namespace is character-for-character identical to the one in the V10 namespace. Indeed it is also identical all the way back to the V8 namespace.I wonder if there might be a UnitType class or enum in Java. If so I wonder if perhaps Java is getting confused about which one is which. A difference might occur if you had one namespace selected but not the other. Similarly there are UnitType enums in both V10 and V11 so perhaps it is confusing those.But... all very speculative. Might I suggest
I haven't modified the code in a long time, but I receive this error:Parameter validation error for the sort function. The function accepts 1 parameter(s)Any ideas?Here is my code:<cfoutput> <CFHTTP url="http://www.zipcodeapi.com/rest/a3Pk3kJ1EvbCMrGPtI2kFH0u27u3i4heyZzsUBPv7XZDwxI0cHef4QqNOKKocXjx/radius.json/#zipradius#/#radius#/mile" method = "get" result="httpResp"> </cfhttp> </cfoutput> <cfset zipCodeJSON='#httpresp.filecontent#'> <cfset zipCodeStructure=#deserializeJSON(zipCodeJSON)#> <cfscript> zipCodeQuery=queryNew("id,city,distance,state,zipCode","Integer,Varchar,Decimal,Varchar,Integer"); for (row=1; row lte arrayLen(zipCodeStructure.zip_codes); row=row+1) { rowdata=[row,zipCodeStructure.zip_codes[row].city,zipCodeStructure.zip_codes[row]. distance,zipCodeStructure.zip_codes[row].state,zipCodeStructure.zip_codes[row].zip_code]; queryAddRow(zipCodeQuery,rowdata); } zipCodeQuery.sort(zipCodeQuery.findColumn("distance"
the application has unexpectedly quit getting error when trying to uninstall colfusion 2018. Can pleas soem one give me work around for this. I need to unstall exisitng in reinstall new CF 2018
Hello, I have about 500 images that I want to display in rows of 5. Currently, I only know how to display them in 1 vertical column like this: <CFOUTPUT QUERY="List" GROUP="AuthorID"><CFOUTPUT><TR><TD ALIGN="left" VALIGN="top" WIDTH="542" style="padding-left:2em;text-indent:-2em"><A HREF="#request.BaseURL#/book.cfm?-#URL_Title#-&BookID=#BookID#"><img src="#request.BaseURL#/images/#Image#" width="50"></A></TD></TR></CFOUTPUT></CFOUTPUT> Thank you for your help!
I'm working on an SSO solution for a client. At this time I'm able to encode an authentication message and successfully send it to the ADFS server. The ADFS server handles my login and then returns to my site with an HTTP-POST response. In the POST there is an ADFS encoded SAML message I need to decipher. I found a few samples of code but none have worked. This one seemed to have the most promise but...<cfscript>// Decode the query string from Base 64 Decoder = CreateObject("Java", "sun.misc.BASE64Decoder").init(); SamlByte = Decoder.decodeBuffer(Form.SAMLResponse);// Create Byte Array used for the inflation, the CF way ByteClass = CreateObject("Java", "java.lang.Byte").TYPE; ByteArray = CreateObject("Java", "java.lang.reflect.Array").NewInstance(ByteClass, 1024);// Create Byte Streams needed for inflation ByteIn = CreateObject("Java", "java.io.ByteArrayInputStream").init(SamlByte); ByteOu
Please download the attached file to view this post
Hello guys! I tried to decipher this SAML Response, it worked, it shows the string on the screen. Now I want to to do the opposite, to deflate the response, from string to binary, do I have to change something in the code or use another function? The entire code is here: <!--- We take a base64 encoded, deflated SAML response string ---> <cfset SAMLResponse = "fVPNbtswDL4X6DvwthZwgmB7gCEJCvSSLUA39KzItE1EFj1Stuc9/Sgl3doB3cWwLX7k90M98gw1o0LqEMZIE4oizCznz7c3j+8fwvdY21dysabYvin4oHAiSR3YGVBSGEOi3iWEJj+cIKAqxkQuQEPWBDThYFPYekxIobTr0XcukvYK3EBnVCiV2bqGbx1pBRQhjRIrEPwxkhjPc+Q5YN1ihuTRVpdYlgrmjnxnc5wkrGEmo5eH7KiFnYvt+vbm9uYoOBGPCl+2T1vrPqEmal0ijvoXsmftycOBvPDsJuvh/LkVHk3tw88hsKDA3f7r7uG+OJAxzxTOFJXjK9jWtHESHhY4Cp8Q7p4P2+M9dPmwR6ej4AUtrqbCAhrh/p8wOozFGGc2xbDAp82m2mw2sKAT+xXqCjxHs7m/5mT8Enmzvucag744ZeWGxonDmEetjbMJzifUD8KTcbHMlBJNlJaizBy/Vlfw8LS13I/BRX8GPinK5LLzMGRtFx2BjUHWHjC21lzPS848om0ZDqlTqEfJLPPUj6usAMyFCS2/TIHKqmnKNbY+BWja7IejmLL+MmboFiVfhOXPy4Y1Vttzj6WueePhGg7miSmU6o
Hello,I have time-based tasks stored in a database table. I want to run a scheduled task in CF that runs every 10 min and scans the table for tasks that should have been completed in the last 10 minutes. I'm looking for help writing the CFIF statement for the time range. Something like: If query.time is between Now and LT 10 min Ago Thanks in advance for any suggestions... Gary
Hi All,We use CF 2016 and we moved to Azure over a year ago. We maintain all the Component files under a separate folder. We recently had a code deployment to production and we noticed any changes we make to that components folder is not being seen by the application. We even tried making a simple cfdump to one of the existing components and still that is not being seen by the application. We recently installed CF update 13 as well. Any help is greatly appreciated. Thanks!
We have coldfusion 2018 enterprise on a windows 2016 server. I need to install coldfusion 2018 update 6 and 7. Are the updates cumulative? Can I skip the update 6 and just install update 7? Thanks. William
[Cordova Build] 01/28 at 11:35:37 Executing Command: npm -version[Cordova Build] 01/28 at 11:35:38 6.13.4[Cordova Build] 01/28 at 11:35:38 Cordova build is being created under: C:\Users\a\cordova\primero\[Cordova Build] 01/28 at 11:35:38 Executing Command: cordova -v[Cordova Build] 01/28 at 11:35:39 9.0.0 (cordova-lib@9.0.1)[Cordova Build] 01/28 at 11:35:40 Executing Command: cordova build --debug android[Cordova Build] 01/28 at 11:35:42 Checking Java JDK and Android SDK versions[Cordova Build] 01/28 at 11:35:42 ANDROID_SDK_ROOT=C:\Users\a\AppData\Local\Android (recommended setting)[Cordova Build] 01/28 at 11:35:42 ANDROID_HOME=C:\Users\a\AppData\Local\Android (DEPRECATED)[Cordova Build] 01/28 at 11:35:42 Subproject Path: CordovaLib[Cordova Build] 01/28 at 11:35:42 Subproject Path: app[Cordova Build] 01/28 at 11:35:44 Downloading https://services.gradle.org/distributions/gradle-4.10.3-all.zip[Cordova Build] 01/28 at 11:35:45[Cordova Build] 01/28 at 11:35:45 Exception in thread "main" j
Stored procedures have always given me trouble, I'm not sure why.I want to call an Oracle Stored Procedure from a piece of CFML code.My CFML code:<cfstoredproc datasource="purload" procedure="PUR_XML_LOAD.load_raw" returncode="yes"> <cfprocparam cfsqltype="CF_SQL_FLOAT" value="999" type="out"></cfstoredproc>The error I am getting:[Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 18:PLS-00306: wrong number or types of arguments in call to 'LOAD_RAW'ORA-06550: line 1, column 7:PL/SQL: Statement ignoredTest PL/SQL code that works in Oracle SQL Developer:DECLARE foo NUMBER :=999;begin PUR_XML_LOAD.load_raw (foo); dbms_output.put_line('>' || foo || '<');end;The top of the stored procedure:create or replacePACKAGE BODY PUR_XML_load AS -- *** PROCEDURE: PUR_XML_load *** -- Loads values from previously-validated XML file -- into the raw_pur table PROCEDURE Load_raw (res_val OU
Hi, I need to use ADFS Authentication implementation for Coldfusion, is someone here who can guide me how to implement it? Thank you guys!
Hello, we are working on the mobile app for the store. The ERP software use Cold Fusion to generate PDF the invoice for customer. But ERP database do not store the PDF file. The challenge is we need to send PDF invoice to customer mobile app, like the proven date of purchase and start the warranty period from the date of invoice. Anyone help us to know how to get the PDF after Cold Fusion done in ERP and put it into customer mobile app?
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.