The official community for ColdFusion.
Recently active
Hello, all,I am trying to re-write part of an application that loads images from a database into a carousel.Currently, the logic grabs the BLOBs from the database, saves them to a folder, and then displays the images.I'd like to grab the BLOBs and directly display them on the page without saving them to a folder. However, after all the Google search attempts, I have not found a solution - they all want to use CFIMAGE action="writeToBrowser".Unfortunately, the directory that these images are saved to with writeToBrowser action is blocked by network admins and the people who control the CF server. So I _can't_ use CFIMAGE.Is there a way to take the BLOB images direct from database to browser without using CFIMAGE??V/r,^_^UPDATE: We need to be able to support IE9+, possibly IE8, and FireFox v42+.
Hello CF Community,I recently upgraded from ColdFusion 10 to ColdFusion 2016 and I noticed that I can no longer access any pages that live in any folder named /api/.For example: www.mysite.com/api/index.cfm now returns a 500 error "Application could not be found". See the following screenshot:http://i.imgur.com/axFVekv.png Note: when I installed ColdFusion 2016 I didn't select to install the API Manager service nor do I need it. Thanks for your help!
Hi,I'm trying to convert some "manual" soap request to the cfinvoke/createObject method, and i find strange to have to do the thing i did ^^Here is the previous code:<cfxml variable="LOCAL.SOAP_Request"><cfoutput><?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthenticationHeader xmlns="https://soap.namebay.com/"> <sLogin>#variables.login#</sLogin> <sPassword>#variables.password#</sPassword> </AuthenticationHeader> </soap:Header> <soap:Body> <oGetAutoRenew xmlns="https://soap.namebay.com/"> <P_sDomainName>#ndd.domain()#</P_sDomainName> </o
We are migrating from CF9 to CF11.CF11 clears client variables (other than the reserved) in new application, unlike CF9 which retains all client variables. Is there a patch to fix this bug?
I know with CFCONTENT TYPE tag I can convert my data to excel format. Is there a way to convert database tables, certain records to a dbf format?
I have been evaluating CF 2016 before purchasing to upgrade our server.One of the key interactions we have always had was between CF and ActivePDF Toolkit.I have spoken with ActivePDF support, and they have recreated the same issue I am reporting here with CF 2016.After using the ActivePDF Toolkit function "Get_OutputByteStream" to put the manipulated PDF into a binary data variable (variable name "pdf"), I then pass that variable into CFCONTENT to display it in the user's browser.<cfcontent type="application/pdf" variable="#pdf#">However, the result is now a CF error page which says:"[S is not a supported variable type. The variable is expected to contain binary data."It has been verified that Get_OutputByteStream in ActivePDF is creating a good PDF by writing the variable named "pdf" to a pdf file on the server.As a side note, I also noticed and verified with ActivePDF that CF 2016 cannot seem to handle COM properly, so I have to used the .NET integration in working with Active
CFers,It's possible get what is region, country or city using the setLocale from ColdFusion Server?For me the more important is get the city where the user live.Best,Fabiano Magno Pechibella
Is there a way in ColdFusion to resize images to a specific size and show them in browser, without a need to store the resized images in folder. So the concept is only storing the original image file and show the other (resized) images without storing any where in the server.Any help!!
I need to move a web service from an old ColdFusion 8 server (running from SQL 2005) to a new ColdFusion 2016 (running from SQL 2016).The web service is just a basic .CFC file which is coded like this:<cfcomponent output="false"> <cffunction name="getinfo" returntype="query" output="no" access="remote"> <cfargument name="variable1" type="string"> <cfargument name="variable2" type="string"> <cfargument name="variable3" type="string"> <cfquery name="qryName" datasource="database_name"> select columns from table </cfquery> <cfreturn qryName> </cffunction> </cfcomponent>My vendor using the web service is receiving this error:Unable to generate a temporary class (result=1). error CS02
Just installed 2016 on a test server ... it had 10 before. After install, brought up Admin panel ... it did its thing. But all I get is an error below. Checked for CFIDE and jakarta ... usual mapping. They were gone. Added their directories in Windows IIS. Made sure CF10 shut down, 2016 running. yes. Ok, what am I missing?The service is unavailable.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 () Copyright © 1999-2011 Apache Software FoundationAll Rights Reserved
Been using this version for 3 years ... it's always been very reliable ... as in not crashing. Using it on a 7 year old laptop. Apple Mac running WindowsSuddenly ... in the past two weeks it starts crashing. Once a day ... then twice a day. I have changed nothing. Except added more and more code. Am replacing laptop next week in case hard drive going. But are other having this problem?It happens at any time ... typing, idling, then BOOM!
Most CF coders are familiar with passing parameters to web services via the URL such as:http://mydomain.com/service.cfc?method=login&username=test&password=pw1Concerned about security of using a GET request and unknown to me, one of our third party implementrs managed to get our service working by making a POST to the url:http://mydomain.com/service.cfc?wsdlWith the header:Content-Type: application/x-www-form-urlencodedand inside the POST body this:method=login&username=test&password=pw1To my surprise, the above actually worked fine in CF9. We are now upgrading to CF11 and the vendor tells us that their code is all failing in our integration environment. I tested it and it in fact doesn't work anymore in CF11 via that type of post. I tried using both axis 1 and 2.What can I do to make CF11 act the same as CF9 with this way of passing parameters?
Hi all,upgraded to CF10 from 9 this week and just realised that Flash Remoting is no longer working. Any idea how I enable it within CF10?Thanks
Hi,Coldfusion 11 (Developer)Flex 3Existing Flash Application works with Coldfusion 8Flex Integration is turned on.Running latest updateCentOS 6.1 with latest updatesI have done the following:http://127.0.01/flashservices/gateway ---> Page Not foundhttp://127.0.01/flashservices/gateway/ ---> Page Not foundhttp://forums.adobe.com/message/5621721#5621721Confusion Blog » Apache + Debian + Coldfusion 10 + flex2gateway = Error 404https://groups.google.com/forum/#!topic/railo/6j2i6gl8Ac4\config\wsconfig\1\uriworkermap.properties file to include:/flashservices/gateway/* = cfusion/flashservices/gateway = cfusionI have modified the mod_jk.conf like so:# Select the timestamp log formatJkLogStampFormat "[%a %b %d %H:%M:%S %Y] "# Fix para Flex2gateway<IfModule jk_module> JkMount /*.cfm ajp13 JkMount /*.cfc ajp13 JkMount /*.do ajp13 JkMount /*.jsp ajp13 JkMount /*.cfchart ajp13 &nbs
Sorry to bother everyone again, but I am again needing assistance with converting my CFGRIDS from applets to html formats using CFC and binds.I have been testing the grids one step at a time - first by just adding the format="html" and enclosing the CFGRID within a CFFORM. Looks okay. Then I created the cfc and moved the query, and created the bind. Now I get the grid appearing without any data, and the spinner in the base of the grid.Here is my code: payment.cfc<cfcomponent> <cffunction name="getData" access="remote" output="false"> <cfargument name="page"> <cfargument name="pageSize"> <cfargument name="gridsortcolumn"> <cfargument name="gridsortdirection"> <cfquery name="payment_all" datasource="Tr
For the record I will state that I do not agree with your practices and would like a full uninstall of all this program or know that I am not bound by any law, but will inform you in writing of all complaints, you reserve the right to pick the court. I did not download this program onto my computer. You may remove it. If you do not remove it than you consent to this agreement. I reserve the right to update at any time. You have the obligation to keep yourself informed. Privacy laws and laws governing content are strictly enforced.Billie FernandezFriday, March 3, 2017
Hello I am getting the following error when ever i browser to the Mail section in the ColdFusion Admin Portal when I click onServer Settings > Mail > Undelivered MailApplication ErrorSRVE0777E: Exception thrown by application class 'coldfusion.bootstrap.ClassloaderHelper.initServletClass:129'javax.servlet.ServletException: javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.util.ServiceConfigurationError: javax.xml.stream.XMLInputFactory: Provider com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory not foundat coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129)at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:332)at [internal classes]at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:
Hi fellows,Anyone know, what is the problem on CF Server, which don't load a new the window to insert a new font on the CF Server?Tks,Fabiano Magno Pechibella
cfspreadsheet is used to read a large Excel (xlsx) file with more than 200,000 records always results in out of memory error "GC overhead limit exceeded The specific sequence of files included or processed""javax.servlet.ServletException: ROOT CAUSE:java.lang.OutOfMemoryError: GC overhead limit exceeded"Is there an alternative way to read large Excel file with ColdFusion? I'm having ColdFusion 10.Thank you.
CFSpreadsheet fails to read atleast one row if the excel file size is big. I am trying to read a excel file of size say 20mb. But it is giving java heap space error when reading the whole file. But when I specify the row attribute, it is not able to read even one row from the big file. Please help me on this issue.
Moving a client to CF 11 server from CF 9 and when testing discovered that CFWIndows all fail if cookies are turned off in the browser. It looks like some sort of security issue because browser console reports security . If cookies are on everything works fine.ReferenceError: reference to undefined property Ext.WindowTypeError: Ext.Window is not a constructorSecurityError: The operation is insecure.<anonymous> /ajax/ext/ext-all.js:18:87372 <anonymous>Once I got an error about trying to access locastorage?Is there any fix for this so that we don't have to replace all cfwindows with a jquery equivalent?Any help appreciatedForrest
We are currently running CF11 Update 6 and are connecting to Oracle 11g. In previous upgrades to CF11, we discovered that use of the most recent macromedia_drivers.jar file has caused significant performance problems on queries. As a result, we had rolled back to a previous version of the drivers file and are running with macromedia.jdbc.oracle.OracleDriver version 4.2.We are now upgrading to oracle 12c and are required to run macromedia.jdbc.oracle.OracleDriver 5.1. However, the peformance is still a problem. I have a sample .cfm file that does a basic query and dumps the query. The execution time on the query on driver 5.1 averages 4000 ms and on driver 4.2 is 200 ms.Sample .cfm Code:<cfset variables.strUsername = "dm_full" /><cfset variables.strPassword = "test" /><cfset variables.strProtId = "5" /><cfquery name="qProtTrack" datasource="asthmanet_dsn" username="#variables.strUsername#" password="#variables.strPassword#"> &nb
We are having intermittent performance problems with a relatively new web application. It seems to be related to the database, but our oracle logs show that the queries are being executed very quickly. I temporarily turned on database logging within the datasource and it looks like the delay is caused by determining if a connection is available or spinning up a new datasource connection. The log is below shows a time jump of seconds. This particular query uses a different datasource than the ones before it, so it does make sense that a new connection would need to be created. However, I've found that usually it only takes 300-400 ms to create a connection. Any suggestions? Our environment:Oracle 12cColdfusion 11 Enterprise Update 9 Redhat Enterprise Linux 7.2Apache 2.4.6Driver: macromedia.jdbc.oracle.OracleDriver 5.1--Here's a small snippet of the log. Prior to this, it executes several queries quickly. spy(ajp-bio-8014-exec-1
Dear All.,My CF website is going down daily at a particular time in evening and the log is detailing that 'Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'XYZ'.'I can solve this by going to CFADMIN >> Data source >> Edit the Password (or doing any other edits) to the datasource and the site will be back.I am having 10 datasources and this is happening to a particular datasource and not to all.Please let me know what is the reason for this down, particularly for a datasource, and tables inside the datasource came as invalid object name.
I have a client where 3 computers are not having this issue, however 1 computer is and the IT staff is saying that it's my code (Okay). When this users goes to a page where there is cffileupload code, all they see is a large 'X'. Does anyone have an idea where I can go to start troubleshooting this issue for this one computer? There are no error within the browser logs or any js errors.Thanks in advance for any help!
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.