The official community for ColdFusion.
Recently active
Hi,I need help to write RESTful cfc to accept call from jquery in JSON format. This is approximate format of the structure as an argument to the cfc: returns:code: 200 // Successfulldata: { "success": true, "result": { "questions":[ {"question_id": "1", "question_answert": "some text..."}, {"question_id": "2", "question_answer": "some text..."}, ... {"question_id": "3", "question_answer": "some text..."} ] }}This is cfc to parse JSON:<cffunction output="yes" name="verifyQuestions" access="remote" produces="application/json" returnType="string" httpmethod="post">
Hi,i have the search page and want to display the results on the the cfgrid. Both form and cfgrid are on the same page. When i first open the form.cfm page, i see all the results already display on the page. This is not right, i only want the results to display when i search something and hit on the submit button. Can you please help?<!---my form.cfm---> <cfparam name="variables.row_per_page_default" default="50"> <cfparam name="variables.row_per_page_list" default="15,30,50,75,100"> <cfform name="search" action="form.cfm" method="post" onsubmit ="ColdFusion.Grid.refresh('myGrid', false);"><cfinput type="text" name="aNo_var" id="aNo_var"><input class="button" type="submit" name="submit" value="Search" /><!---diplay on the cfgrid---> <cfgrid format="html" name="grid01" width="700"  
Can I still use CF 10 Developers Version after the trial period expires?
I have created a coldfusion 10 cluster with linux, and apache as a front end. However, when adding a data source or making a change on the local instance, the remote instance does not update. Is there a way to "sync" the two admin consoles so that the change does not have to be made twice?Thanks.
Both ColdFusion 9 and 10 showed strange performance curves when it comes to writing a lot of files to the VFS.I tested the possibility to use the VFS to speed up logging.The plan was to bulk-post data to a NoSQL (Couchdb) database, since cfhttp has a lot of overhead posting small entries to the log database.Writing just a few files (10-100) to RAM:// is much faster than writing to the physical disk.Writing 500 files, the physical and the ram disk perform about equal.The example below with 10.000 files, the physical disk is ten times faster!Note that there were not out of disk memory problems involved.Instead I believe problem is related to the number of files created in a single directory. To write a file to a directory with many files already, is much slower.If I create 10.000 files in 20 different directories RAM maintains its performance curve in comparison to the physical disk.Is this a bug or something I missunderstood? Any thoughts about this?Help solving this performance p
I am not sure if my coldfusion server is hacked.I found the following items within a directory of one of my coldfusion web applications making it unavailable:1) 1.zip * this zip file was decompressed with 301 malicious folders related to vigra and dkeys.txt2) make2.zip * this zip file was decompressed with a folder named test-test and two other cfm files: application.cfm and tampl.cfm.Is anyone else experiencing this issue? It just happened today. And I just patched the server with the latest security hotfix last Thursday.My coldfusion server has RDS disabled, and the directory for CFIDE has been renamed, meanning CFIDE is technically not available. And CFIDE has also been moved to a different virtual web server running on a different port on IIS (not accessible from the internet) according to the instructions. I can't guess any possible way that hackers could hack into the server, unless via coldfusion web itself.And i wonder how these two zip files
This action page to query mutiple drop-down selection only works with 2 choices- when a third is introduced, it ignores it:<cfquery name="search_flexible_criteria" datasource="#Request.BaseDSN#">SELECT mo.order_ID, mo.order_number, mo.order_property_type_ID,mo.order_order_type_ID,mo.order_report_type_ID,mo.order_client_ID, mo.order_appraiser_ID,mo.order_status_ID,mo.order_rush_status_ID,mo.order_property_street, mo.order_property_city,mo.order_create_date, ls.order_status_ID, ls.order_status,lc.client_ID, lc.client_company, la.appraiser_ID, la.appraiser_fname, la.appraiser_lname, lo.order_type_ID,lo.order_type,lp.property_type_ID,lp.property_type,lr.report_type_ID,lr.report_type,lrs.rush_status_ID,lrs.rush_statusFROM main_orders mo LEFT JOIN lookup_order_status ls ON mo.order_status_ID = ls.order_status_ID &
Why do I see all these messages in coldfusion-error.log? There are tons of them. This is CF10/Win2008/IIS7.5. Single server, medium site, pretty typical set up.Nov 07, 2013 11:10:14 PM org.apache.tomcat.util.http.Cookies processCookieHeaderINFO: Cookies: Unknown Special CookieNov 07, 2013 11:10:14 PM org.apache.tomcat.util.http.Cookies processCookieHeaderINFO: Cookies: Unknown Special CookieNov 07, 2013 11:10:37 PM org.apache.tomcat.util.http.Cookies processCookieHeaderINFO: Cookies: Unknown Special CookieNov 07, 2013 11:10:37 PM org.apache.tomcat.util.http.Cookies processCookieHeaderINFO: Cookies: Unknown Special CookieNov 07, 2013 11:10:37 PM org.apache.tomcat.util.http.Cookies processCookieHeaderINFO: Cookies: Unknown Special CookieNov 07, 2013 11:11:13 PM org.apache.tomcat.util.http.Cookies processCookieHeaderINFO: Cookies: Unknown Special CookieNov 07, 2013 11:11:13 PM org.apache.tomcat.util.http.Cookies processCookieHeaderINFO: Cookies: Unknown Special CookieNov 07, 2
Upgrading from CF 8.0.0 to 8.0.1 on a Windows 2003 32-bit server. I believe I found the upgrade coldfusion-801-win.exe (383,809 KB). Is this the right one? ...and will I have issues upgrading my production with the version downloaded from an Adobe trial server?
I need to migrate an old CF MX7 install to a new server. Does anyone know if I need to get new license Keys generated or if I can use the same license key on the new server? If I need a new license Key how do I get one generated?Thanks Nick Gorst
Hi list,does anybody have a validColdFusion MX 7 download-link for me ?Thanks !Uwe
I have the following loop, going through an array, and trimming the of element i and then overwriting the element with the trimmed value:for(a=1; a <= ArrayLen(arguments.locationHeaders); a++){ arguments.locationHeaders = Trim(arguments.locationHeaders);}Every so often I get an error stating The element at position X cannot be found. I'm looping through the very array I'm editing! How can I be OOB...?If I refresh the browser it works fine.
I'm trying to invoke a NET webservice type REST but I have problems because first, I have to get the values and send like a object.I put the values in structs but someones I have to puthem in a list, I think so. The NET developers send me a sample of how can I invoke in net and this code Im trying to translate in CF.This is NET Codeprotected void Button1_Click(object sender, EventArgs e) { //Create Emission object in order to manage entities for emission process IntegrationService.Emission myEmission = new IntegrationService.Emission(); myEmission.codSuc = 30; myEmission.codRamo = 200; myEmission.poliza = new IntegrationService.Poliza() {  
Adobe converted all my MS Publisher files automaticlly without my knowledge. How do I change them back?
Hello,I have a site set up as default using Coldfusion 10. When I first started the website, I was using the Coldfusion Application Service as local and everything loaded fine.The client requires that I use a specific account in the service so it access certain folders that only this account has access privileges to. I did that and restarted the Coldfusion service.When I now go to the website, it gives me the Apache/Tomcat 500 error: "The server encountered an internal error () that prevented it from fulfilling this request."I do not understand why it is now trying to use Tomcat instead of IIS with just the service account being changed.I verified it has CFIDE and JAKARTA virtual directories there.Thanks,Phil Mervis
Hi AllI have a strange problem here and am hoping for a solution.Previous setup CF9 and IIS7. At a lower level folder I enabled Windows Authentication.All I needed was the auth_user value.This worked well.I have now upgraded to CF10 and the windows authentication no longer works.I have seen the post from kevlarhttp://forums.adobe.com/thread/1031711But no matter how many time I set these nothing happens.So, at present I have both CF9 and CF10 running so that I can test this.The CF9 site with windows auth set works while the CF10 one does not.Is there something in CF10 that is blocking this?RegardsKen
I have a few PDF documents in which i have repaeting data's. i would like to extract the spoecific data i want and send it to a .csv or spreadsheet.E.g PO no. 17638765213For the above i just need the number which is coming after the word PO. How do i work and get it done?
OK, even though I'm pretty new to OOP, I've been doing great things and coming to levels of comprehension with it at a pretty amazing rate. My backend is CF10 (dev), MS-SQL 2012.How I used to get data : Before, I would create a CFC with a method like "executeSQL" and then I'd pass it some parameters, one of which was the name of a .SQL file that was subsequently loaded, executed and then the method would return the results to the caller. I could pass it structures full of dynamic values in the event I wanted to pass "parameters" into the script so that it was dynamic.How I should get data: This is where I'm stuck. I am familiar with Beans, Gateways and Services, but not to the extend or interacting with Data. In my research, I hear people refer to Beans as singular records of data and Gateways as handlers of recordsets of data. So let's use a blog post for example.Post.cfc (Bean) - Represents a single blog post. Used to perform CRUD-related functions
I have a client who is still running on CF5. Is it still possible to get a license for CF5?
We have just recently went to try CF10 on Server 2003. I unistalled CF7MX and installed CF10, Server Configuration.When I attempt to open the site for admin i get a 500 error. Looking at the logs, I see the following error: Could not load ISAPI filters for the site/service.Anyone have any ideas what could be causing this.I have run the wsconfig.exe and added the default site.I also get this error: The HTTP Filter DLL C:\ColdFusion10\config\wsconfig\2\isapi_redirect.dll failed to load. The data is the error.THanksBroc
I already have a very complex dynamic query the displays a list on the webpage. Now I need to pass this result set as object or csv or xml to CFR and produce a report.how to do this?
Hello,We currently have a document system that is controlled by coldfusion. Basically, all the documents (ie pdf, xls, doc) reside in a directory on a server specifically designated as a fileshare server. The web server(s), which runs coldfusion 9.0.1 sit on the same network as the fileshare and the coldfusion app is set up using a domain user to access the fileshare. We access the fileshare using the cffile tag, save a copy of the document on the local webserver and then pass it down using the cfcontent tag.To tighten security, we want to move the fileshare into a different domain, once we do that we won't be able to use cffile to access the server since it will be in a different network domain. What options do we have to access the file share? Will we have to do something with cfhttp or cfftp? I am concerned that using either will cause performance hits compared to what we do now. Any advice would be helpful.ThanksScav.
Hi ,I am not able to find HP-UX on the support matrix for CF10.Is it supported ?
How does you determine what updates are installed on teh server running CF9?Does version in teh administrator stating: 9.0.2.282541 mean update 9.0.2 is installed?
We are in the process of gradually implementing REST services for our web application new design. Currently, the application is in old procedural style type app. The new app will be in html5 with back end implemented in CF10 REST api calls to cfc`s returning JSON formatted objects.We need to pass SESSION variables to the REST cfc's through jquery calls. Is there way to avoid putting SESSION variables as arguments to jquery calls? Perhaps, to map to a function...? All the REST cfc's are located in the web root of Coldfusion10 so, SESSION scope is not accessible to REST cfc's.I know that REST is stateless but, we can not get away from SESSION so, we need to know if there is a solution to this.Thanks,Gena
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.