The official community for ColdFusion.
Nyligen aktiv
Dear All,i try to create a datasource from CFIDE. but i got this error. Please check image belowI already download the connectorFYI, i installed the ColdFusion at RedHat Enterprise Linux 7.2 ppc64 and the version of mariadb is 5.5Really appreciates for the big help
Hey Everyone,I have an unfortunately situation that not ideal where a development version of a website is on the same server as a production version of that same website. To make matters worse, both websites are running off the same ColdFusion instance. For the sake of argument, let's assume my client has the latest standard version of ColdFusion. Because it is not enterprise, I do not think I can run multiple instances of ColdFusion as separate services where I could have Trusted Cache enabled for once service and disabled for the other service. If I enabled Trusted Cache, it would be server wide correct? All websites that use the ColdFusion instance would be effected by the trusted cache. This is not ideal for development where we need to see changes right away. My question is this: has it ever been proposed to have an exception list for Trusted Cache? For example, all ColdFusion files that start with either example.com or www.example.com could be excluded from the Trusted Cache? Thi
I'm attempting to call the smartsheet.com api and read the JSON data from a list sheet request. Im new to API's so I'm certain I'm missing much with my code.Here is what I have so far:<cfscript> apiURL = "https://api.smartsheet.com/2.0/sheets"; apiToken = "xxxxxxxxxxxxxxxxxxxxxxxxx";</cfscript><cfhttp url="#apiURL#" method="GET" result="httpResp" timeout="120" charset="utf-8"> <cfhttpparam type="header" name="Authorization" value="Bearer #apiToken#" /></cfhttp> However I do not receive the desired response: I was attempting to use the sample provided to retrieve the data:SmartSheet API 2.0 Example Request:curl https://api.smartsheet.com/2.0/sheets -H "Authorization: Bearer ACCESS_TOKEN"Example Response:{ "pageNumber":1, "pageSize":100, "totalPages":1, "totalCount":2, "data":[ {  
What is the best method to share variables like the following struct among several cfcs in the same directory of a RESTful API? There are several cfcs but they all use the same generic error codes.<cfset RESTErrorCodes={801={detail="Configuration Error",message="Incorrect API Key",type="RestError"},802={detail="Database Exception",message="No Records Found",type="RestError"},803={detail="Usage Error",message="Required argument missing",type="RestError"}}>Any help would be greatly appreciated!
When displaying text using CFDocument in PDF format, if the text contains a less-than symbol ('<') NOT followed by a space character, the rest of the text does not display.For example, this: We reassured them that since it is <2cm in projected maximum diameterWill be displayed like this: We reassured them that since it isIt's as if the PFD conversion considers any less-than symbol not followed by a space as the start of a tagSimple demo:<cfset theText="We reassured them that since it is <2cm in projected maximum diameter"><cfdocument format="pdf"><cfoutput>#theText#</cfoutput></cfdocument>Now I realize that we could fix this by using the HTMLEditFormat() function on the text but this occurs in many locations and would require quite a lot of work. We are currently using
This page clearly states that Coldfusion Builder 3 has a Tag Editor. How do you open it? It's not on the sad excuse for a tag menu and Ctrl T, Ctl Alt T, Ctrl Shift T don't do a thing. The description of the tag editor is the 7th item down in the first column. http://www.adobe.com/products/coldfusion-builder/coldfusion-builder-features.html
I have a query which has run well on our old server. However we've upgraded to CF2016 and yet when I run a query of a query I get no results.<cfquery datasource="travcomus" name="firstquery"> SELECT * FROM tablename</cfquery>Followed by<cfquery dbtype="Query" name="secondquery" > select * from firstquery</cfquery>Any ideas?
Hi all,I am new to cold fusion and i am facing a problem which has been pointed out by our security team on an application wirtten in cold fusion:We have an application written in cold fusion, for which the login page is lets say the below -https://xxx.com/vendor/index.cfmNow the vendor is the root directory and it has subdirectories containing the cfm files. So if i do https://xxx.com/vendor/common/abc.cfm , i am able to access the abc.cfm which is in the common folder inside the vendor directory. Now the problem is that if i do https://xxx.com/vendor/common/ , it shows meon browser the list of files present in the common directory, which is not acceptable.. I can see that putting index.cfm in the common folder resolves the problem by redirecting me to the index page. But since there are approximately 120 subdirectories , is there a way to do this in a better way other than putting an index.cfm in every folder ? I tried the missing page handler on the server colsole but no luck. Any a
HelloThere is an order entry date: order_create_date.I am able to display the aging by: #DateDiff("d", thequery.order_create_date, nowtime)# I now need to stop the aging clock ticking with: order_onhold_date,And resume the aging clock with: order_offhold_dateSo it would be something like #DateDiff("d", thequery.order_create_date, nowtime)# minus #DateDiff("d",thequery.order_onhold_date,thequery.order_offhold_date)#?Any help would be appreciated- Thanks
Dear All,i already success to install ColdFusion 2016 on RedHat Enterprise Linux 7.2 ppc64. but when i try to start the ColdFusion services, the services failed to start. Please see the image belowFYI, for the installation i run ./ColdFusion_2016_WWEJ_linux64.bin LAX_VM /opt/java/bin/javaReally appreciates for the big help
Dear All,I have some issue on installing ColdFusion 2016 on RedHat Enterprise Linux 7.2 ppc64. when i try to run the installer it's always saying "JRE libraries are missing or not compatible".anyone can help me on this case? what am i missing here?FYI, i already try to do the installation using 32 bit and 64 bit and the result is always the same.Really appreciated for this big help.
I have a web application that generate Excel Spreadsheets with formulas, colors and formatting.If the XLS generated by the application is opened from an Office 2013, we randomly loose the formatting (and colors) in the middle of the page. (It starts corrently but at some point, the formatting seems to stops for an entire column or two).It works well with Office 2010 so it looks like there is some sort of imcompatibility issue.Note. I'm using coldfusion 9
I am using Cold fusion 9 and have to do an oauth2 call. I have never used cfc files - but there is example code using cfc's so I'm giving it a try (and failing) - but I don't know whether I'm failing with cfc or failing with the call.My application.cfc and oauth2.cfc are in the same folder...My application.cfc file is:component { this.name = "myApplication"; this.applicationTimeout = CreateTimeSpan(10, 0, 0, 0); //10 days this.datasource = "xxxxx"; Request.dbusername = "xxxxx";Request.dbpassword = "xxxxx";request.dsn2='xxxxxx';Request.key="xxxxxx";request.key4="xxxxxx";request.key8="xxxxxxxxx";request.dsn = 'x'; this.sessionManagement = true; this.sessionTimeout = CreateTimeSpan(0, 0, 30, 0); //30 minutes this.customTagPaths = [ expandPath('/myAppCustomTags') ]; this.mappings = { "/foo" = e
Dear Sir / Madam,CF license - how long will take to be delivered
I am stumped with a payment gateway integration. A client was forced to move to a new gateway processor. The new TSL requirement then forced me to upgrade the server & their site to CF11 (up from CF9).I have replaced appropriate information but cannot make a connection to the new gateway. I am not a strong programmer and have little CF knowledge. Does anyone have any insight or able to take a look? It is set up with a test sandbox.I do not know if my issue is in formatting the XML or CFHTTP or...?Any help appreciated, thanks.Cheers
I just installed CF2016 enterprise with a multi-server(3) setup and I am trying to have the debugging info output to the bottom of the page during testingThis infoDebugging InformationExecution TimeSQL QueriesScope VariablesetcDebugging & Logging > Debugging IP AddressesEnable Robust Exception Information is checkedEnable AJAX Debug Log Window is checkedEnable Request Debugging Output is not checkedI have the appropriate boxes checked under Custom Debugging output. I have Enable HTTP status codes not checkedI have restarted the server etcI've been using CF for 20 years and have been able to enable this in the past..Anyone know what I'm doing wrong? Pat
This is happening in 2 identical environments:Brand new machine, fresh copy of CF10 Standard x64 on Windows Server 2k8 R2. CF is patched through update 11. CF always fails to start after a reboot. I go into manually start the service and it takes 3-4 tries (and 10-15 minutes) to get it going. This is usually the case if I ever try to restart the service manually (without reboot), although occasionally it starts back up with no problem.If I try to start the service from the command line, it hangs at "INFO: starting servlet engine: Apache Tomcat/7.0.23" for about 8-10 minutes before finally continuing on and starting up. This jibes with the service problems as the Windows service probably gets tired of waiting on the servlet engine and gives up.Any idea as to what could be causing the delay?
Is it possible to add additional Phonegap plugins to Coldfusion Builder 2016? In particular, I'm looking to incorporate the barcode scanner found at GitHub - phonegap/phonegap-plugin-barcodescanner: cross-platform BarcodeScanner for Cordova / PhoneGap into my mobile app but I haven't been able to figure out how to do it.
Hi,Something strange concerning <cfhtmltopdf>.The following html code is diplayed correctly in a cfm file:<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"></head><body>Display block caracter : &#9608;</body>When using <cfhtmltopdf>, the Block caracter is replaced by another caracter (seems to be the broken bar caracter &brvbar;):<cfprocessingdirective pageencoding = "utf-8"><cfhtmltopdf unit="cm" margintop="1" marginbottom="1" marginleft="1" marginright="1" orientation="portrait" pagetype="a4"><!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"></head><body>Display block caracter : &#9608;</body></cfhtmltopdf>I did try on my local Windows 10 computer and on a Windows Server 2012 R2, and the result is the same.Could anyone help me with this ?RegardsConfiguration CF2016 Update 3 on Windows computer
I am in the process of upgrading one of our production CF servers to update 11.8.The update installs but when I check things out in the cf admin the DSNs are reporting back the following on verification:SQLNonTransientConnectionException: [Macromedia][Oracle JDBC Driver]No more data available to read.I have also tried the following updates: 11.9 and 11.10 and get the same errors.Each time I have had to roll back the update.Any help in resolving this would be appreciated.Thank you.The current server info is:Server ProductColdFusionVersion11,0,07,296330EditionEnterprise Operating SystemWindows Server 2012 OS Version6.2 Update Level/C:/ColdFusion11/cfusion/lib/updates/chf11000007.jar Adobe Driver Version5.1.3 (Build 000094)
Just a quick one. Is it possible to unhash / decrypt an SHA hashed field and if so how?
I use Windows 10. In my advanced settings, Flash is turned on. Using the adobe test, it says my flash is not turned on. I can play youtube and other things but typically if I try to open something in email that requires flash, it tries to get me to upgrade which of course I can't.Hopefully this written description helps.Bill
hello,i am trying to access Coldfusion Administrator but it cat accessError : The request has exceeded the allowable time limit Tag: cfoutput
Hello, all,I'm trying to set it so that my application will return a 404 error as well as display a custom error page if a template is not found.My onMissingTemplate code as it currently is:<cffunction name="onMissingTemplate"> <cfargument name="template" type="string" required="true" /> <cfset session.msgTmplt = "true" /> <cfset this.onRequestStart(arguments.template) /> <cfset this.onRequest(arguments.template) /> <cfreturn true /></cffunction>Now, if I go to www.domain.com/missing/doesntexist.cfm, I get a 200 response. How can I pass a 404 response?V/r,^_^
Hello,Weblogic 10.3.3, Coldfusion 9.0.0 deployed as an application.We've had this working for at least 5 months, and restarted the application server many times with no problems.We restarted today and we get the output below. Nothing has changed as we know it. I've seen people having this issue after upgrading to 9.0.1, but we haven't done that. Does anyone know what could cause this problem? We can't even get to the administration console!ThanksThe DataSource service is not available.This exception is usually caused by service startup failure. Check your server configuration. The error occurred in E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 88Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 76Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 2Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 1-1 : Unable to display error's location in a CFML template. Stack T
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.