The official community for ColdFusion.
Recently active
Okay, I'm stumped enough to break a laptop. I've been reading every post I can find today on how to setup per-Application mappings, and it just doesn't work. Here's my situation:I have an existing site running on Linux under CF 9.0.1, and I had Mappings configured in CF Admin for 2 directories that I use in cfinclude tags throughout my CFMs and CFCs (so that those directories can remain above the webroot and not be exposed by Apache). All that worked fine forever.Now I need to set up a second site with a separate set of directories, but I'm starting with a copy of the existing site's folders and then modifying the paths as needed. For example, my first site is in /web/website, and my mappings are for "/cf-include" and "/cfc" mapped to "/web/website/cfc" and "/web/website/cf-include" in the Admin. My webroot is "/web/website/htdocs", which is configured as my DocumentRoot in Apache. For my second site, I created a new directory "/web/stwebsite" contai
Hi,Debated a bit between posting this in the Administration forum or the main forum since it's a little bit of both. Hopefully I picked right We don't make heavy usage of cfchart so we never noticed this issue, but I believe the issue is present since upgrading to CF 9, from CF MX.Problem: When using cfchart, the code is generated on the page where the chart should be<img name="Images_1442197870100010_PNG" id="Images_1442197870100010_PNG" src="/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Images/1442197870100010.PNG">Issue is with the src attribute: /CFIDE/GraphData.cfm from what I gathered online that file doesn't really exist on the file system it's just a special alias for ColdFusion.Problem is that we restricted access to the /CFIDE with a url rerwrite rule to prevent external access to the Administrator from the outside, the rule is for everything in /CFIDE. If I modify it to only lock /CFIDE/Administ
I am running CF10 on Windows and am trying to use CFPresentation for the first time. Every attempt I make to use this tag causes the script to stall and I get a blank white screen. In the CF exception log is this Java error:java.lang.NoSuchMethodError: org.apache.poi.poifs.filesystem.POIFSFileSystem.getRoot()Lorg/apache/poi/poifs/filesystem/DirectoryNode;In the ColdFusion error log is:Mar 7, 2013 3:03:59 PM org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet [CfmServlet] in context with path [/] threw exception [Servlet execution threw an exception] with root causejava.lang.NoSuchMethodError: org.apache.poi.poifs.filesystem.POIFSFileSystem.getRoot()Lorg/apache/poi/poifs/filesystem/DirectoryNode;These errors are only in the logs. they do not appear in the browser. The CF script runs fine until getting the to CFPresentation tag then it simply stops.Help?
Can anyone confirm my bug https://bugbase.adobe.com/index.cfm?event=bug&id=3508592 ?It looks like valid syntax like : variables.incomingGateway.updateWhere(fields={'campaignId'=arguments.newCampaignId},where={'id'=arguments.incomingId});is causing the CFScript parser to explode...Tom
Hi allI develop a flex client with a cf backend after installing cf10 I realized the implemented login functionality stopd workingI use cflogin and RemoteObject.setRemoteCredentials()I get the following error for all the dashboard methods which require login by setting the "roles" parameter:"Unable to invoke CFC - The current user is not authorized to invoke this method"the same code runs perfectly on CF9 on a different dev machine.I googled a bit and found out that cf10 has some "improvements" to its security model and the default will not allow this streight forward rpc communication.now this is where it starts to get blurry for me, and I'd appreciate your helpI found this link - http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WS5AFDEFD4-2851-4a09-A627-7D82974E5EAC.htmlhttp://help.adobe.com/en_US/ColdFusion/10.0/Developing/WS5AFDEFD4-2851-4a09-A627-7D82974E5EAC.htmlI looked at cf 10 administrator - under Data & Services > Flex integration I enabled Enable RMI over
Hello,We are working with an affiliate feed that comes in the form of a tab delimited text file that is uploaded to our server as a zip file. While we are well versed on opening and parsing files, i am unsure what the proper technique is for parsing a file that is zipped. Can anyone chime in on the best method for doing so?
I just started a web application and would like to implement user login for system security.I just wonder does ColdFusion has any build security can use or i have build my own user table to check security using my code?Your information and help is great appreciated,Regards,Iccsi
I'm in IT and we have a CF application running on CF10 and MS SQL on a single server. I was asked if it's possible to run two instances of the same application with the second instance connected to a different dbApparently they want to use one instance for the US and a second instance for Canada. Entirely separate businesses.Thanks!
Hi,i want to dump the records into excel report but wonder if i can display the header cloumns on every single page? For example, if i have 200 records and dump all into excel that have about 5 pages, how can i have the header colums to show header fields: Sale No , DeptNo, SaleDate, etct on all 5 pages?<cfheader name="Content-Disposition" value="inline; filename=report.xls.xlsx"> <cfcontent type="application/vnd.ms-excel"> <table cellpadding="0" cellspacing="0" border="1" width="80%"> <tr> <th width="7%"> Date</th> <th width="5%">Sale</th> <th width="5%">Dep.</th> </tr> <cfoutput query="variables.
I've been using CFC's for processing for a little while now and haven't come across this issue before as most of our applications run internally and don't get much load. I have an application running now that processes payments online for renters and since they are all due on the first of each month, there's a ton of activity for 1-2 days and then it dies off again. I noticed the last time this was heavily used (March 1) that when then 2 or more people are paying online in very close time proximity to each other, the data I'm capturing to record the payments is missed up, and often related to the payment information directly before or after the incorrect one. It's like when someone else enters the CFC, it's over-writing some of the variables within the CFC.Here's some of the code (simplified):1. I'm setting the CFC's and some other variables into the application scope in Application.cfm on start of the application: <cfif IsObject(application.commonCFC) EQ fa
I have a page that outputs a bunch of rows with form fields from a query. I am trying to bind a totals field to some simple math between a couple of the form fields and cannot get it working for some reason. What I am trying to do is:bind = {((field1_#id# -field2_#id#) + #field3_#id#)}What would be the best way to go about this?
I have been dumped into the deep end here and could use some help.I have googled this like crazy so any advice would be helpful.Environment / backgrounda vmware winx64 server clone of a cf9 box we have. We want to do some testing of the cf10 so i was tasked with upgrading the cf9 to cf10 developer and if after some testing we would role into a full cf 10 box.What's the issueI can't get the fing installer to popup to install.checked temp/tmp paths for spacesuped the vspaceturned off IE ESCrestared uninstalled cf9restartedrestartedgoogled restartedNothing seems to be working my only thought is it's behind a firewall, i tried to install in on another dev box (not vm) and had the same issue.
We are having issues with our upgrade from CF9 to CF10. Our plan was to install CF10 then uninstall CF9. We were able to successfully install CF10 but when we turn off CF9 we are unable to access our CF sites. Oddly enough, we are still able to access the CF10 administrator but we cannot access any of our CF sites. Suggestions?
Using jquery to pull CSS works fine in all other borwsers except IE9 page wont refresh?
Attempting to install CF10 on Windows Server 2008 R2 Standard 64bit SP1. I've attempted twice and received an error near the end of the installation process both times:"ExecuteAppCmd.exe has stopped working."After dismissing the error, the installation finishes but cfm templates are not being processed. Upon launch of the administrator on the server computer a 403 error is received:"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."Has anyone experienced this this issue, or have ideas about resolving?
I have a need to pass data to somebody and they have asked for it to be in SHA-1Encryption is not my thing, and I'm trying to get my head around it. I've read the DOC's and the forum and can't quite figure this outI read that SHA-1 is a hashing algorithm not an encryption, so I'm not sure if I should be using the GenerateSecretKey, it all got a little confusingLet's say I have a MAC address 11:22:33:44:55:66How would I convert that to a SHA-1Can anybody point me in the right direction? I don't want/need to do anything too complex.ThanksMark
I am trying to generate the following with Coldfusion to pass that as a json object to JS. [ { key: "Final List", values: [ { "label": "Title I", "value" : 33 } , { "label": "Title II", "value" : 33 } ] }I have:postObject["KEY"] = "Final List";postObject["VALUES"] = [];postObject.values[1] = {'label':"Title I", 'value':"33"};postObject.values[2] = {'label':"Title II", 'value':"35"};serializeJSON(postObject);The result I get is a bit different:{"VALUES":[{"value":33,"label":"Title I"},{"value":35,"label":"Title II"},"key":"Final List"}Any help appreciated...
Microsoft Windows 8 and Microsoft Windows 2012 server are now supported platforms for ColdFusion 10. The new Windows installers are available for download to all retail and licensing customers as well on the trials download page.The ColdFusion Builder 2.0.1 installers have also been updated to support Windows 8. The existing MAC OS X installer for ColdFusion Builder 2.0.1 has also been certified to now support MAC OS X 10.8.Refer this technote for more details about the support.
Code worked fine on fully patched 9.0.1. Breaks only after installation of CHF3. The entirety of the breaking code:<cffunction name="myFxn"> <cfargument name="aCFC"> <cfreturn CreateObject("component", "a_relative_path." & aCFC)></cffunction>
When running a silent CF9 install I'm unable to remove the product, either through control panel or running the uninstaller directly. The error is "You do not have sufficient access to uninstall Adobe Coldfusion 9. Please contact your system administrator." Coldfusion works perfectly fine after the silent install, it just cannot be cleanly removedThis is being run as a local administrator on Windows 2008 R2 SP1 in both cases, from an elevated command prompt. If I run the installer interactively with the same settings it works as expected and can be removed without any troubleMy silent install parameters are:INSTALLER_UI=SILENTSILENT_LICENSE_MODE=full SILENT_SERIAL_NUMBER=#LICENSE#SILENT_INSTALLER_TYPE=standaloneSILENT_INSTALL_ODBC=trueSILENT_INSTALL_VERITY=trueSILENT_INSTALL_SAMPLES=falseSILENT_INSTALL_JNBRIDGE=false SILENT_INSTALL_LDS=falseSILENT_INSTALL_FOLDER=C:/ColdFusion9SILENT_WEBROOT_FOLDER=C:/ColdFusion9/wwwrootSILENT_VERITY_INSTALL_FOLDER=SILENT_A
I am trying to combine a date value and a time value from a form submission into one datetime value and then insert it into a SQL server 8 data table.Here are the formatsDate : 03/07/2013Time : 08:07 PMSo somehow I need to concatate these 2 items and then insert the combined value into a SQL server 8 data table. (datetime Data Type).The inserted value should look like this2013-03-07 20:07:00.000Any help my dear cold fusion brothers?
We have a server with Cold Fusion 9.0.1274733 with the Cumulative Hotfix # 2 on it (chf9010002.jar).I recently installed Java 7 Update 15 on it (1.7.0_15), but Cold Fusion Administrator still sees the older version of Java.The jvm config shows the path as C:\ColdFusion9\runtime\jre, which is pointing to a 1.6.0_17.So, I went into the jvm config file and pointed the java home directory to C:\Program Files\Java\jre7, but with this path, the Cold Fusion service will not start.Any suggestions?
Hi AllRecently i have applied hotfixeshttp://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb12-26.htmlhttp://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb12-21.htmlto numerous servers.One of the steps to install the hotfixes is to manually select the hotfix via the GUI and hitting submit.My query is this - Does the GUI simply put the hotfix in the location update location? Or does it do more behind the scenes?The reason why i'm asking is because should i have to update multiple servers in the future, it would be much quicker and easier just to place the hotfix directly in that hotfix update location and avoid the GUI altogetherCheers in advance
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe9cbe5cf462523a02805926a1237efcbfd5-7fff.html
I have the application.cfc page. The only take that are in the file is the code that make cf show the header and footer on all pages. There are a few pages that I would not like the header and footer displayed I.e. a coming soon page. ID there a way to insert a rule into the application.cfc to not allow the "comingsoon.cfm" page to display header and footer?Here the code I used inside the application.cfc page.<cfcomponent output="false"><cfset this.datasource="store1975"><!---<cffunction name="OnRequestStart" returntype="boolean" output="true"> <!---Any variable set here can be used by all out pages---> <cfset request.company = "Sisterhood"> <!---Display Header on every Page---> <cfinclude template="header.cfm"> <cf
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.