The official community for ColdFusion.
Recently active
Why does this not work for the User Agent empty string?<cfif REFindNoCase("^$", CGI.HTTP_USER_AGENT)> <cfoutput> "#CGI.HTTP_USER_AGENT#" </cfoutput></cfif>For obvious reasons this works as an alternative.<cfif ! len(CGI.HTTP_USER_AGENT)> <cfoutput> "#CGI.HTTP_USER_AGENT#" </cfoutput></cfif>However, I'm not really interested in a workaround but the reason why the firt RegEx approach fails.Testing conducted with FF Add-On "User Agent Switcher" I'm able to impersonate a browser that is void of a UA.Other info:Adobe ColdFusion 9.0.1Server 2008 R2 64 bitTesting code from within application.cfm
I am trying to get some output from the Solr searchIf I search for "Fund Administrator", which should only return 2 records, I get 5 records because 3 of the search results are fund administrationHow do i prevent fuzzy returns on quoted values?qSearch equlas "Fund Administrator" including quotes <cfsearch collection = "#sCollection#" name = "search" contextHighlightBegin = '<span class="search-format">' contextHighlightEnd = "</span>" contextPassages = "3" cri
Does anyone else use Team Foundation Server with CFEclipse? Trying to figure out how to check OUT a ColdFusion file with this system.Thanks!RLS
<cfqueryparam cfsqltype="cf_sql_datetime" value= #NOW()#>Yields the error:[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting datetime from character string.I have also tried:<cfqueryparam cfsqltype="cf_sql_datetime" value= #createODBCdatetime(NOW())#>and numerous other variations to no avail.BUTInserting:#NOW()#
I recently moved a Cold Fusion site from an older 2003 box to a new 2008 64 bit box. I used Web Deploy to move the site after installing Cold Fusion. The same version that was on the 03 box. Cold Fusion 8. So far all aspects of the site have worked fine except for today when users tried to do a upload. They get this error. Attribute validation error for CFFILEThe value of the attribute destination which is currently " pointing to a folder on a server" is invalidI compared the file it specifies between the 2 servers and it's the same. Is this because of the 2003 to 2008 change? I compared CF setting on both servers and they match up. Where do I beging to troubleshoot this? I had to hook up the old server to get the site working properly for the users. I know nothing of CF. This site was developed by a Consultant that is no longer available to us.Thanks for any help
Hi, I am getting the error message "Element cause is undefined in a Java object of type class coldfusion.xml.rpc.ServiceProxy$ServiceInvocationException" while calling the LoadReport() to load the report rdl file in coldfusion 10 through web service.It is working fine when i am using the sql 2008 report server but it is giving the above error in 2005 sql server in client's staging server.Below is the piece of code where exactly i am facing the issue:var execInfo = webServiceObj.loadReport(javacast('string','ReportName'),javacast("null",""),trustedUserHeader);Thanks in advance.
We have a new Coldfusion 10 server that becomes unresponsive .
As funding is an issue, my hosting space is currently CF 6, and am stuck with this version for about another year, so I must make the best of it. I have a big challenge with CFLOGIN. My goal is to have family members sign into the family site, and have their navigation to go from page to page. I am baffled as to how to implement cookies, with a backup database to hold their login data, in case their machine is set to not allow cookies. I've got a lot of people waiting for me to accomplish this! The code here, is not CFLOGIN, but the book says it will!Right now, the table in the database is named permissions, and the two fields are un and pw.I am typing from the Inside Coldfusion MX book, by John Cummings. I looked at another book, by Ben Nadel, and typed his code verbatum also. I triple-checked every character, and things are not working with either code sets. The site is a family site, and security is not a big issue, but I wish to imple
CFINPUT TYPE="Submit" is not working. The error message reads:Attribute validation error for tag CFINPUT.The value of the attribute TYPE, which is currently "submit", must be one of the values: RADIO,CHECKBOX,PASSWORD,TEXT.I'm using MX. Does this attribute not exist?
HI FOLKS: I get the error message: /opt/local/coldfusion10/jre/bin/sparcv9/java: No match. when trying to start Coldfusion 10 after a successful installation. What does it mean and how do I fix it? Thanks for any help that can be given on this issue.
I have an optional parameter in my stored procedure.I call the procedure from my function in cfc file.The code is following.Since the Myparam3 is not required in myfunction, neither in stored procedure.It does not return data if I do not provide 3 parameter from my html link.It does return the data I need if I provide MyParam3 to MyFunction,Do I need provide the not requuired optional parameter to my cfc function call for the stored procedure?Your help and information is great appreciated,Regards,Iccsi,<cffunction name="MyFunction" access="remote" returnformat="json"> <cfargument name ="MyParam1" required="yes"> <cfargument name ="MaParam2" required="yes"> <cfargument name ="MyParam3" required="no"> <cfstoredproc procedure="mySP"> <cfprocparam value = "#MyParam1#" CFSQLTYPE = "cf_sql_date"> <cfprocp
I am trying to determine if Cold Fusion is installed on 2500 computers. I don't know anything about the product, and noticed that it can be installed as a Java application. Does the Cold Fusion service get installed for this option as well? My plan is to check services with a script and if the Cold Fusion service exists, flag the server as having it installed. I just don't want to miss any using this method.
I have a .net DLL, when using cfobject it only pulls through two of four methods. I can see the two that fail use ByRef, is that supported.---- These are OKCompleteOrder(ByVal strDBKey As String, ByVal OrderId As Double) As pdaResultCreateOrderLine(ByVal strDBKey As String, ByVal OrderId As Double, ByVal Item As String, ByVal PackSize As Integer, ByVal Qty As Integer, ByVal Value As Double, ByVal CostCentre As String) As pdaResult-- These failGetPrice(ByVal strDBKey As String, ByVal EMail As String, ByVal Item As String, ByRef ItemPrice As Double, ByRef ItemStatus As String, Optional ByVal PackSize As Integer = 0, Optional ByVal Qty As Integer = 1) As pdaResultCreateOrder(ByVal strDBKey As String, ByVal EMail As String, ByVal Address As String, ByVal PostCode As String, ByVal Reference As String, ByVal Notes As String, ByVal CostCentre As String, ByVal Delivery As Double, ByRef OrderId As Double, Optional ByVal PaymentRef As String = "") As pdaResult
Anyone using sql server 2088 web edition with coldfusion 9? I just signed up for hosting with the web edition and wanted to get any input as far as difference between it and standard edition.Thanks all,Ken
Hi All, can you kindly provide us some insights on 9.0.1 to 9.0.2 upgradation? Any official guide for it? This may sound lame, apology for this. But we are going to implement it in production and have no knowledge in CF.So asking for your expert help.Also to give a background, we have an application written in codlfusion.It is CF 9.0.1. It somehow failed the security vulnerability test and the recommendation came as the above. Please let us know if any additional patching/hotfixes will also help resolving/mitigating the security issue
I am using CF10 and Solr search, sometimes teh context has no values and makes it difficult to explain why a result ranks so high.I found thishttp://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe9cbe5cf462523a0-5bf1c839123792503fa-8000.htmlwhich explains how to make the necessary changes.However, there is no 'conf' directory in my C:\ColdFusion10\cfusion\collections directoryShould I be updating in C:\ColdFusion10\cfusion\jetty\solr\conf ?Some other location?I need this to be a general fix applied to all current and future collectionsThanks
I did a test installation update to CF9.0.1 + CHF4 and then updated the wsconfig.jar on the remote IIS 6 web servers, running 32-bit application pools. The IIS connections to the remote backend ColdFusion servers failed; I fell back to the older wsconfig.jarThe wsconfig.jar that is updated with the ColdFusion 9 Update 1 does not work with our IIS6 web 32-bit app pools; the older wsconfig.jar [JRun 4.0 (Build 108795) JRun ISAPI Extension - Aug 29 2009 11:51:27] DOES work with the 32-bit application pools.Question: can I safely run the older wsconfig.jar on the IIS 6 32-bit application pools [JRun 4.0 (Build 108795) JRun ISAPI Extension - Aug 29 2009 11:51:27] with CF 9.0.1 + CHF4?We are running in distributed mode.Thanks,Scott
When will you post what time the sessions will take place so we can pick what session we want to attend?
In CF10, my login was not working properly as it was in CF9. Session variables I set were 'unset' every time a new page was called, as well as the GetAuthUser.To troubleshoot the problem, I found some unexpected behavioral change from CF9.In case it's pertinent, I am using ORM.In my application.cfc, I had:this.sessionManagement = "true";this.sessionTimeout = CreateTimeSpan(0,0,30,0);this.loginStorage = "Session";this.setClientCookies = false;In the onSessionStart function, I had:<cfset Session.isLoggedIn= 0/><cfset Session.username = ""/><cfset Session.email = ""/><cfset Session.termsAccept= 0/>In the onRequestStart function, I had:<cfif Session.isLoggedIn eq 0><cfif FindNoCase("Login",requestedPage) eq 0 and FindNoCase("Index",requestedPage) eq 0><cfinclude template="userInterface/session/login/Login-V.cfm"></cfif></cfif>Even after a valid login, I always got the login page. Dumping the Session variables, they were always set to Ap
We recently setup a new server with CF10. We're experienncing severe performance problems at times. We had similar problems with CF9 but not nearly as severe. How do we go about diagnosing the problem and finding a solution? The logs don't seem to help. thanks
When I open CF Builder there are certain folders in the Navigator that are expanded and others that aren't. I have no idea how it got set up with those particular folders expanded. I'd like to change which folders are expanded when CF Builder is opened, but I cannot for the life of me figure out how. Any help would be appreciated.
I have been searching and searching here, there, and Google for some insight on what I am doing wrong here and can not find anything.My issue is this: I have an html format CFGrid that is using a query to populate, selectMode is set to edit, the query has 12 columns, 5 of which are bits (MS SQL), when I try to add a row then submit the grid to my action code the checkbox values are all empty strings, regardless of check status. If I use the applet verson all is well, I get proper values and can execute the code accrodingly. However since this must be accessible from an IPad the applet is out, as well as Flash. So my question is am I doing something wrong, how do I determine if the checkbox was checked on an Insert?Updates work fine, the check values come through perfectly, it is only when a new row is inserted that things go haywire.Thanks in advance.Message was edited by: Verc189 for grammatical errors
I'm currently running CF 9 Standard on a since server that runs as my web and db server. I use Rackspace Cloud btw.I've been thinking about changing my infrustructure around so it would look like this:- 1 Load Balancer- 2 Web Servers- 1 Database ServerMy question is about licensing on the 2 web servers.- Is it possible to use a single CF Standard license to cover both web servers (since they are just syncing each other, they are basically the same server but split into two separate virtual machines), or would I need to purchase 2 individual licenses to make this work? Any help or advice is appreciated. Thanks!
I have a text field, type=password that I would like to prevent autocomplete functionality for. Of course, this can be set in the browser, but do not see a property for input or cfinput to disable autocomplete for that field even if it allowed in the browser.
I have a remote server (Windows 2012 64 bit with CF10 and sp 11) and CFB 2.0.1 on windows 7 32 bit. In the CFB Servers Tab - I can open the server moniter and admin screens... I also can see the RDS DataView data sources and also under Services Browser I see my CFC and CFIDE etc objects... What I can't do is to in the Servers tab - right click on the server object and stop,restart etc the Servers... I can find instructions for installing on the CF server AdminServerComponents.zip and other files for versions cf7 > CF9 but nothing on CF 10. Do I need to install additional files or does CF 10 have these files included. TIA Jay Bietz
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.