The official community for ColdFusion.
Recently active
Does anyone if it is possible to manually set the CGI.HTTP_REFERER? If so, how do I accomplish it?
I have a strange issue where I have two web sites:D:\inetpub\wwwroot\andD:\inetpub\webapps\which are bound to different domains.Everything on the default (wwwroot) works fine with ColdFusion.However, on the "webapps" site it will ONLY load CFM files if I call them implicitly as a directory.For example:http://my.site.com/loads the index.cfm just fine, however:http://my.site.com/index.cfmalways returns a 404 error. Is there some sort of mapping or permission I need to set to make this work?I checked wsconfig and it is set for All IIS websites. I also made sure the IIS_IUSRS permission is set on it.Anyone seen this? I appreciate any advice.Thanks!Dan
How do you access the form values in javascript using the variables that are passed to the onvalidate function? I cannot find an example anywhere.<cfform><cfgrid name = "FirstGrid" width = "500" height="500" bgcolor="##FFF8DC" onvalidate="validateMyFields" query = "GetCourses" insert = "Yes" delete = "Yes" font = "Tahoma" rowHeaders = "No" colHeaderBold = "Yes" selectMode = "EDIT" insertButton = "Insert a Row" deleteButton = "Delete selected row" ></cfgrid><br><cfinput type="submit" name="gridEntered"></cfform><script>function validateMyFields(form, field, value) { // What do you do to acces the value of the fields in the cfgrid here???}</script>
Working with coldfusion developer edition.Any file extension, such as .html or .css, throws a 404 error.Of course, I need to be able to read a .css file into a template, so how do I do that?
N00b here making slow headway turning spaghetti code into more suitable code. I am tinkering with a very simple CFINVOKE of a component. On the page is this: <cfinvoke component="Products" method="get_active_products" returnvariable="p" specificProduct="BA100"></cfinvoke><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Component Play</title></head><body><p>Hi.</p><cfdump var="#p#"></body></html>And in Product.cfc is this: <cfcomponent displayname="Active Products CFC" hint="Gets all active catalog products"><!--- This function gets all the active products and their data from the DB ---><cffunction name="get_active_products" hin
Hi There,Does anybody know how I can fix this? All was going great, then this happened and I don't know why.I am running Mac OS X 10.11.3, java version "1.8.0_65" Using ColdFusion 2016 & ColdFusion Builder 2016. In the ColdFusion 2016 Builder the Launch Server Monitor & Launch ColdFusion Administrator are greyed-out, and can't be clicked on.I would rather fix this instead of having to re-install ColdFusion!Here is the coldfusion-error.logPlease ask anything that I might have left out.Thank you,Johnny
Oh my word. Years ago I did a project in ColdFusion spaghetti tags, and am now back on it and wanting to improve it. Learning about Components, so I can stash the mostly reused code properly. I'm following a simple how-to on components from Components | Learn CF in a Week. And the darn thing will not work.I keep getting the error: But... syntax looks fine to me, and it's a direct cut and paste from the tutorial, anyway. Here is Greeting.cfc: <cfcomponent> <cfscript> component { variables.baseGreeting = "Hello, "; public string function getFullName (String firstName, String lastName) { var fullName = arguments.firstName & " " & arguments.lastName; return fullName; } public string function getGreeting (String firstName, String lastName) { var fullName = getFullName(argumentCollection=arguments); var greeting = variables.baseGreeting & fullName; return greeting; } }
Tried to debug in ColdFusion Builder 3 and got this error, "The Debug Agent has encountered an internal error." Any suggestion?
Hello,Yesterday I found that an IIS website that is supposed to be connected to its own CF instance is actually connected to another CF instance. Our configuration is thisWindows Server 2008 R2, Coldfusion 9.0.2 Multi server Enterprise edition, IIS 7Coldfusion instances: P1, P2, V1Clusters: Primary1: contains P1 & P2IIS website site1 is connected to Cluster Primary1IIS website site2 is connected CF instance V1I stopped CF instance V1 but the IIS website V1 was still up and running. After much digging I found that website V1 is actually connected to CF instance P1, not CF instance V1. I used the web config tool to connect site1 to CF instance V1. In IIS the JWildCardHandler for site1 points to \JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll. JWildCardHandler for site2 points to the same directory \JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll. Here in lies my dilemma. How do I get site2 JWildCardHandler to point to its own folder under \JRun4\lib\wsconfig, say 14 instead of 3
I have a cfform which contains a cfgrid and prior to the 9 to 10 update, upon submission of the cfform, the selected row of the grid was passed/posted to my form action page as:__CFGRID__gridForm__renewalGrid This contained all the data from the selected row, I.e.:__CFGRID__COLUMN__=PROJECTID; __CFGRID__DATA__=T01081002AP; __CFGRID__COLUMN__=APPLICATIONS; __CFGRID__DATA__=PQFD; __CFGRID__COLUMN__=OWNERUID; __CFGRID__DATA__=HT2008; __CFGRID__COLUMN__=TEAM; __CFGRID__DATA__=Roberts; __CFGRID__COLUMN__=ROLE; __CFGRID__DATA__=AASBOAPMX; __CFGRID__COLUMN__=REGION; __CFGRID__DATA__=Southwest; __CFGRID__COLUMN__=EXISTING; __CFGRID__DATA__=K8045F; __CFGRID__COLUMN__=SOD; __CFGRID__DATA__=0; __CFGRID__COLUMN__=INITIALEMAILDATE; __CFGRID__DATA__=01/28/2013; __CFGRID__COLUMN__=MESSAGEDATE; __CFGRID__DATA__=; __CFGRID__COLUMN__=SECONDEMAILDATE; __CFGRID__DATA__=; __CFGRID__COLUMN__=ESCALATIONDATE; __CFGRID__DATA__=; __CFGRID__COLUMN__=COMPLETEDBY; __CFGRID__DATA__=TH2878; __CFGRID__COLUMN__=COMPLE
I'm encountering an issue where I get, what appear to be, frequent exception errors. Each says "Variable 'Error' is undefined" in line 73 of my application.cfm -- which is the same line that I'm calling for `<cfdump var="#error#" label="Error">`.That cfdump is being sent to me via email so I can address errors, but the error message really doesn't reveal anything helpful, because it appears that the coldfusion variable "error" (a built-in variable) isn't being established.I'm using application.cfc and error.cfm as my two main files to handle errors and can attach the code, but wanted to know if someone had a possible solution that was obvious based on what I've shared.Thanks for your help.
I am trying to log into "http://127.0.0.1:8500/CFIDE/administrator/enter.cfm" right after installing ColdFusion on to my server. However, I keep getting "Invalid Password". I have tried uninstalling/reinstalling, but same issue. The password I am using is the one that I set during the installation process. The OS is Windows 2008 R2 Standard 64bit with IIS 7. The server is a recent install with SQL Server 2008 R2. The websites are ported over from an older server (Windows 2003 / IIS 6.X) One of the sites used an older version of ColdFusion.
its amazing... its incredible...Adobe attempt to market to people has made a system that is so Dilbert and screwed up its destined to be legendarymy questions were three (and not stated this way as i didnt think this would be so incredibly screwed up):Where did all my prior licenses go on my account given i have had my email address for 11 years? I owned CS2, CS5, and other productsToday my concern is that i have to download Cold Fusion builder 3.1I tried to find the file... i tried to find the link.. i tried to search the help.i even decided to try chat to find out rather than do a whole post and maybe wait 24 hours. for some reason, bosses at large companies dont like when you spend an hour on chat, or cant find a link for what they buygo to ms you get the linkgo get linux, you get a linkbuy lots of stuff, you get a linkget from Adobe, you have to fight and play games..this company uses linux, and ms, and oracle, and javai am trying to show them how good CF can be for things like rep
I have a coldfusion 10 model-glue application with an html cfgrid. select mode is set to row. Submitting the form to the action page the form scope is empty. The same code works in CF 8. It's a win 2008 r2 server, 64 bit.I'm out of ideas, anyone encounter this?Thanks.
We just upgraded to CF 11 from CF 9 and since the upgrade a custom built AJAX search feature does not work correctly- the SQL works as expected, and running AJAX debugger outputs the expected returned values yet when i start to type the auto suggest does not populate the correct informationFor example on CF 9 if i search Form i am returned over a dozen results that either start, end , or have the word form in them, in CF 11 i get nothing back- i feel like this has to be a issue with the autosuggest as the debugger is returning the values, but not displaying the output Thank you! below is the code and the debug:AJAX DEBUGGER - CF 11info:http: Invoking CFC: /LinksFinder.cfc , function: GetURL , arguments: {"search":"form"}info:http: CFC invocation response: //" Risk Downtime Form,2015 Plan Information,901 Upgrade Information,Accessing ESS From Home,Appeal Form,Authorization for Disclosure of Protected Health Information,Benefit Enrollment Tip Sheet,Benefits Information,Best Of Southwest
Good morning everyone! I am in the process of testing out my code after upgrade from CF 9 to CF 11 update 7, so far things are going quite well except for one feature that was not built by me for our intranet page- The feature is a quick search button that allows users to type and get auto suggest options- For example typing Form would bring up anything in out links database that has the word form in it. This works perfectly on CF9, on CF11 it works ( no errors) except for the query only pulls based on the first letter typed For Example previously I could type Interview and I would get multiple results with the word interview in it, now i type and i only get results that start with matching letters. Below is a screen show that may make more sense as well as part of our code- I have verfied in SQL mgm studio that the query outputs the correct information- I also ran code analyzer on this page and it came back with no issues Also during the upgrade i exported the .car file from cf
I am suddenly getting an error in a script that has been working for years where I encrypt an html file so that is can't be accessed via a browser and then decrypt it for later referenceThe encrypting scheme is very basic:<cfset archivefile="<HTML><BODY>" & paynowbutton & invoiceheader & invoicebody & "</body></html>"><cfset tempinvoice=encrypt(archivefile,session.key)><!---session.key is a 4 digit PIN number---><cffile action = "write" file = "#application.LocalRoot#\invoices\#brokerid#_invoice.html" output = "#tempinvoice#">THEN TO UNENCRYPT<cffile action="read" file = "#application.LocalRoot#\invoices\#form.brokerid2#_invoice.html" variable="invoice"><cfset invoice=decrypt(invoice,session.key)>THEN THE ERROR WHICH HAS BEEN INCREASING IN FREQUENCYAn error occurred while trying to encrypt or decrypt your input string: The input and output encodings are not
Hello,I raise the discussion on CFCONTENT.Indeed, after the download of the object, I wish I could put a message of thanks.Do you have a solution ? for now, CFCONTENT ignore other lines of code.Thank you
want to create cfscheduler which sends mail daily
I'm creating a PDF with cfpdf, then using cfhttp, cfheader, and cfcontent to open up a save dialog. How do I get the page to move to another page after the save dialog is shown? As soon as I add cfcontent to the page, all other processing is stopped (the save dialog pops up, but I can't create a button to move to the next page, or move there automatically).<cfhttp url="http://XXX.com/#variables.GeneratedPDFName#" method="get" getAsBinary="yes" /><cfheader name="Content-Disposition" value="attachment; filename=File.pdf" /><cfcontent type="application/pdf" variable="#cfhttp.fileContent#" />Thanks
What is the problem? Java version maybe? IE Version? Does anyone have any troubleshooting hints?I am not a ColdFusion Programmer, but am pretty tech savvy.Any help is greatly appreciated.
Hi this is my first install on a linux box, and we are intending to use PDF features of CF11my linux server area has asked the following question:after searching around a bit, I think Adobe wants yum -y groupinstall "X Window System" for that one. Could you verify this with Adobe tech support?so here i am.anything else anyone wants to add would be greatly appreciated... Ken[i love CF, been using it since its first version at macromedia... perhaps its time i plug into the community for jobs, etc??]
In my details page, how do I call for authentication before the user can see the details page? I have the custom-application and authenticate.cfm files. I'm new to CF so, how do I call either of these files to execute to show the prompt for authentication?
There does not seem to be any documentation yet about using a .properties file to silently install CF 2016. I've tried adding/removing almost all settings that work for CF 11 but the install fails with a Non-fatal error. This stops the build process I'm using and the logging is very limited so I can't see what option I'm missing from the properties file. I can install perfectly fine if I do it manually. The issue seems to be with something missing or incorrect in the properties file, but I've been over them multiple times.
Hi All,Clean install of CF 11 on Windows server 2012 iis 8We have existing code <cfpdf action="thumbnail" which works on CF10But in CF 11 I getting the following error in the application logPDFDocException <p/><cfpdf action="thumbnail" source="pdf/balmain.pdf" destination="images/" overwrite="yes" pages="1">Any help ??Ken
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.