The official community for ColdFusion.
Recently active
After completing the install process of the hotfix I get the following error when debugging ("Enable Request Debugging Output") is on and the response comes from a remote function whose returnformat is JSON. Did I miss something in the process? Any thoughts?This is the test component:<cfcomponent> <cffunction name="myfunc" access="remote" returntype="struct" output="true" returnformat="JSON"> <cfscript> var st = {}; st["name"] = "ross"; &n
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7c48.html
I created a form in cold fusion that has a variable number of form fields (i.e. like line items on an invoice). There are about 5 input fields per line item. When I have only about 10 lines and do the form post, the page executes just fine, but when the number of line items increases to, say, 30, I get an internal server error on when I post the data with the submit button. Doesn't seem like its an error in my code because it works with a smaller number of items, is there a setting that makes the server die when it has too may data fields posted?
Hi I am trying to establish a ftp connection using cfftp tagmy code is <cfftp connection = "myConnection" username = "abc" password = "xyx" server = "server address" passive = "yes" action = "open" stopOnError = "Yes"> <cfoutput>#CFFTP.Succeeded#</cfoutput>But i am getting the following error :The cause of this exception was that: java.net.UnknownHostException:server addresskindly adviceThanks
I have searched high and low and cannot figure this one out. My boss has tasked me with creating a feature test for the CF site I manage and suggested using Cucumber since that's what they're using to test other sites. However, they're all using the Java version, and I don't know Java. I tried using the PHP version but apparently it doesn't work on Windows.So, I'm stuck and my boss isn't going to be happy when I tell her as much! So, I'm trying to find out what I can use to write and execute feature tests on Windows of a ColdFusion site.Any suggestions (that might help me keep my job *smile*)?Thanks!
I am trying to extract the first letter of a firstname and the first 5 letters off a last name and concatate the two valuesFor example I have a data field with "John Smith" in the field.I want to get the first letter of the first name - "John" = JI want to get the first 5 letters of the last name- "Smith" = smithand then concatate the 2 values = jsmithanother exampleFor example I have a data field with "Reese Witherspoon" in the field.I want to get the first letter of the first name - "Reese" = RI want to get the first 5 letters of the last name- "Witherspoon" = witheand then concatate the 2 values = rwitheHow would I do that ?I think I know how to do each step individually but is there a better way to get the value?
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7f48.html
Hello,I installed the CF hotfix APSB13-10 hotfix to my CF 9.00 installation. I am aware of the three different versions for 9.01 and 9.02 and used the version for 9.00. In addition, as I had already installed the previous security patch, I used the version that was designed for that.However, after patching I can no longer view the CF Admin. The page renders, but is blank and only has the following HTML:[Ok, I can't paste it, but basically it's all empty tags for HTML, HEAD, and BODY tags.]The websites that run on my server are functioning okay, but obviously without the CF admin I will have trouble in the future if I need to make any changes.In addition, backing out the changes did NOT fix this, so at this point I am stuck. I am running MS Server 2003 R2 with IIS 6.Does anyone have any suggestions for this?
I'm using the Canvas LMS API to attempt to delete user enrollments (see https://canvas.instructure.com/doc/api/enrollments.html#method.enrollments_api.destroy).Here's my CF code:<cfhttp url="#uri#" result="result" method="delete"><cfhttpparam type="header" name="Authorization" value="Bearer #access_token#" /><cfhttpparam type="formfield" name="task" value="delete" /></cfhttp>It appears as though the task form field is not making it through, as the server instead concludes the course enrollment (presumably the API default--I've contact the vendor to verify).However, the following cURL request is successful:curl <same uri as above> -H 'Authorization: Bearer <same access token as above' -X DELETE -F 'task=delete'I'm hoping that a second pair of eyes will spot an error in my cfhttp request, but I'm guessing that ColdFusion does not include the formfield data if the method is set to delete? (The cfhttpparam docs do state "The formField type attribute is only
Hi all I'm running CF 10 and one of the pages is throwing this error "java.io.FileNotFoundException" I've checked and the file that it is looking for is there, and if I browse to it directly in a browser it is displayed.thanks
Here is a survey to understand the usage of ColdFusion Builder as an IDE (Integrated Development Environment) for developing ColdFusion applications.The information gathered here will help Adobe prioritize on areas that need focus or improvement to keep up with the changing needs of ColdFusion developers.Thanks for your time to respond to this survey.
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7afd.html
Hey Folks. Having an issue with updating the database. here is the code plus error--- UPDATE FUNCTION ---<cfquery datasource="#APPLICATION.dataSource#">UPDATE CompanySET CompanyName='#FORM.CompanyName#', Address='#FORM.Address#', City='#FORM.City#', Province='#FORM.Province#', Phone1='#FORM.Phone1#', Website='#FORM.Website#'WHERE UserID=<cfqueryparam value="#SESSION.UserID#" cfsqltype="cf_sql_numeric">AND CompanyID=<cfqueryparam value="#FORM.CompanyID#" cfsqltype="cf_sql_numeric"></cfquery>--- ERROR ---Error Executing Database Query.Data type mismatch in criteria expression. The error occurred in C:\ColdFusion9\wwwroot\Companies\logged\companies\company_process.cfm: line 1311 : Phone1='#FORM.Phone1#', Website='#FORM.Website#'12 : WHERE UserID=<cfqueryparam value="#SESSION.UserID#" cfsqltype="cf_sql_numeric">13 : AND CompanyID=<cfqueryparam value="#FORM.CompanyID#" cfsqltype="cf_sql_numeric">14 : </cfquery>VENDORERRORCODE 3079SQLSTATE  
I have 2 coldfusion 9.0.1 instances running as separate windows services and they are some how cross referenced to one another. I need to fix this and I know it is just a matter of repairing a setting somewhere that is not readily available in the CFAdmin page and does not appear to be in any of the files located under the instances CFIDE and WEB-INF directories. Any help would be highly appreciated.
Hi All,I have created chart using CFCHART. Its working fine in my local system in ALL BROWSERS. But when moved it to my staging sever the CFCHART not rendering in IE(workign in all other browsers).
Hi all Ive just managed to install CF10 and during the installation process put in passwords when prompted.Im now at the admin screen however it says my password is wrong. Ive unistalled it once and put it back on and its exactly the samecan anyone helpthanks
I've tried HTMLStripCharFilterFactory and StandardTokenizerFactory in the schema.xml BUT not working.
I've been banging my head on the desk this morning looking at this code. I don't know what I'm doing wrong. I can cfdump the data I want, but then I can't output it with cfoutput. Here's the code: <cfldap action="QUERY" name="userSearch" attributes="*" start="ou=people,dc=myldapserver,dc=com" scope="SUBTREE" server="myldaps
I'm occasionally getting this error using the cfthread tag but don't know where to start to debug it. It doesn't always happen but a few times a day and sometime it spikes out my available memory. Can anyone point me in the right direction to tracking down this bug? I'm running the latest CF8 on Jrun. Here is ths complete error: 1 "Error","cfthread-27","02/18/09","17:45:18",,"ThreadID8C35519B-C9E7-97E1-B91F-CE9A5082B3DC: Variable _cffunccfthread_cfact_InsertStatus2ecfm7047469871 is undefined. " The "ThreadID8C35519B-C9E7-97E1-B91F-CE9A5082B3DC" is the name I gave to the thread using a GUID. The "InsertStatus2ecfm" part is the coldfusion template name. Here are the exceptions building up to it: 1 "Error","cfthread-27","02/18/09","17:45:18",,"AUTOMATEDPROCESSID8C35519B-C9E7-97E1-B91F-CE9A5082B3DC: Variable _cffunccfthread_cfact_InsertStatus2ecfm7047469871 is undefined. " 2 coldfusion.runtime.UndefinedVariableException: Variable _cffunccfthread_cfact_InsertStatus2ecfm7047469871 is
This year? when?I only waiting that to migrate my webservers to Win 2012.
I loaded hotfix 4 and jdk-7u17 earlier in the week. All was well. Loaded APSB13-10 this morning on my development server and now I am getting a "coldfusion.excel.Excel.formatCell(Lcoldfusion/excel/ExcelInfo;Lcoldfusion/runtime/Struct;IIZ)V null" error. Tried the same page on my test server which as HF4/jdk-7u17 and it works fine. Anyone got any ideas on what is causing the problem? Running on Windows server 2008 R2
hi all ive downloaded cf 10 "ColdFusion_10_WWEJ_win32.exe" however when ever i try to install it on server 2008 i get the hour glass for a few seconds then nothing.Ive just tried it on my desktop machine and the instalation starts with no problemsdoes anyone know where im going wrong?thanks
Hi ,I need to fetch a particular value from a string,eg:input : abc def def test|test2|test3 my required output should be:test|test2|test3How to go about this using any function or any other alternate solution.Kindly advice !!!
I am working on a script that will send out daily messages to an individual who has subscribed to a particular company’s daily message. The subscribers table has:FirstnameEmailCompany ID Delivery methodDesktopPhone I have set up a query that pulls the subscribers information to:Determine which businessWhich layout to use (contact_id)Determines time zonePhones will be sent at a later time than the desktopWhich version to send:Desktop with all graphicsPhone with graphics removed I can use a cfloop to send the message out every morning, I just don’t know how to efficiently send out the message by the different time zones.Each time zone will have 2 diff times: 5:00am for the desktop8:00am for the phonesAny suggestions would be helpful.
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.