Questions
Als letztes aktiv
I have a Spring web application, there is also a another application written in Coldfusion, I want that both these applications can connect to the same datasource. After searching, I found that Coldfusion 11 server uses Tomcat, so can I deploy my Spring web application in Coldfusion's tomcat and configure JNDI datasources in its context.xml, which can be used by both the applications?
Possible to load both environments on the same Windows workstation? I have several production apps going and I'm a bit nervous about making the jump.Thanks,
Hello , Please raise a ticket with CF to understand why CF service goes down. please create a case with CF and provide below mentioned inputs for ticket. Below are the logs from coldfusion-error.log file. Logs is as below: Apr 13, 2016 2:30:36 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\apps\ColdFusion11\cfusion\lib;D:\apps\ColdFusion11\cfusion\jintegra\bin;D:\apps\ColdFusion11\cfusion\jintegra\bin\international;D:\apps\ColdFusion11\cfusion\lib\oosdk\classes\win Apr 13, 2016 2:30:38 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8014"] Apr 13, 2016 2:30:38 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Apr 13, 2016 2:30:38 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.54 Apr 13, 2016 2
Hi,I'm a beginner developer. I've been playing with PHP for years, but never really advanced my skills beyond the basics I needed.I've found myself in a position where I now need to write three relatively basic apps in the next month or so:1. Quote and invoice system.2. Inventory database.3. Project document viewer with signature capture on mobile devices.Using off the shelf products isn't possible, so at the moment I'm looking at writing these in PHP, learning what I need to as I go along and using existing scripts I've found via Google. However, this could be a lengthy task in each of the above cases. Instead, I'm wondering whether it would be worth investing some time upfront to learn ColdFusion, so that the development process itself is much quicker and potentially easier.Does anybody have any opinions on this please? For/against PHP or ColdFusion?If you believe CF is the way forward, what are the best resources for a beginner learning CF 2016?Any help is mu
I have a type=line cfchart set up with about 16 cfchartseries The problem is that it is they all show up upon loading the cfm, and are making chart look too busy. Can anyone suggest a way to only have a few higher level cfchartseries show up upon loading, and the user can then click on the legend to turn on any others they desire? I have done a few hours of research with nothing that really addresses the topic. Any help to get me on the right path would be helpful.Thanks
Hi,I moved a site from CF 8 to CF10. CF8 resided in a different server. I put a WriteOutput(" testing") in the onSessionStart function of the Application.cfc to know how the site will behave. I ran the site, on the default page the the "testing" appeared. When I clicked on the SignIn page, the "testing" word appeared again. It's calling the onSession start. Here is what's in my onSessionStart.<cffunction name="onSessionStart" returntype="void"> <cfif NOT StructKeyExists( cookie,"CFID" ) OR NOT StructKeyExists( cookie,"CFTOKEN" )> <cfheader name="Set-Cookie" value="CFID=#session.CFID#; Expires=#GetHttpTimeString(DateAdd("yyyy", 40, Now()))#; Path=/;SECURE;HTTPOnly;"> <cfheader name="Set-Cookie" value="CFToken=#session.CFToken#; Expires=#GetHttpTimeString(DateAdd("yyyy", 40, Now()))#; Path=/;SECURE;HTTPOnly;"> </cfif> <cfscript> WriteOutput("testing"); StructClear(session); session.pageR
Hello, all,This side project I'm working on is really pushing me to learn some new things (which I enjoy!); but I keep running into issues that _should_ be pretty simple to figure out.This time, I need to detect the mimetype of an uploaded file _without_ saving it to the hard drive, and _not_ by the file extension.CF11 on an Ubuntu Server (Trusty Tahr 14.04.4 LTS; no GUI, it's all CLI)The process that I have has been mentioned in an earlier post in this forum: image(s) are uploaded to the server without being saved to the HD, and the system loops through each of the .tmp files to insert the binaries of the file(s) into an array so that I can insert them directly into a database.But I would like to limit the acceptable mimetypes to strictly .gif, .jpg, and .jpeg.Is there a way, as I loop through the .tmp files, to detect the mimetype so I can reject anything that isn't .gif, or .jpg/.jpeg? The binaries are first loaded into a variable and I'm using isImage() to make sure tha
Hello, all,I'm attempting (for the VERY first time) to code a function that will take files posted via HTML5 form from an <input type="file" multiple="multiple" name="images" /> tag.Specifically, how do I determine how many files were selected for upload on the server-side?The aim is to use CFFILE to READASBINARY the images, then insert them directly into a MySQL database. (This last part I think I've got down pat.)V/r,^_^
We are running 6 fully loaded coldfusion servers. Besides the constant issues we have we have a new one that recently started happening.We are maxed out apparently on how many datasources we can add. When we add anymore they are not found by the coldfusion server.We have two servers that when we add a datasource to one of the servers it gets added to the second server and we can not seem to figure out how that is even possible.The neo-datasource.xml file does not match our Admin datasources either. We have more datasources in our neo-datasource.xml file then we do in the actual Admin interface.Can someone please explain how coldfusion stores the datasource information? Does it use the neo-datasource.xml or does it store the datasources some place else.?How can two seperate servers share the same datasources? When we delete one in one Admin interface it deletes it from both plus if we add it then it will add to both servers.
Dear All.,I have been trying to update a application variable in my application.cfm and it is not working.APPLICATION.old_variable = '1,2,3';(I want to add 4,5,6 along with the above variable)I did the applicationtimeout and it is working for 10 seconds and again the the old values '1,2,3' is coming.Also i added a new application variableAPPLICATION.new_variable = '1,2,3';But here what ever the change i did and update the applicationtimeout it is working well.My case is the application variable is ONLY NOT UPDATING TO THE OLD VARIABLES
Hello Everyone,As you are probably aware, we are in the planning stage for the next version of ColdFusion. We are all excited to begin working on this new version of ColdFusion.An important step during this planning process is to get valuable information from you about your usage of ColdFusion. We seek to get his information in the form of a survey. Please take a few minutes to take this survey and provide your feedback. The data from the survey will be used to validate a set of hypothesis about the usage of ColdFusion. This will eventually help us build a great next version of ColdFusion, which is codenamed Aether.Thank you for your valuable time. Here is the survey link ( Adobe ColdFusion New Version Survey ) again.Regards,Anit Kumar
Hi,I have a request from a client to generate an excel spreadsheet from a query. I have the query kicking out the fields and I can generate the excel file without a hitch. The problem comes when the client takes that excel file and then tries to manipulate it. The majority of the trouble comes from fields that should be marked as currency or dates. I am, with some struggle able to generate a "real" date field. Before this Excel was not sorting the dates properly.I was able to call an excel formula by using this:<cfset SpreadsheetSetCellFormula(s,"DATEVALUE(#Chr(34)##Replacement_ETD##Chr(34)#)",therow,9)>Date value forces Excel to acknowledge this as a real date field. However, this fails when this file is manipulated thru excel. The next problem is the currency field. I can't get excel to acknowledge this as a currency. It always comes up custom. When this is set, the SUM function won't work in excel. You can add the fields individually like A1+B1+C1 = TOTAL. This won't be helpfu
Hi there,I am running the following code I found on the internet to grab a load of Tweets with a particular hashtag: <cfset consumerKey = "MY_CONSUMER_KEY"> <cfset consumerSecret = "MY_CONSUMER_SECRET"> <cfset bearerToken = ToBase64(consumerKey & ":" & consumerSecret)> <cfset authorization = "Basic " & bearerToken> <cfhttp url="https://api.twitter.com/oauth2/token" method="post" charset="utf-8"> <cfhttpparam type="header" name="Authorization" value="#authorization#"> <cfhttpparam type="header" name="Content-Type" value="application/x-www-form-urlencoded;charset=UTF-8"> <cfhttpparam type="body" value="grant_type=client_credentials"> </cfhttp> &
In case anyone here doesn't follow the Adobe ColdFusion blog, this was posted yesterday: Submitting your wishlist for the next version of ColdFusion — Adobe ColdFusion Blog TL;DR: File your wishlist items on the Bugbase.-Carl V.
Hi,Using Coldfusion 10 (Update 14 or upper) for connect to SQL Azure, not works.If we use Coldfusion 10 without Update 14 the connection to SQL Azure works fine. But we need to use Java 1.8, then we need to install CF 10 Update 14.Thanks in advance,
I have a Windows 10 system with Apache 2.4 where I do ColdFusion development for a client who is considering an upgrade to ColdFusion 2016. I installed a trial CF (planning to use it as a development after 30 days) and it works so far except for scripts with CFIMAGE with WritetoBrowser. The browser debug tools in Firefox show an error: "NetworkError: 403 Forbidden - http://{vhostname}/CFFileServlet/_cf_image/_cfimg2.....jpg".The Apache {vhostname}-error.log shows the following: "AH01630: client denied by server configuration: C:/CFusion2016 ...."I earlier tried CF2016 on an older Windows 10 system with Apache2.2 and the applications using CFImage all seem to work fine there. I understand there were numerous security changes from Apache2.2 to 2.4. I suspect the mapping of CCFileServlet is behind the problem but nothing I have tried seems to make it work. I am looking for ideas before I ditch the Apache2.4 - I would rather not go backwards with v
Hello,I have searched the forums extensively and still have not found a solution. What I am trying to achieve is simple, but am having problems getting it to work. I want to pass a dynamic url string from a web mapping application to a cold fusion page that then opens the pdf file on the users browser. This is an example of the url that will be passed to this page, and based on what feature the user selects, subdir and page_id will be dynamic:http://localhost/displayImage.cfm?subdir=60&page_id=3807444 Here is what I have so far for displayImage.cfm,it is just a start, I know I need more, possibly cfheader content? When I run this code I get an error saying the file cannot be found.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head> <title>Untitled</title></head><body><cfquery name="Surveys" datasource="sire" dbtype="odbc"> select * from slco_sire.dbo.surveys_doc INNER JOIN slco_si
I would like to set up a single website with CFM11 under IIS8.5In this website there are several CFM applications, each under a different "Application" subfolder. For security purposes, monitoring and separate maintenance shutdowns per application, these would all need their own "application pool".However, this means that these applications should run under a different application pool than their website root node. In IIS this causes a 403.18 exception:HTTP Error 403.18 - ForbiddenThe specified request cannot be processed in the application pool that is configured for this resource on the Web server.Most likely causes:•An ISAPI filter or custom module changed the URL to run in a different application pool than the original URL.•An ISAPI extension (or custom module) used ExecuteURL (or ExecuteRequest) to run in a different application pool than the original URL.•You have a custom error page that is located in one application pool but is referenced by a Web site in another application po
Good Morning All,To begin, I am quite unfamiliar with ColdFusion, or any of its behaviors/capabilities. I am trying to track separate installs on clients, however nothing is showing up in ARP or HKLM\.....\uninstall. I was wondering if anyone could explain the behavior this program has on install. I'd like to know if I need to find a specific hidden key, folder, or config file to track this by. Any assistance is GREATLY appreciated.
I am getting an error with my application.cfc file for my database. I am using coldfusion 10 on a windows machine. This application file works on cf 9 and 8 and I do not know what the problem is now. I get the error:"Error Occurred While Processing RequestElement DATASOURCE is undefined in APPLICATION."This is my code and I have tried too make it work 2 ways:<cfcomponent><cfset This.name = "My App"><cfset This.datasource ="1093644"><cfset This.clientmanagement="True"><cfset This.loginstorage="Session"><cfset This.sessionmanagement="True"><cfset This.sessiontimeout="#createtimespan(0,0,10,0)#"><cfset This.applicationtimeout="#createtimespan(5,0,0,0)#"><cfset THIS.setClientCookies = "1"><cfset THIS.setDomainCookies = "1"><cfset THIS.scriptProtect = "All"><cfsetting showdebugoutput="yes" /><cffunction name="onApplicationStart" output="false" access="public"><cfset APPLICATION.EncryptionKey = "S3xy8run3tt3s" /
It's failing and I need to view the URL that was sent to my API provider. Is there a way to view this URL with all of its parameters?
I found this documentation, Adobe ColdFusion 9 * cfhtmlhead , but how do I use it in my page? Where do the <cfhtmlhead text="#sHeader#"> tag go on the page?Okay, so this is what I have.<cfsavecontent variable="sHeader"> <cfoutput> <title>#title# | My Company Site Claire</title> <meta name="keywords" content="#tags#" /> <meta property="og:locale" content="en_US"/> <meta property="og:type" content="website"/> <meta property="og:title" content="#cfData.data.name#"/> <meta property="og:url" content="#canonical#" /> <meta property="og:site_name" content="My Company website"/> <meta name="twitter:site" content="@MySite"> <meta name="twitter:title" content="#cfData.data.name#"> <meta name="twitter:creator" content="@MySite"> <link rel="canonical" href="#canonical#" /> </cfoutput></cfsavecontent><cfhtmlhead
Does anyone know how to open Acrobat DC in VBAPhil
I have Coldfusion 11 Standard running on Windows Server 2012 R2 with IIS. I attempted to install update 8 via the CFadmin. It failed and the log shows this:Failed to delete directory Status: ERROR Additional Notes: ERROR - Failed to delete directory:C:\ColdFusion11\cfusion/lib/httpclient-4.3.5.jar ERROR - Unable to delete file: C:\ColdFusion11\cfusion\lib\httpclient-4.3.5.jarFailed to delete directory &n
I just started working with ColdFusion this week.I have been experimenting with adding, changing, deleting, and viewing records in a small test database table.I would like to be able to display a list of rows and then select one row to change.I have been able to create a small HTML table to show the rows, but I am not sure that this is the best way to do this and I cannot figure out how to select a row from this HTML table.Perhaps someone could share an example or point me to an example on the internet.Thanks,Brad
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.