The official community for ColdFusion.
Recently active
Just did a new CF10 Windows install (not my first) on a fresh 2008R2 server. Everything ran fine after the install, all of the service packs installed fine. Since it needs to deal with other servers, I have a domain account that all of the CF servers use for the service logins. As soon as I change the login on this installation from the service account to the domain account (and restart CF), any attempted access to CF gets a 500 error. Access to the default IIS page works fine. I went into IIS and under Authentication changed the "connect as" for the physical path to be the domain account, restarted everything, still no luck. Then I went into Windows Explorer and made sure that everything under C:\inetpub\wwwroot had permissions for the domain account (even though this was a 500 error and not an access denied error). Same thing, no luck.Gotta be something stupid I've done, or forgot to tell the IT guys to do when then installed everything. Anyo
This is on a ColdFusion 10 install on Windows 2008 R2 with IIS 7.5. We have an additional authentication module, Cosign, installed for single sign-on.If I make a request for https://[servername]/test/ and dump the CGI variables, cgi.auth_type is set to Cosign and cgi.auth_user and cgi.remote_user are both set to my username.If I make a request for https://[servername]/test/index.cfm and dump the CGI variables, cgi.auth_type, cgi.auth_user, and cgi.remote_user are all set to [empty string].Some of the things we've tried (largely based on the posts Coldfusion 10 with IIS 7 Windows authenticaiton and cgi.auth_user not staying set😞Moving the Cosign module to the top of the modules list in IISEnabling Windows auth at the server level in IIS (index.cfm then required additional authorization beyond Cosign)Enabling Windows auth at the directory level in IIS (no change--remote_user not populated)Disabling Anonymous auth at the server level in IIS (index.cfm then returned a 401 Unauthori
I tried posting this in the general CF area two weeks ago with no reply, so I thought I'd try here.I applied the hotfix last week and everything seemed to be working, thought all was well. It turns out that forms that used to work without a hitch suddenly generated error 500 with no clue as to the real issue. These forms are simple fill it in, create a pdf file, display the file. Nothing too creative. With no error message, and nothing to tell me what is going on with this, I was forced to unload hf901-00005.jar and go back to hf901-00003.jar It is all working again, but I'd really like to have the security patch AND have my forms work. Any clues??
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WS932f2e4c7c04df8f-6f7941141353e2963af-7fff.html
When I clicked on Check For Updates, it says there are no update sites to search. Do you wish to open the "Available Software Sites" preferences?Once I open that, which site should I add in?Thanks
I am running a Windows Server Standard VM using VMWare with 4GB RAM and a 32 bit OS. Everything has been fine until about a week ago when emails stopped going out. My ColdFusion Email settings are:Connection Timeout 60 secondsSpool Interval 30 secondsSpool mail messages for delivery is checkedWhat happens is the emails go to the spooler folder just fine but they then get moved to the undelivered folder. BUT, when I manually move them from the undelivered folder to the spool folder, they then go out just fine.My mail log file says "Error","Scheduler-1","05/22/13","14:07:24",,"failed to connect" for every email.Thanks for any helpDave
I see on the controls tools bar has FORM and CFFORM.I would like to know what are the difference between FORM and CFFORM when I drap drop the control on the form.How I can access the controls value on the FORM and CFFORM?Your help and information is great appreciated,Regards,Iccsi
I'm a little new to using cfinput. I always use HTML input. I have radio buttons for gender. When the form is submitted, the value is entered into a db column 1 or 2: <cfinput name="g" id="g" type="radio" value="1" required="yes" /> F<cfinput name="g" id="g" type="radio" value="2" /> I want to check one by default depending on the value stored in the db column when the form loads. I'm able to use a CFIF statement to check one by default in the HTML radio like: <cfif rs.g eq 1>checked="true"</cfif> but you're not allowed to have cfif in a single cfinput tag. How do I do it.
Got a massege saying Form is meant for website developer for debuggin purposes. Error occurred while processing request of life insurance through Acuuquote. Please help me. Thank you.
<tr><cfoutput query="myDirectory" maxrows="1"> <td align="center"><a href="#Name#"> <cfimage source="#Name#" name="Name1"> <cfset ImageScaleToFit(Name,200,"")><!--- ---><img src="#Name#" /><br />#Name#</a></td> <cfif myDirectory.currentRow MOD 3 EQ 0></tr><tr></cfif></cfoutput>Whenever I try the code above I get the following error "Unable to cast an object of type java.lang.String to Image. "How can I use this tag and resize images that are stored in the variable Name and get them to display correctly? HELP!
Hi,when i click on the radio button, the text box for fname is showed. If i don't enter anything into text box then hit submit, the pop up will display with code for validate below. When i hit OK to go back,the text box is gone but the radio button still checked. How can i keep the text box stays on the page?<!---form.cfm---><cfform name="myform" action="action.cfm"><cfinput type="radio" name="approve" value="1" onclick="show('d0','d1')" /> <div id="d0"> <cfinput type="text" name="fname"> </div> <cfinput type="submit" name="submit" value="Add"></cfform><!---action.cfm---><cfif isDefined("form.submit")> <cfif Not Len(Trim(form.fname))> <script type="text/javascript"> alert("Name can not be blank."); history.back(-1); &nbs
Installing CF10, in Configuration and Settings Migration Wizard, in browserhttp://127.0.0.1/CFIDE/administrator/enter.cfm, ColdFusion has been successfully installed. This wizard will guide you through the remaining server configuration steps and, if applicable, migrate settings from a previous version of ColdFusion.To guarantee the security of your server, please enter your ColdFusion Administrator password.- getting error: Invalid Password. It won't take the password I provided in previous "Set Admin password" screen. Help?
Hello, everyone. I'm working on a script that will delete specific SOLR collections, re-create them, index them, then optimize them. The delete portion succeeds. The create, however, is failing with a permissions issue: access denied ("java.io.FilePermission" "X:\www\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\collections\xyz" "read") What the heck is it trying to "read" when creating a collection with a CFCOLLECTION tag?? <cfcollection action="create" collection="xyz" categories="no" path="X:\www\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\collections\xyz" language="English" engine="solr">It runs fine if sandbox is disabled. This is not an option. Can anyone, please, help fix this? Sandbox gives the CF account Read,Write,Execute on EVERYTHING.^_^
RE: <a href="http://www.adobe.com/support/security/advisories/apsa13-03.html">http://www.adobe.com/support/security/advisories/apsa13-03.html</a> Open letter to Adobe… Adobe, Please assign someone to trend all the ColdFusion vulnerabilities for the last five years. I am certain you'll find that a vast majority of them revolve around the CFIDE directory. Idea: Instead of endlessly patching the CFIDE modules every time a vulnerability is found or exploited, if you were to eliminate the CFIDE directory ColdFusion would probably be one of the more secure web platforms on the market. Just a thought. For users of ColdFusion, my advice is to remove the CFIDE virtual directory from all your public facing sites. If your site requires the CFIDE/scripts directory, point the CFIDE virtual directory to an empty directory and then create a "scripts" virtual directory under it and point it to the original /CFIDE/scripts location. Poof -- probably 80% or more of t
I am new to coldfusion. I am using coldfusion-10. I am trying to upload multiple image files using cffileupload. I am able to upload files as expected. But I would like to get the metadata before uploading and get the clientFileDirectory of the uploaded files. PFB codefileupload.cfm<cffileupload name = "uploadDemo" url="uploadSelectedFiles.cfm" progressbar="true" addButtonLabel = "Select File(s)" clearButtonLabel = "Clear" width="500" height="400" title="Choose Files To Upload" maxUploadSize="1" maxFileSelect="10" extensionfilter="*.gif,*.jpg,*.png,*.doc" uploadButtonLabel="Upload" onComplete="previewfile" > uploadSelectedFiles.cfm<cffile action="uploadall" destination="#expandpath('.')#" nameconflict="makeUnique" result="uploadResult" /> <cfoutput>try</cfoutput> <cfdump var="#cffile#"> But cffile.clientDirectory throws an Status code :500 (una
Is there a way I can apply CF 10 mandatory update without using the root account?I don't have access to root account in my environment.
Hi,i am uisng CF7 and develope the page with have cfmail send the url to customer but i don't want them to see the ID from the link. Is there the way to hash, encode, decode for not letting them see an ID but when they click on the link, the ID will propertly decode and retireve the record from the table?thankskt
Hi,I want pass a variable for number part in Dateadd() funtion instead of hardcoding it.Eg:<cfset var a = 180>now i want to pass this value of a into "number" part of dateadd function.DateAdd("d", number, now())How can be this done..?
<cfstoredproc datasource="MyDSN" procedure = "MySP"> <cfprocparam value = "1" CFSQLTYPE = "cf_sql_numeric"> </cfstoredproc>for my report query using a stored procedure need parameter.I got Variable REPORTQUERY is undefined.I notice that the default name for query report is ReportQuery, but CFSTOREDPROC doex not have name property.I am not sure how I can assign the variable using a stored procedure.Your help and information is great appreciated,Regards,Iccsi,
I use CFQUERY to run a query in my cfr file which created by Report Builder.I tried to use CFSET and CFOUTPUT to assign a label caption from CFQUERY.It seems does not work,Can any on advise me how to set a label caption from a query data source?Your help and information is great appreciated,Regards,Souris,
I got following error message The CFML compiler was processing: A cfprocparam tag beginning on line 275, column 7. A cfprocparam tag beginning on line 275, column 7.when I have followignn code query for my report.<cfstoredproc datasource="MyDSN" procedure = "MySP"> <cfprocparam value = "#ReportQuery.MyID#", CFSQLTYPE = "cf_sql_numeric"> </cfstoredproc>I tried to create a report query using a stored procedure and pass parameter.I would like to know is it correct way to do it or I am on the wrong track.Your help and information is great appreciated,Regards,Iccsi
I have a stored procedure from MS SQL backend and the result heading is WeekResult1, WeekResult2, WeekResult3... etc until Week20Result for report datasource.I would like to assign the heading at run time to May/01/2013, May/08/2013, May/15/2013 ... etc base on user enter date range.I have folloing code on report before export event<cfstoredProcdatatsource = "MySource"procedure = "MyColumnHeading"<cfprocparam cfsqltype="cf_sql_date" value="#StartDate#"><cfprocparam cfsqltype="cf_sql_date" value="#EndDate#"><cfprocparam cfsqltype="cf_sql_date" value="#StartDate#"><cfprocparam cfsqltype="cf_sql_numeric" value="#DateDiff#"><cfprocparam cfsqltype="cf_sql_numeric" value="#DateDiffType#">>I would like to know how can I assign my 20 columns heading record by record from stor
I use ColdFuiosn and MS SQL server.I use a stored porcedure for my report using advance on query builder like following.<cfquery name="ReportQuery" datasource="myDataSource">execute MyStoredProcedure MyParam1, MyParam2</cfquery>I got ColdFusion Report Designer is unable automatically to retrieve meta data for the report fields.Can you please advice how can I manually to get field information to drop on the report designer?Your help and information is great appreciated,Regards,Iccsi
I would like to use user input as CFQUERYPARAM for example,I have txtMyID on the form and would like to use user input as my query parameter.I tried to use <cfqueryparam value = "#trim(form.txtMyID)#" CFSQLTYPE = "cf_sql_integer"> but does not work, I tried the following which works, but I need get the value from user enter. <CFSET MyID = "1"> <cfqueryparam value = "#MyID#" CFSQLTYPE = "cf_sql_integer">Your help and information is great appreciated,Regards,Iccsi
Hi, The second dropbox is displayed when location eq 5 is selected from the first drop box. When i select the value from second dropbox, i want the value from the first drop box stays the same as location eq 5, and results need to refreseh to reflect with the select from the second box. Can you pls help?- thx<cfoutput><cfform name="myform" action="" method="post">Location:<select name="location" onchange="this.form.submit();"><cfloop query="variables.qlocations" ><option value="#id#" <cfif isDefined('form.location')><cfif form.location eq "#id#">selected</cfif></cfif>>#location#</option></cfloop></select><cfif form.location eq 5><select name="action" onchange="this.form.submit();"><cfloop query="variables.qAction" ><option value="#id#" <cfif isDefined('form.action')><cfif form.action eq "#id#">selected</cfif></cfif>>#action#</option></cfloop>&l
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.