The official community for ColdFusion.
Récent
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?
Hi everyone,I have a java script window that is will open when user click on the link, my problem is that how I can pass a ColdFusion variable to the window. I am using ColdFusion 7 so I can not use cfwindow.what shold I put on the *** place??? I tried to put EntityId in the call place javascript:poponload(EntityId ); and function poponload(EntityId ), doesn’t 't work either so please let me know if you know how to do this.My code:<SCRIPT language="javascript">function poponload(){window.open ('test.cfm?test='*** ,'mywindow','menubar=1,resizable=1,width=350,height=250');}</SCRIPT><body><cfform><cfset EntityId ="#form.EntityId#"> /I want to pass EntityId to the javascript window</cfif><a href="javascript:poponload();">Find IDs</a></cfform></body>
Almost completed my form in iloveBandB, ID LOVE_8228, but arrived at Maps an error occurred. What can I do? Thanks
First off, let me apologize for the cryptic title, but I wasn't sure what to call this thread.I'm pulling a list of users from a web service that I'm integrating into an application that I'm modernizing. Previous versions of this app stored users in a table, whereas now they're being pulled from a web service. Certain users are assigned certain tasks, so I have a table in the database that matches user IDs with task IDs.Right now, I've pulled the user data from the web service into a new query, using QueryNew() and its siblings. But now that I have my hands on that data, I've realized that I can't use it.In the past, I've done inner joins do things like list users with their tasks, assign tasks, etc. I've done this using JOINS in my queries. But now I can't figure out how I'm going to duplicate this using external data.One idea I have is to do an INSERT into a users table in the database as soon as the application is loaded into a browser. If I wrap
HTTP Status 500 -type Exception reportmessagedescription 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:204) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
We had our own server working with an app. We started hosting with a different provider and now we are getting the above-mentioned error.On the same page, this works:<cfset compTest = createObject("component", "components.search")><cfset result = compTest.search(1,10,1,"desc","")><cfdump var="#result#">But this one does not<cfform name="searchResultGridForm"><cfgrid name="searchResultGrid"bindOnLoad="true" bind="cfc:components.search.search({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{searchedWord@keyup})" format="html"selectMode="Row"selectOnLoad="false"width="790"height="290" colHeaderAlign="Center"stripeRows="true"pagesize="10"><cfgridcolumn name="fileColor" header="Priority" width="50"><cfgridcolumn name="idFile" header="ID" width="40"><cfgridcolumn name="firstName" header="First Name" width="80"><cfgridcolumn name="lastName" header="Last Name" width="80"><cfgridcolumn name="email" header="Email" wi
We have a pdf that is filled out by ColdFusion using <cfpdfform>. A field in the pdf was named incorrectly so there are 2 fields named the same thing (let's say "field1"). As the system has populated (many) copies of the pdf the same value has gone into both fields named "field1" when really two different values should have gone into a "field1" and "field2".I need to get the information correctly entered into "field2" so I had two ideas...I researched was renaming the field in all the pdfs using ColdFusion (so I could repopulate the new field) but that does not appear to be possible. But to confirm... Can you rename a field in a pdf using ColdFusion?If I couldn't rename it I just wanted to change what was in the second occurrence of "field1". I tried using the index attribute of <cfpdfformparam> but that only applies to forms created in LiveCycle. Does anyone know how to populate only one occurrence of a field name in a pdf using <cfpdfform&
I need to pull a userlist for my web app, and that involves invoking a web service on the authentication server. I've managed to do just that, but the XML file I'm given to deal with looks like this: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body><ns1:getAllUserInfoResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://web.ws"> <getAllUserInfoReturn xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> &lt;?xml version = '1.0'?&gt; &lt;USER&gt; &lt;ROW num=&quot;1&quot;&gt; &lt;USER_ID&gt;25214&lt;/USER_ID&gt; &lt;LOGIN_ID&gt;JDOE&lt;/LOGIN_ID&gt; &lt;NAME_LAST&gt;JOHN&lt;/NAME_LAST&gt; &lt;NAME_FIRST&gt;DOE&lt;/N
I have developed a number of extensive websites in Dreamweaver 3. I now want to shift over to ColdFusion Builder 3. How do I shift the Dreamweaver sites into ColdFusion 3?
Hi everyone.I'm trying to get 'name' from 'name@domain.com' using cf reg ex.I've got this so far #rereplace('temp.emailaddress','[^@]+','')#which is giving me @7431982.com - but I want the first part, can anyone point me in the right direction please?Thanks ever so much.Nick
We have a program that was wrote by a programmer whom is no longer with us. When I go to log in to the program for the first time, after I put in my username and password and hit sign in I receive a "404 - File or directory not found error." All I do is hit the back button and login again and it logs me in just fine. I noticed when the error appears I'm getting a CFID and CFTOKEN added to the end of the URL. When I'm able to login successfully it just takes me straight to index.cfmCan anyone tell me why its doing this and how to fix it? Its just annoying to have to login twice everytime. Thanks
I am unable to edit properly French accents (in templates coming from Dreamweaver) with CF Builder. I cant write HTML entities, but may be somebody has a better solution ?
I am fully aware that this is a tag adobe created using a flash interface.I also know that it does Not need to be nested inside of a torm tag. I need to capture theFile name and the path it took to be uploaded to the server so I can insert that into a database for search functionality.Thoughts?
When attempting to archive a log file programmatically using the archiveLogFile() method of servermanager is there a way to test the success/failure of the action. I triedadminObj = createObject("component","cfide.adminapi.administrator").login("topsecret"); serverObj = createObject("component","cfide.adminapi._servermanager.servermanager"); result = serverObj.archiveLogFile("logfilename"); writeDump(result); However, result is undefined.Thanks!
I have an external login service that I'm using to authenticate users. After logging in, I get an XML file from which I can pull things like user ID and rights.The login page redirects to an index page in another folder (which is protected by the authentication service) and on that page, I have a <cfif> statement that looks at rights.The rights returned are "J" (for judge) and "A" (for admin), which I'm setting as the session variable: session.rightsIf I do this: <cfif session.rights eq "A"> admin section <cfelseif session.rights eq "J"> judge section <cfelse> redirect to the login page </cfif> The else is what triggers. If I cfoutput #session.rights# I get J, but for some reason, J does not equal J. I've tried trimming it and everything, to no avail.Any ideas?
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.