The official community for ColdFusion.
Recently active
After upgrading to coldfusion 10, we are facing an issue with Java objects passed from Coldfusion to Java and vice versa. We have one functions myfunctionname in Java, which use coldfusion.sql.QueryTable as one parameter. Now if I call this Java function with a cfquery variable as a parameter from coldfusion code Either there are no methods with the specified method name and argument types or the myfunctionname method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity. Also at some other places I am getting this errors- Cannot convert coldfusion.sql.QueryTable to coldfusion.sql.QueryTable. Ljava.lang.String; cannot be cast to java.lang.String All these functions were working fine in coldfusion 8. Can someone provide help on this.
I've added an AutoSuggest script to my site that offers suggestions as the user types their search keyword(s). The script works great except that it performs a search with every keystroke. I have spent the past 3 days trying out different jquery scripts that will for when a user stops typing before sending the search request, but I cannot get any of them to work correctly. Some prevent the search from being sent until the user clicks OUT of the search box, but I need a script that will work when the user stops typing for (xxx ms). I have include my code below in hopes someone might be able to help.BTW: I do not know jquery or javascript much at all. I can often look at a script and know what to edit, but that's about it. Even this script for the AUTOSUGGEST was from a post I found online.CSS------------------------------------------------------------<style type="text/css"> div.autosuggest{position
Hi all,I have an Access 2003 database in which some function is defined in a module.I also have a query defined which calls this function with no problem.Both the query and the function work well when the query is executed from Access.But when I try to execute the same query from ColdFusion, I get an error claiming that the function is not defined.Any Idea ?
I currently have an application that trades virtual items and is making at least 40 CFHTTP requests per second to the host's server.The issue I'm encountering is that it's taking anywhere from 400ms+ for my CFHTTP call to return a response which means my application is missing out on 99% of the deals it finds, as there are lots of other competiting applications out there that are getting a faster response.I've struggled to find a cause and/or a solution to this situation so I wrote a script in both CF and C# that makes 10 http requests timing each one which resulted in the following response times:In CF using the following browsers:IE9: 384, 444, 302, 570, 535, 317, 510, 349, 357, 467 - Average 423.5msFirefox 27.0.1: 354, 587, 291, 480, 437, 304, 537, 322, 286, 652 - Average 425msChrome: 300, 328, 328, 639, 285, 259, 348, 291, 299, 414 - Average 349.7msIn C# Console Application:597, 43, 96, 52, 44, 305, 67, 91, 54, 270 - Average 161.9msAs you can see there is a big performance differen
Hello all,We've been using the .Net integration with CF 10 on Windows 2008 64-bit server.Our host snuck in a patch on us this morning that updated the .Net Framework 4.5.1 (KB28998869 & KB2901126). These patches seemed to have caused an issue with the .Net Integration services. Now I'm getting the following error: DotNet Side does not seem to be running.After uninstaling the patches and restarting the .Net CF Service, I get a series of errors as I try to access the pages with the .Net integration:Attempted to read or write protected memory. This is often an indication that other memory is corruptTimeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.problem writing data to socketDotNet Side does not seem to be running.I'm eventually left with #4 above. It takes a few page loads to get there, but at a certain point, this is all that will return.I
I can't believe Adobe has the nerve to charge what they charge for ColdFusion, but they can't even make it install correctly on IIS 7. How do we get past the 500.0 Internal Server error in IIS 7 when trying to hit the CF Admin page after install?
We have been testing cfspreadsheet and are experienceing large processing times when usingSpreadsheetAddRows.Here is a simple example:<cfset newQuery = queryNew("Column_1, Column_2, Column_3, Column_4")><cfloop index="i" from="1" to="4000"><cfset queryAddRow(newQuery)><cfset querySetCell(newQuery, "Column_1", i)><cfset querySetCell(newQuery, "Column_2", "0")><cfset querySetCell(newQuery, "Column_3", "0")><cfset querySetCell(newQuery, "Column_4", "0")> </cfloop> <!--- Create new spreadsheet Object and add a row with the column names (takes about 2 ms to run) ---><cfset ssObj=Spreadsheetnew()><cfset SpreadsheetAddRow(ssObj,"Column_1, Column_2, Column_3, Column_4")><!--- Adds the rows from the query to the spreadsheet (takes about 15 min to run) ---><cfset SpreadsheetAddRows(ssObj,newQuery)><!--- Write spreadsheet ---><cfspreadsheet action="write" filename="#ExpandPath("./spreadsheets/spreadsheet.
I have a legacy CF 8 server and I desperately need to upgrade Java on this thing. Java 6 is no longer being updated for Windows, so I need to go to Java 7. I can't seem to find a hard answer as to whether or not CF 8 supports Java 7.Any answers are greatly appreciated.
Tomcat Native library is present\ColdFusionSplendor\cfusion\bin>cfstart partly says:org.apache.catalina.core.AprLifecycleListener initINFO: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8.Apache Tomcat Native library 1.1.29 is installed already. No need to get a tomcat native library and install it yourself. Debugging & Logging > Log Files last optionOne can get to the tail of logs and read current log content. EG:Searching file(s): coldfusion-out.log 1 - 40 of 148 / Next / Last Tomcat gets updatedTomcat Version 7.0.41.0. CF10 has been Tomcat Version 7.0.23.0 since release. Still CF11 beta is behind current tomcat 7.0.52. What tomcat version will CF11 have on release? Will CF10 be able to apply that tomcat version?Regards, Carl.
ColdFusion Splendor admin > Debugging & Logging > Log Files > coldfusion-error.log is empty.Log file coldfusion-error.log does not have any content. In CF10 I found technical details recorded in coldfusion-error.log when CF started or stopped has been helpful to resolve problems. Why is coldfusion-error.log empty or blank? Will CF11 release have coldfusion-error.log with log contents?Thanks in advance, Carl.
ColdFusion Splendor is running Java 7 1.7.0_51. With Java 8 release pending mid this month will CF11 release supporting Java 8?Thanks in advance, Carl.
Hi ,We are using Apache with ColdFusion 10 in Solaris 10 OS. And we are getting frequently below error :http status 503 - request timed out waiting to executePlease check and let me know, if you need any further information for server configuration side.Thanx,Snehendu Paul
There doesn't appear to be a separate beta forum, so I'm reporting this here.Testing the Thunder Beta, it reports the following as a syntax error:if (thing) { transaction { doStuff; EntitySave(item); }}It reports 'return statement in function' for pretty much all our cfscript transaction statements.This is the standalone install. I haven't been able to get the Eclipse plugin install working yet.
The beta release notes at http://labs.adobe.com/technologies/coldfusion/?tabID=details#release_notes lists IIS 8.5, but not Windows Server 2012 R2, is this an documentation mistake? Also the Java version (7 or 😎 and type (SDK vs JRE) is not currently listed on this page. Lastly can the CFB 11 Thunder be run on a server version of Windows, only 7, 8, and 8.1 are listed.
Why is the cgi variable auth_password coming up blank? This is on CF 10. I have debugging information turned on and can see all of the cgi variables and it correctly shows the username and authentication type (I have it set to Basic Authentication with Anonymous turned off and it shows AUTH_TYPE=Basic). If I run an asp page using <% Response.Write(Request.ServerVariables("auth_password")) %> it shows the password so I know it's not IIS. Any ideas?
HTTP Error 404.3 - Not FoundThe page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
This is an old issue that still has not been resolvedWhen closing a file on CF Builder 2 it takes a long time for the file to close. This used to happen on Windows XP. I have a new PC with Windows 7 and reinstalled CF Builder 2 but the issue closing the file continues.I have to do the following for that to stop.Closed CF BuilderRenamed the file workspace\.metadata\.plugins\com.adobe.ide.editor.cfml\foldings\foldings.dataStarted CF BuilderHowever, after few hours CF Builder 2 becomes slow again when closing the files.Is there any fix for this issue other than the temporary solution above?
so here is what I need -I have a query that pulls rows from the Database through a stored procedure.(these are properties in an area)Before I start looping through the query, I need to check the distance between my current location and the property. If it less than 5 miles, only then should I display that property. The distance in miles will be chosen while submitting the search form.So is there a way to delete rows from the result set based on the criteria? OrIs there a better way to accomplish this? I am using the the google api to get the latitudes and longitudes. The other issue to keep in mind is the load time.Thanks
We've just recently implemented a self-signed SSL on the coldfusion webserver and find that the scheduled tasks are not running.They don't even appear to "kick off". I'm not receiving an error or notice.I've attempted pulling-in the cert directly into the Coldfusion JRE folder, and running through the most common answers on the internet regarding use of the cert keytool import - no luck.
I have been using SQL 200 for many years but now have a SQL 2008 server setup and all of my JavaScript is falling apart?When I use ColldFusion9 to save HTML containing JavaScript with back-to-back quotes - SQL is deleting one of the quote marks?IE: input type="text" onfocus="if (this.value=='Enter Email for Ranchlands News') this.value='';this.style.color='grey';return;" onblur="if (this.value=='') this.value='Enter Email for Ranchlands News';this.style.color='grey';return;" value="Enter Email for Ranchlands News" name="email" class="email-sign-up-field"This is a simple example form a clients form that is getting deconstructed - but I have many cases in complex JavaSctipt calls that are also falling apart.I know that I can change his.value=='' to his.value==''' and it will save properly - but the next time a SAVE is preformed it strips out another quote rendering the code useless.I have
My users need to type whole web URL including cfm extention to get the web site like www.myserver.myhome.cfm.I would like to know are there any way to let user enter the URL without cfm extention.Your help and information is great appreciated,Regards,Iccsi,
Hello community,I am experiencing a problem in context with ColdFusion 10 and webservices.My webservice creates some XML content, parses it with the XMLParse() function and returns it with returntype="xml".Testing it with an additional .cfm script (I invoke the webservice with cfinvoke, as you can see below) I noticed that the root element of the xml is missing - so does every child of the document root except the first one.If I run my test script on a ColdFusion 8 server everything works fine and the xml content is just as expected.Some information about my local server configuration:Windows 7IIS 7ColdFusion 10Here is my webservice.cfc<cfcomponent output="false"> <cffunction name="testFunction" access="remote" returntype="xml" &n
The XML feed looks great, but when I do a simple http call to get the data, it is "encrypting" it or doing something odd. Anyone know what causes this and what to do to fix it?This here is what I am doing:<cfset feedURL="http://api.walmartlabs.com/v1/feeds/items?apiKey=xxx&categoryId=xxx&format=xml"><cfhttp method="get" url="#feedURL#" result="feedItems"></cfhttp><cfdump var="#feedItems#">
In my CF app, I've used the CF OAuth code at riaforge to get request token and access token from QuickBooks Online and it works fine. After I tried to make a QBO API call by starting to build the http headers of the call (I followed the instructions on the section "HTTP Authorization Header" here: Implement OAuth in Your App). Then built the http header based on the methods of the code at riaforge because it worked. In addition, I've respected the order of the parameters given by Intuit in the previous link).When I launched the API Call, I received the response: "signature_invalid"I really want directions on how to sign the QBO online API Call with CF 9 if I have ready the 6 header parameters: oauth_token oauth_nonce oauth_consumer_key oauth_signature_method oauth_timestamp oauth_version(But if possible a working code would be better)Thank you in advance for your time and help
We want new hires to click a link on our website where a pdf comes up. They fill out the fields in the pdf and then the pdf gets emailed to HR. It would also work if I could somehow save that filled-out pdf to the server. I could have the form submit to another page that triggers cfmail and attaches the pdf. Just can't get the pdf saved to the server after having it filled out. Any ideas?
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.