The official community for ColdFusion.
Recently active
Is there a way to get such tools ?A coldfusion page may contain html, css and js lines of code...
Hello everyone,I’m trying to export the contents of function output to a excel using the click of a button. I have created a action page for the button, which calls the export to excel standard code using cfheader and cfcontent tag. Exporting the excel using these tags works fine but after the cfcontent tag I have created a form and redirecting it back to the calling page. The code after the cfcontent tag are not executing and page is not redirecting.This is the code i'm using for exporting to excel.<cfsavecontent variable="strExcelData"><cfoutput>#fn_retrieveData()#</cfoutput></cfsavecontent><cfheader name="Content-Disposition" value="attachment; filename=Audit_#DateFormat(Now(),'ddmmyyyy')#.xls"/><cfcontent type="application/vnd.msexcel" variable="#ToBinary( ToBase64( strExcelData.Trim() ) )#"/> <form name=frm_AuditTrail method=POST action=tchk_AuditTrailSearch.cfm><cfoutput> &n
I have Coldfusion 9 and I wonder if it is possible to send emails you have in the queue every second. Currently we send mail through Gmail server and you do not need classified as Coldfusion send spam emails with an interval of one second each. Anyone can help me?
When creating an rss feed, we only have 4 fields to use, date, title, content and link. How can i combine two fields creating one field out of two?
Hello,I am not able to get to CF admin after installing CF 10. I am getting a '500 internal server error' along with the following message. How do I get around it? Thanks.Best regards,Chung Leetype Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception javax.servlet.ServletException: java.lang.NullPointerException coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129) coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
I'm looking over the datasource settings for MS SQL Server and I have some questions about.Limit ConnectionsI can't think of any reason to use this except to help minimize the damage of a DOS attack. Max Pooled StatementsI understand that this should be set to equal the amount of unique cfquery tags that use the cfqueryparam tag and cfstoredproc tags. Thats great an all but why?TimeoutThis is how long it keeps each connection to that datasource open. Is there any reason to change this and how would you determine the right setting?Query TimeoutIt defaults to 0 (no timeout) and I don't want a query running forever. I can't think of the last time I had a query run more than 1 second. Any reason why I wouldn't want to set it to 5 seconds or less?Thanks Phil
My client wants to move to a ColdFusion clustering environment for better availability and scalability of the site. I know how to setup clusters and instances in the ColdFusion Admin. We should also use J2EE session mgmt for sticky sessions.But I am not sure of other code level changes required while moving from a single server to clustering environment.Anyone having any experience please suggest? Or any helpful links that I can prefer?I have asked the same on SO but did not got any response . Any help would be greatly appreciated.
Hello, I wanted to see if you can control which columns from a query get written to a excel spreadsheet. I have some items in my query that I do not want in the spreadsheet but need for my query, if that makes sense.Thanks.Steve
If I understand correctly I should be able to have the application name from application.cfc show up in my SQL Server connection string (i.e. in the program_name column of sp_who2) if I go in to the DSN advanced settings and check "Application Name" under Client Settings. However having done that I still don't see anything in the program name columns of the sp_who2 result set. Any ideas?Thanks!
Hi,We have a CF 9 multiserver setup that's been running quite nicely for the past year. Recently, a domain admin password changed cocked up our IIS, which we got working by changing the admin passwords for each app pool within IIS 7.Since then, though, I can't access the main CF Admin page, which gives a 404. I can access the admin pages for the multiple sites by visiting the internal IP of the server and specifying a port (192.168.xxx.xxx:8301, 192.168.xxx.xxx:8302, etc), but if I try and do this for the main CF Admin site (port 8300) again, I get a 404.The guy who set our server up is long gone, and although I know enough about CF to keep things running, this has got me stumped.I'm convinced the problem lies with IIS, but I was wondering if anyone here has any experience of such a problem?
Is there any way of defining the size of markers in CFMap?? It is really frustrating me!!Many thanksJan
One of my table is saving an HTML form which contains coldfusion variables. In my code I am querying this table and I need to display this form in the front end. But while dsiplaying I am getting the coldfusion variable name itself instead the processed value of the variables.HTML Form saved in the db table:================================ <form action="" name="ci_entry_form" id="ci_entry_form" method="post"> <table width="100%" height="100%" border="0"> <tr> <td align="right"><b style="color:red">*</b> <label class="pop_up_letter_font">G/L # :</label></td> <td> <input class="pop_up_textbox" type="text" name="gl_number_text" id="gl_number_text" maxlength="21" value="#ARGUMENTS.chkDetails.GL_ACCT_NBR#" required/> <select class="pop_up_dd" name=
I am using ColdFusion 11 on a Windows Virtual Server 2008. The CFMAIL tag is producing duplicate messages (3 each time with IE11 and 2 each time with FireFox. Numerous tests have produced the same results. I tested with and without the mail spooler enabled - no change. The code is simple. no loops, no query, no double-click of the 'send' button. I have seen other complaints about this in other forums with the only solution being "to disable CF scripts that start/stop the mail spooler". 1) Does anyone have a suggestion? 2) How would I disable the CF Script to start/stop the spooler? Robert
we have frequently encountered the same issue ‘ Service unavailable’ and need to restart the ColdFusion application service.can someone help to open a case with adobe.thanks.regards,jimmy
I have a copy of CF11 running on my OS X Mavericks system it was working fine this morning I did a server reboot to try and fix an issue and now I cant access the server at all as it it takes to long to respond. It is a local installation so its not a network issue as such. In my log files I have a severe issue to do with Threadlocal writing issues but I have no idea a) where to find these to be able to remove the offending file if possible b) how to do it if I have to.So can anyone help me fix this or am I going to have to completely reinstall my server again?
Hello all-I've got a new install of CF 11 on Windows Server 2012 R2. For the first week or so everything was fine, but after a while my email stopped going out. I looked at the pages generating email, and there was a CF error. So I went to the admin to verify the connection- Boom- error in the admin! Every time I attempt to verify my email settings, I get an error.I do not believe there were any changes made to the server between the time email was working, and when it died. Potentially a Windows Update, but that is about it.Any ideas on this one?Thanks - Karl
I'm getting some really weird behavior when handling 404 errors after updating to CF10 using IIS 7.5 on a Win2k8 R2 x64. IIS randomly delivers only a portion of the HTML page when I set the 404 status code using <cfheader statuscode="404" statustext="Not Found"> inside my 404 handler page (/404.cfm).In IIS, I specify "/404.cfm" (execute a URL) as my custom error handler page for 404 errors, which in turn calls <cfheader statuscode="400" statustext="Not Found">. This has worked really well up through CF9. However, after updating to CF10, something is broken.When I remove the code: <cfheader statuscode="404" statustext="Not Found"> from my 404.cfm page, the problem goes away, but so does the 404 status code, which means that search engines will see this as a legitimate document. The question is, how can I return both the content of my 404.cfm page (it simply suggests other pages that the user might be looking for) AND the 404 not found status code?Any ideas?
I am new to ColdFusion, but I have experience in using PHP and ASP so the learning curve was not bad. I have worked with InfoPath 2007 creating a few forms. What I want to do is to create a form on a Web page using ColdFusion, which I have completed. One of the requirements I need is to be able to digitally sign the form using the CAC.Does ColdFusion have the capability of doing this? Can I use ColdFusion to read the certificates on the CAC? I have done a lot of research on this with no luck. I read that there are some Java Wrappers that can do this but have not been able to find any.
Reports that we created that contain Charts, using Windows Vista to author, stop working and error "resource unreadable" when we open and save the report using Win 8.1 64bit. Everything else in the reports will work fine, but the charts become corrupted and unrecoverable. Is there a patch or newer version of CFReportBuilder to fix this? I tried the CFReportBuilder version available with CF11 and get the same results...Thanks in advance for any advice!Marshall.
I have a page performing a web service using SOAP (sorry if my terminology is redundant). Everything works great until I attempt to return a SOAP fault response with a http status code. If I return the SOAP xml document indicating the fault, works great. If I simply add <cfheader statuscode="500" statustext="You broke it." />, I end up with my SOAP xml document prepended with html displaying user text of the 500 error:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><title>500 - Internal server error.</title><style type="text/css"><!--body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;}h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font
So I've been using a new language (Coldfusion), and using a search brings up quite a few topics and answers to some of the questions that I have.However, there is one that's typically at the topic of the search list which bugs the heck out of me. And that's livedocs.adobe.com. Every time I think "oh, useful information", I get Adobe - Site Area Temporarily Unavailable.Contact Us doesn't work because they want info on products, not on their own website, or at least I haven't found a good form that I can use to ask about why livedocs is down, or why its so high up on a search list.Could someone point me in the right direction on how to contact those in charge of livedocs to find out why? Or maybe why livedocs is down?(I'm seeing through community searches that some links and others don't, maybe they need to contact google/bing to remove those links from the top of the search?)Thanks for your help.
When you click buy here, it says it's no longer available:http://www.adobe.com/au/products/coldfusion-amazon-web-services.html
I was playing around with different ways to set cookies and in the process I use the cfcookie tag wrong. It threw an error and the onError() sort of did its job. Rather than giving a nice clean error like normal, the page completely quit processing. So I played around some more and tried this with out an onError() in the application.cfc. <cftry> <cfset asdf = /> <cfcatch type="any"> <cfdump var="#cfcatch#"> </cfcatch></cftry>It threw the error as if the try/catch wasn't there. Is this normal and it has taken me years to notice it?Phil
its late and my brain has gone to mush. I recently installed CF 11 enterprise on my laptop, win7 / IIS 7.5 with no issues during install. My problem is that when i tried running one of our CF10 apps it started blowing up and I noticed that once again CFID and CFtoken were being added to the url. In a previous post i mentioned that adding "add token = no" to cflocation tags cleared up the conversion from 9 - 10 CFId issue.So now in 11 its back, setting add token = no causes errors because i do not have secure profile set on my install because is a development instance. I have been going through the administrator settings to try and turn this off I can't find anything.Is the only way to not get CFID and CFToken added the url is by setting secure profile?also CF11 makes it the first two key /value pairs after the ? instead of adding to the end of the url.I can't include code or errors at the moment 'cause i'm home can't vpn into
We are looking at an upgrade to am existing server that is running CF8 at the moment on Windows Server 2008 R2.If we upgrade windows server 2012 will CF8 run/install?
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.