The official community for ColdFusion.
Recently active
We have two identical versions of our application running on the same server - one in CF9 and one in CF10. We noticed that CF10 is signficantly slower. To be more specific it is more that 10x slower than CF9. So, we started experimenting with CFTIMER to narrow down the issue. Here's what we discovered...<cftimer><cfset expandpath('/') /></cftimer>On ColdFusion 9, this runs in 10-20ms on average. In ColdFusion 10, it runs in 200-250ms on average. We use expandpath quite a bit in our applications. So, pages that load in less than 200ms on CF9 are now loading in 10000+ milliseconds on CF10.It doesn't matter if we change it to this...<cftimer><cfset expandpath('/some/folder/path') /></cftimer>The result is still the same.Note that our application does run from a UNC path because it is load balanced across multiple servers. So, the expand path will resolve to \\server\folder\file.cfm. As you can
I am creating a form which lets users submit a job application. My main concern is that it will take people quite a lot of time to write their personal statements and experiences and the Session will timeout which means the work they have done so far will be lost. This would be very annoying to me!The best solution would be for my form to save their work as they type, especially in the cftextarea and cfinput elements.Could anyone please suggest how this may be achieved?
Our website was designed by someone a few years ago. The hosting was moved to our office when we fired the guy, so it is on site and we have complaints of speed from cusotmers because of our T1 service that also has to support all employees.vvIt was written in CF4.5 or CF5. I would like to move it to a CF hoster. Has anyone done this any how bad are the errors that need to be conrrected?I am not a CF person, so hoping I can fix old calls to new calls.I was think of just moving it to a hoster and see what happens when it runs, and deal withthe deprecated functionsby looking at the errors. Or is this much more intense upgrade?ThanksTedT
Hi All,I am getting a weired session issue. It is showing me session variable is undefined when it should be defined.Environment details:Web Server:IIS7OS:Windows Server 2008 R2 Standard, Service Pack 1 64 bitApplication Server:CF9Problem Description: It is a page for collection customer review. I have used <cfparam> to declare all session variable that I am going to use and use StructKeyExists function for checking variable exsistant. The problem is that it is throwing variable undefined error just after checking for the exsistant of that variable.Here is the code snippet. :-<cfparam name="session.productReview" default="#StructNew()#"><cfparam name="session.productReview.productReviewCustomerCity" default=""><cfparam name="session.productReview.productReviewCustomerState" default=""><cfparam name="session.productReview.productReviewCustomerEmail" default=""><cfparam name="session.productReview.productReviewCustomerFirstName" default=""><cfparam
Hi Support,After the installation of Coldfusion10, the admin page is not accessible. Getting below error message. The services are started. Please help me to resolve this issue.Service Temporary Unavailable!The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.32 ()
Hi,I find there is a method on generate Word document from a template (rtf). The reference link is: http://www.jensbits.com/2009/06/21/using-coldfusion-to-generate-a-word-document/And it is nice and easily for us to maintain. However, in our template, we have some checkboxes. Does anyone know how to tick the checkbox or untick the checkbox in ColdFusion.
Is there any way to use the a cfinput value entered at the top of a form in a cfquery as a where clause value? I am trying to create a dynamically generated table of checkboxes based on what is returned for a single SSN from the database.My query so far is: <cfquery name="PatientDiagnoses" datasource="ccta"> SELECT Diagnoses.DiagnosisID, Diagnoses.Diagnosis, "Selected" = CASE WHEN Diagnoses.DiagnosisID IN (SELECT ReferringDiagnosis.DiagnosisID FROM
I am attempting to create a table of checkboxes 4 checkboxes wide with about 40 possible query rows to output.I'd like to <cfnext> my cfloop after outputting each <td> in a row, but I don't see a way to do that. I haven't even begun to think about how I will read this back in my action form and update the database. I am considering giving up on it as not possible in ColdFusion.Any helpful information would be appreciated.
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6978.html
I have been using the pop-up calendar in grid cells in CF 9 by using the attribute "type=date" in the cfgridcolumn.It was working fine, but now the right column in the calendar in cut offand the left side of the container is white space.We recently upgraded to CF 9.0.1. Could this be a bug?Is anyone else having this problem? It affects form pop-up calendars, too.Thanks.
Even with tons of google searches I cannot figure this out:I have a (CF) backend management system that identifies the user and the company they are with on login. These variables (and a couple of other identifyiers) are stored as session variables on the application page at login.Certain users (depending on user level) can set up a company staff member and/or a client through regular cf html forms with action pages. These post to a SQL database.Ultimately, part of what I'm trying to do is output an index of pdf forms that are either uploaded or generated dynamically. This index contains catagories and sub-catagories.So... say, for example, when a company staff member is entered into the system, according to the user role this staff member is to be assigned -- I set up folders and sub-folders with cfdirectory (along with other database inserts).Here's where my problem comes in:I need to have the user set up an upload by selecting through dropdowns on a couple of form templates. These d
I have the following code and I have tested it in chrome and IE:<cfform name="form1" action="http://www.yahoo.com" method="post" > <cfloop index="X" from="1" to="9"> <cfform name="form2" action="http://www.google.com" method="post"> <cfinput type="submit" name="GOOGLE" value="GOOGLE#X#"> </cfform> </cfloop> <cfinput type="submit" name="YAHOO" value="YAHOO"></cfform>All the google buttons should submit and go to google.com....The yahoo button should go to yahoo.com. I have code similar to this working elsewhere in my application, but this one has me stumped. The first buton in the loop(when x is 1), is surrounded by the form1 tags and goest to yahoo.com, and the remaining buttons are surrounded by form2 tags and go to go
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7a5a.html
I keep getting the following error when I run the updater.I looked in the config.msi folder amd these tmp files do not even exist, could that be the problem? How would they have been deleted?
In previous versions of ColdFusion, we had "jrunsvc" to help manage Windows Services. We could add, edit, and delete Windows Services for one or more instances of ColdFusion that we were running. What, if anything, exists now in ColdFusion 10 to manage the Windows Services for the CF instances we run?
After spending a significant amount of hours rebuilding my site in ColdFusion, I've run into a snag.The basic Hostek plan worked for me because it was roughly the same cost as my old PHP host. Unfortunately, I just realized that the basic plan only offers 1 measly GB of space, compared to the 10GB plan I'm leaving. 1GB isn't even enough to host my photos alone, nevermind the database and CFM files. In fact the next tier up at 5GB only works if I never add another photo.The next tier above that doesn't work within our budget (it would if Hostek would allow me to host my wife's website, which is already on Hostek, and mine on that plan, but of course each plan only allows ONE site).I'm sort of surprised that with disk space being the cheapest part of hosting that Hostek is being so stingy with space. I've looked around and haven't been able to find any more reasonable alternatives. What hosts do people here use?
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WS32C28934-CDCE-497f-8212-6342141C5846.html
G'day:I'm just running a quick survey on my blog, and if you had a coupla min to write some code and post it for me, that'd be a big help.This is the blog article, and this is a summary of the question:Consider this string:nz = "Aotearoa"; What I want is to see how you'd approach turning that into an array of characters, ie: so if you dumped it you'd get this:array1A2o3t4e5a6r7o8aThat's it.Thanks for helping (if you do, that is 😉-- Adam
Hi All,I want to see the debug information on a web page without Turning ON the debugging settings in CF administrator.http://helpx.adobe.com/coldfusion/kb/coldfusion-debug-information-using-mode.htmlIn this link, they have given by adding mode=debug in a web page, it will display the debugging information, but it has not showed it up.Any help is highly appreciated.Thanks!
Hello,I'm trying to have CFHTTP post to an action page on another website, but then I want the user to end up on that page. The reason for this is that after the user clicks submit, I need to process some information here on our server, then send the user to the action page. Is that possible?I know I could send a form back to the user, but before it displays, have JavaScript submit the form. However, this seems inefficient, also the information is sensitive, and I'd rather not send it back to the user at all.Thanks for any help.
I'm currently on CF 9 and moving to 10 shortly so I've tried the "migrate" from Verity to SOLR. That created directories/files, but didn't move the data.I then tried to index what I normally index to Verity, but with the slightly modified syntax. It runs briefly and gives a http 500 internal server error.I tried just logging onto the server and running the index from the CF administrator. Same problem.I tried re-creating the collection from scratch. No joy there either. <CFINDEX ACTION="refresh" COLLECTION="seisolr" KEY="D:\UTEWebsite\Francais\" TYPE="path" URLPATH="http://www.ute-sei.org/Francais/" EXTENSIONS=".htm, .html, .cfm, .pdf, .doc" RECURSE="yes" language="French">Some additional info. Looking at the log files I find: "Error","jrpp-952","01/14/13","10:21:41","EventV3","org/apache/pdfbox/pdmodel/PDDocument The specific sequence of files included or processed is: D:\UTEWebsite\admin\indexwebsite.cfm, line: 15 "I've tried removing the .pd
I have a site which has been in operation for several years. I am now getting 414 Errors - Request URI too Large - from dyanamically generated pages. No code changes have been made to the server. I am looping over an array to build out a page. Here is some typical code:<form action="#request.self#" method=""> <table width="98%" border="0" cellspacing="0" cellpadding="2"> <cfloop from="#evaluate(currentStartRow+1)#" to="#evaluate(currentStartRow+15)#" index="x"> <tr> <td valign="top"> &n
Hello, everyone.I'm developing under a CF9 setup on a Windows server and have some Solr collections set up in the CFAdmin.The collections are indexing a database of questions, answers, and tags (each in their own table).For some reason, when I CFDUMP the results the Summary text is being prepended with the PK UID of that record.Is there a way to get it to not do this?Thank you,^_^
I am not sure why this is happening, I have a function where I am passing a date value, and I've seen it while displaying it and in alerts. So it comes across such as this 01/22/2013.I am trying to get the cfCalendar control I have to select the date but I can't seem to reference the property...Simple control defined in the form:<cfcalendar name="calDisplay" selectedDate="#SelDate#" mask="mmm dd, yyyy" dayNames="Su,M,Tu,W,Th,Fr,Sa" monthNames="JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC" style="rollOverColor:##FF0000" width="150" height="150" id="calDisplay" >here's the javascript the parameter is being passed correctly
Hi guys,if i'm not using cf_sql_float for data checking, then after execute, the data would be 500.55 in database. <cfset a = 500.55><cfquery name="qs_pp" datasource="#dsn#"> update pos_retail_item_trans set unit_price =#a#, sub_total = #a# where shopping_cart_item_id = 1024694</cfquery>But if i use cf_sql_float like the following, the data would become 500.55000000000001 in database. it seems that the cf_sql_float could change the data. Is there any solution to this problem?<cfset a = 500.55><cfquery name="qs_pp" datasource="#dsn#"> update pos_retail_item_trans set unit_price =<cfqueryparam value="#a#" cfsqltype="CF_SQL_FLOAT">, sub_total = <cfqueryparam value="#a#" cfsqltype="CF_SQL_FLOAT"> where shopping_cart_item_id = 1024694</cfquery>
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.