The official community for ColdFusion.
Recently active
I set cookies like this:<cfcookie name="ckwhatever" value="hello">I try to kill the cookie like this:<cfcookie name="ckwhatever" expires="now">This does NOT work. the cookie remains.I've tested on mozilla and IEI don't get it.
I have a large number of solaris 10 servers we use at work. We are moving to CF 10, so on my first attempt to install it, the connector blows up:There was an error while running the connector wizardConnector installation was not successfulI've seen that a bunch, typically when the version of Apache I'm using isn't supported or something. For the record, this is Apache 2.2.22. Very supported by many other version of ColdFusion, so I'm lost as to why this doesn't work. The mod_jk.conf gets created and stored in the Apache conf directory, the include to the file is there. Everything looks clean and good. This is a stock Apache instance, compiled from source. I think the failure results from this error message in the Apache logs:[emerg] Error in reading worker properties from '/web/cf10/config/wsconfig/1/workers.properties'I've verified that Apache and ColdFusion are running under the same account and have equal access back and forth between apps. Furthermore, I have verified that this acc
I use CFLOGIN to check user ID and password and let user login in to system.I would like know how shoudl I save the login information.Should I use session varaible to save user ID and rights and create at Application.cfc?Your information and help is great appreciated,Regards,Iccsi,
Do I have to go through the hotfix procedures or can I run the ColdFusion 9.0.2 complete package to update from 9.0.1 to 9.0.2? Thanks, Jeff
Hi everyone, we're in the process of updating our servers from CF8 to 10. We've only done one so far, which has allowed us time to compare/contrast/fix issues.We've noticed that before, on IE, pdf files would open right in the browsers. Oddly enough, on the CF 10 server, it now always prompt to save. IIS settings prior to the CF10 install did not change, and we're not aware of anything that CF would have done there.Has anyone else encountered something like this, or able to replicate it?
I am reposting this from CF forum.What is this "Zzz Refresh Content (Sleeping) in the progress of CF Builder 2? Any time this comes up, it freezes CF Builder. This thing in CF Builder 2 is becoming so frustrating. You can hardly save codes without this thing hanging, I have to restart CFB to get work done
I have a form that is bound to a cfgrid. The grid is populated from a database. When you navigate in the grid the data displayed in the form changes to match the selected row. I can edit the data in the form and update the database. After updating the data I refresh the cfgrid, which then displays the updated data.Unfortunately the cfgrid always highlights the first row, row 0, after a refresh. I want to highlight the same row that was highlighted when the data was edited and saved. Can anyone advise as to how I can do that?I have tried setting a listener when the grid is initiated that responds whenever the store is refreshed and triggers the function refreshSelection():g.getStore().on('load', refreshSelection) ;Before the form data is saved, the row number is stored in selectedRow[0]. When the grid is refreshed, refreshSelection is run:function refreshSelection() { if (0 >= selectedRecords.length) &
Hello I'm new to Coldfusiion, and I was wondering what would be the best way to have search results so that the user could select a column. For instance If someone was searching for the sku aaa they would be able to select the upc column to copy from. Right now I'm using cfoutput query which list the result in table that the user can't copy from a single column. Any help would be great,
Today, following windows updates and the subsequent reboot (perhaps coincidentally?), I lost all functionality of cfinclude and cffile.I'm running IIS 7.5 & CF10 with applicable lockdown rules. Since the problem began - earlier today - when briefly disabling 'resource security' via the CF administrator, cfinclude functions properly. This does not fix cffile and is not an acceptable fix for cfinclude due to security concerns.The cfinclude error:access denied ("java.io.FilePermission" "C:\[path&file]" "execute") nullPlease advise.Thank you.
One of my users was trying to upload a Microsoft Word document using CFFILE. The document was created in Office 2007, but was saved in Office 2003 format (.doc). The upload is done with this code, which has worked in the past with PDF's:<cftry> <cffile action="UPLOAD" filefield="file_upload" destination="files\temp" nameconflict="OVERWRITE" accept="application/unknown,application/pdf,application/msword,text/html,text/plain,application/rtf,text/richtext,text/xml"> <cfset accepted="true"><cfcatch type="any"> <cfset accepted="false"></cfcatch> </cftry>When I cfdump the cfcatch structure after this fails, it shows the MIME type of the file that I was attempting to u
I just learned that I need to use onRequestStart event to have my login code.My question ColdFusion pass target form to the function, so I can access all variable and controls on the form. Am I right?It fires every time user request, so it is the place to validate user have the rights to access, can I use the code here for user login in to system?If it fires every time when user request then I need pass session variavle to the function, so can I add more variables to the function or I need save some where on the form to accesss by function.I am pretty new to ColdFusion, your help and information is great appreciated,Regards,Iccsi
Hi All,My first try using cfthread. I want two calculations to run at the same time:<cffunction name="getData" output="false" access="remote"><cfargument name="req_id" type="numeric" required="yes" /> <cfset var returnArray = ArrayNew(1)><cfthread name="processQuery" action="run"> <cfset myObj = CreateObject("component", "myComponent") /> <cfset returnArray [1] = myObj.getCalculationA(arguments.my_id) /> <cfset returnArray [2] = myObj.getCalculationB(arguments.my_id) /></cfthread><cfthread name="processQuery" action="join" /><cfreturn returnArray /></cffunction>It is not returning anything. What am i missing?Thanks in advance.
Can I change Coldfusions default port form 80 to 110 and if so how? I have CF running on a windows server 2008 RT machine.
I'm using CF9 on a webserver which is also using FL and WC. I can't get all three to work at the same time. I can get CF to work but then FL and WC won't work. I get runtime error while trying to use FL and Internet 500 error on WC.It has to do with the web server configuration tool, I add a webserver to add the CF applications but it knocks out the other two programs. If I remove the webserver FL and WC work fine. I think it has to do with JRUN but I'm such a newby I have no clue how to fix this so everything plays well together. FL and WC use java pretty heavily. So when I add the webserver to run the CF applications am I knocking out the IIS? OH and I'm using Windows Server2008 RT OS and IIS7.all help is much appreiciated
Hello,I need to bind an existing website (which up to this point did not have any CF files) to an existing ColdFusion instance.I know how to do that, however, I can't afford to restart the entire web server for the changes to take effect.There are over 50 websites that can't go down just because one website needs to be added to a CF instance.My question: is it possible to add an existing website to an (existing) ColdFusion instance without restarting the web server?Environment:IIS 7ColdFusion 9 EnterpriseWindows Server 2008 64-bit
I need some help with my task, hopefully someone out there had done this before and don't mind sharing.My department is using a Visual Basic app (this app is here since before I came) and a CF web app (I'm responsible for this one).The CF app is a supplement to the VB app. Any functionality that is not in VB app. is created in CF so user can go back and forth between the two app. This VB app is maintain by sunggard and it's quite complicated.Now Sunggard is changing it into dot net web app, the VB need to retire. We'll end up with 2 web apps, one dot net and one CFBoth apps use the same tables/DB.User use the same username and password to login to both apps.,The password is hashed.Is it possible to combine both application in the login process level? meaning, when users log in to either one app they can access both app without having to login twice at 2 different places like now? how can I achieve this goal? some sample codes is really helpful. I'm not a dot net developer, I'm hired to
I got error message from while login RDS server using Dreamweaver and Report Builder.I got HTTP/1.1 404 Not Found and get Serv name or address cannot be resolved.I search on this forum and check the following packagelist.cfm and my user ID and password is valid, since I am able to get packages list.Please advise what I can check my other than the package list or anything I can do to find a solution,http://localhost/CFIDE/componentutils/packagelist.cfmYour help and information is great appreciated,Regards,Iccsi,
Hello,So I know this isn't the standard coldfusion question people ask around here but with the annoucement of the Coldfusion Conferance dates and hotel rooms I figured might as well check. I want to go and the Mandalay Bay Resort says the room comes with two queen beds. Is anyone interested in possible splitting the cost of a room?
Let me try moving this question. I posted it to the Advanced Topics for Coldfusion thread but it appears not many read discussions there as it's hard to find -- I could not find what I posted very easily. Anyway...I'm using CF9. Has anyone been successful with CFHTTP when the target URL is using a wildcard SSL certificate? I've imported the cert and full cert path into the certificate store. I don't have any problems with non-wildcard certs, only wildcard certs. Thus far I've only found one reference to this topic and it simply stated "I have never been successful using wildcard certificates on CF8 and below." Yet there is no reference as to if or how to be successful with CF9 or above.
Hi I have a page with charts. A data download page displays records to preview when they click the chart. I have taken a CFprogress bar tutorial at lynda.com and yet still have no idea how to make this work. For a few charts (that take a while to get to the download page) I need a to display a page with a progess bar and then the data detail page.I have a .cfc and progress. cfm. How do i hook this up?? Any assistance would be totally freakiing awesome!jim<!---- progress bar page---><html><head></head><body><cfinvoke component="cfc/progessCheck" method="getStatus" returnvariable="retVal"><cfprogressbar name="testbar" duration="10000" /></body></html>-------------------------------------------------------------------------------------------------------------------------------------<!--- the cfc---><cfcomponent> <cffunction name="getStatus" access="remote" returntype="struct"> <cfset LOCAL.retVal = {} /
Ever since upgrading to CF10, we've been having some odd issues with our automated ColdFusion emails. The processes always functioned properly in the past, but lately we've been getting some very out of the ordinary issues which I'll describe further below.We discover the problem usually from contacts who usually receive these emails on a daily basis with or without attachments. We'll go to the CFMAIL directory for the corresponding server and find a slew of emails stuck in the 'Undelivr' emails. In some cases, we can just move these emails to the Spool folder and they process fine, but in most cases they result in one of the two errors below:Error 1: In an email which normally does not contain a body and contains an attachment, the follow error is what we found in the logs:-----------------"Error","scheduler-1","01/15/13","14:09:56",,"javax.mail.MessagingException: missing body for message"javax.mail.MessagingException: missing body for message  
I'm writing a script to copy BLOB data from a table in one database to a table in another database. I'm able to copy non-binary data without any issues but I haven't figured out how to move binary. I would think that I could just grab it out of one database via <cfquery> and put it in the other one via <cfquery> with no manipulation but it's giving me errors. Specifically: ByteArray objects cannot be converted to stringsI've tried converting it back and forth between Base64 and strings and messing with it but I'm not having any luck. Why doesn't this work if both columns are BLOB (this is a simple demo)?<cfquery name="get" datasource="#db1#">SELECT file_binary FROM old_table WHERE id = 1</cfquery><cfquery name="set" datasource="#db2#">INSERT INTO new_table (id, file_binary) VALUES (1, #get.file_binary#)</cfquery>Thanks!
So as i was opening my presents with my family Christmas morning when my web server emailed me to let me know that a file had been created in my /CFIDE/ folder. This file was h.cfm and it was a nifty little tool used to scan files - copy files - dump SQL passwords - run commands - upload files ect....My setup is CF9.0.1 on win server 2008 with mySQL5.5 . The servers only purpose is to host a few websites for my company. I poured over my IIS logs and could not find any trace of a connection to the webserver while this was happening. I then started looking at the http.log file in coldfusion server and found that it contained 2 entries at the time of the attack. Both looked like this... note i've removed the IP of the server. This file is the file that was uploaded to my server.25-Dec-2012 6:54 AM Information jrpp-6969 Starting HTTP request {URL='http://IPAddress:80/CFIDE/h9.txt', method='get'} There was nothing before this conne
Hello,I have been banging my head on this CF8 issue for too long now. I have a string thatis of the form [~]'trespes[~] where I need to replace [~] with the escaped backslash&#92; I have tried coldfusion replace, and java ReplaceAll but whenever I put any escaped html into the fuction, replace(string,"[~]","&#92;") I get an error from CFMissing argument name. When using named parameters to a function, every parameter must have a name.If I use java ReplaceALL I get the same result. Any insight to this problem wouldbe greatly appreciated, driving me batty.. I know it must be simple.. ugh.Thanks,Bob
hi,I was trying to install cold fusion 9 on Microsoft IIS server and i was unable to install it.....due to errors like HTTP error 404.2,404.3,500.0,500.19.if i am trying to solve on error i'm finding a new one so pls help me.Need a detail explanation on installing cold fusion on IIS server
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.