The official community for ColdFusion.
Nyligen aktiv
i'm trying to get cfbuilder to work on my el capitan mac book air. the installer runs through and doesn't report anything major. but when i go to load it i get a popup telling me i have to go download the legacy java 6 for it to run.anyone else worked around this? seems odd to force me to install a version of java which has known security issues and is not supported by anyone.
My code:<cfajaximport tags="cfform,cfwindow,cfdiv"> <html> <head> <title></title> </head> <body> <cfwindow width="500" height="310" center="true" name="test" title="Test" initshow="true" draggable="true" resizable="false" modal="true" closable="true" headerstyle="color:red;font-size:18px;"/> </body> </html> Header of the window does not change. I s this a bug?
I'm in a catch 22 situationI've got Coldfusion 11 (64 bit) running on Win2K12 server with IIS 64 bit.I have a 32bit COM object I'm trying to use. I've setup a classic ASP page to test it because Coldfusion breaks when I set "Enable 32 Bit Applications" to TRUE within IIS for the DefaultAppPool.Enabling 32 Bit applications allows the object to be created however doing this breaks Coldfusion with an HTTP Error 500.0 - Internal Server ErrorDetailed Error Information:Module IsapiModuleNotification ExecuteRequestHandlerHandler cfmHandlerError Code 0x800700c1When I set "Enable 32 Bit Applications" to FALSE, Coldfusion starts working but then I cannot create by object.error '800a01ad' Automation server can't create object /boltz/FaxList.asp, line 6 Does anyone have any suggestions?Thank you!
We were using the GetHttpRequestData().headers["X-REWRITE-URL"] variable for our SEO optimized websites. Now we have upgraded the website to Coldfusion 11 and now we have no possibility to read our SEO URI from coldfusion request headers.Is there any other way to read this variable?
How do people restrict requests to CF files when using IIS 7 or 8 ? We can use URL Authorization, which works for all files except CF files. CF file requests bypass the IIS restrictions.We've worked with Adobe technical support and tried using Windows file/folder permissions to restrict CF access. But IIS needs anonymous access to check read web.config.Seems like I must be missing something basic here ...Any ideas?thank you,Chris
When running this code:<cfset sessionTracker = createObject("java","coldfusion.runtime.SessionTracker")><cfset sessionCount = sessionTracker.getSessionCount()>My total session count it 500, yet in the metric log for the same instance I see session count is 1500. Why such a difference in numbers? Which one is correct?- Alex
Hello everyone, I have two queries qryCustomer and qryStore. I have to loop through both at the same time. I tried to do this but that gave me duplicates.<cfloop query="qryCustomer"> <cfloop query="qryStore"> Insert Into tblResults Values(#Name#,#Id#); </cfloop></cfloop>If anyone knows how I can loop through both of them at the same time that way i can avoid inserting all ID's for the same Customer please let me know.Thanks in advance.
Hello, all,Can anyone suggest reasons as to why, after 8 months of working fine, a variable set specifically in the VARIABLES scope would suddenly stop working?In my Application.cfc file, within the "onRequestStart" function, I have the following line: <cfset variables.praglink = "//" & cgi.server_name /> It's been working since March of this year. This morning, I open a page in the browser (my DEV environment uses one physical machine for CF, one physical machine for DB, and my development system), and get the following error message: Element PRAGLINK is undefined in VARIABLES The error occurred in {dev path}/wwwroot/public/header.cfm: line 20 header.cfm line 20 is: <link rel="stylesheet" type="text/css" href="<cfoutput>#variables.praglink#</cfoutput>/style/public.css" /> It was working fine, Friday; today, not at all.All the other variables set in the variable scope are present. CFDUMP shows the rest are working. Just not PRAGLINK.I
I am trying to create multiple instances to access a website we are moving from version 9 to version 11, when creating the instance, I check the box to create the windows service, in case we need to restart that one instance, but it does not create the service for that instance. I can see how I can shut down, edit, and restart that instance in the administrator, but I would like to be able to restart it in windows services. Is this a new behavior or is it because I've already gone through the lockdown guide and it can't create the service? I tried changing the account that coldfusion runs under back to the local system account and that doesn't help either. Is this the preferred behavior, should I run these instances without services, or should I have created the instances before I locked it down.Thanks.
In CF Report Builder 10...lets say I make my first page in the 'builder' and it's a cover page. Contains a Report Header, a Page Footer, a bunch of labels and a .gif image.Now I'd like to test that, so would I use code snippet, and use a cfoutput to display the page? Or can I use cf code to output the cover page to my http://127.0.0.1/CFIDE/mes/test1.cfm from within the 'builder'?
lets say I use the first report to create a cover page, and now I want to in to the Query Builder a sub-report.This section will handle the next report...is that not correct?
Hello, we have following situation and can't seem to find a fix or workaround for it. Could you help?On all 4 of our Windows Server 2012 R2 servers running on vitrual machines with 8 vcpu cores each, we have 10 instances running ColdFusion 11 update 6, the instances are the same on all 4 servers, 2 servers are used for test/qa and 2 for production. On all of those servers, after servers are restarted some instances don't start properly and need to be manually restarted to start working; it seems that on average at any time 2 to 4 instances won't start and those are not the same instances every time. We were looking at the log files and we think we found what the issue is, but not sure how to go around it or fix it. When instances are starting, the following error shows up in the logs files of the instances that don't start properly (see down this post for actual log entries):Oct 13, 2015 7:52:25 AM org.eclipse.jetty.util.log.JavaUtilLog warnWARNING: FAILED ServerConnector@69f41e78{HTTP
FIRSTSo I have a cover page occupying the Report Builder 10, Report Header and the size is 11 x 8.5.The Page Footer contains labels for the display of the company name, all rights...,copy right..., name of the report and date.I'd like to display this so I know it's going to work. The cfoutput tag works only on queries...so is there a CF method to display the 'report header & page footer'?This experiment contains a .cfm file with the query and the .cfr files, using Crimson I see the file (test1.cfm)test1.cfm:SELECTtblStateProvince.State, tblStateProvince.Name, tblFacility.Name as FName, tblFacility.City, tblFacility.PostalCode, tblFacility.Address, tblFacility.OID,ContractNumber,ContractEffectiveDateFROM tblFacility INNER JOIN tblStateProvince ON tblFacility.OIDStateProvince = tblStateProvince.OIDWHERE (((tblFacility.OID)=37667)); Here is where I tried to assign the string to the 'Label' on the Report Header.tblFacility.Name = "Yosemite Valley, LLC"TReportStaticText104 = "#tbl
Hi everyone. I have this one page on our site that we would like for customers to order some parts from. It is separate from our current database on our site and there really are no part numbers because the calculations for the parts are on the fly (depending what the user chooses). Here's the link: https://www.ironwoodelectronics.com/elastomer.cfm We do not have our certificate updated yet, so you might get the unsecured page, but it's safe to use. We're not going to ask for credit card info. on here. I think we're going to go through stripe.com for that. But what I don't know how to do is to create a shopping cart for this page. If the user goes through and chooses the correct dimensions of what he needs, I have the info. with pricing output to a table at the bottom. The problem is if they choose a different part with different dimensions, I lose the info. from the first opti
Hello, all,I'm helping one of my developers with a project, and I've got one requirement that I'm not entirely sure how to proceed with it.The page in question runs a SELECT query from the database and displays the tabular information in a table. As the table is being generated, I'm using spreadsheetnew() and associated commands to create an Excel object from said data.Now, it would be real easy to introduce code that would automatically offer the Excel object as a spreadsheet upon page load. What is being requested is for there to be a link to start that stream/download upon click; in case the user doesn't want to save or open the spreadsheet.I don't want to run the query a second time to generate the Excel object. Is there a way for me to pass the Excel object to another page to start the stream/download?V/r,^_^
hey in the query builder of report builder 10 I got an error on:FROM tblFacility INNER JOIN tblStateProvince ON tblFacility.OIDStateProvince = tblStateProvincewhat is java.swl.SQLException: [Macromedia][SequeLinkJDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Join expression not supported.Why?
Hi,Is there a way to integrate ColdFusion with Adobe AEM?Thanks a lot
CF11 install linux failureExpected: bundled JRE should work on Ubuntu 13.1Launching installer...JRE libraries are missing or not compatible....# java -versionjava version "1.7.0_55"OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.13.10.1)OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
1. CFB3 does not show the latest files and file structures when the project's source of files are located in a mapped network drive. I've even tried to manually refresh and it just won't refresh.2. CFB3 freezes when I am working on a file that is from a mapped network drive.I first thought it might be the network drive but the file works fine in NotePad++ and Aptana Studio 3.
Hi All,First time seeing an app using framework Mach-ii. I did some changes to my app code, it looks like the framework cache the app, the only way to see the updates is restarting the CF service.Is there a better way to refresh the cache for my app?I tried creating a basic application.cfc with ApplicationStop() as:<cffunction name="OnApplicationStart" access="public" returntype="boolean" output="false" hint="Fires when the application is first created."> <cfset ApplicationStop() /> <!--- Return out. ---> <cfreturn true /> </cffunction>But it doesn't work.Anyone work with this framework?Thanks!
We are wondering if/how we can install CF11 on two different servers.
Hello,Iv'e got a question about the default Apache Derby Embedded datasources that come with a new installation of ColdFusion. I want to use one of them (like cfartgallery), for some demo code, but I'm not familiar with the structure of the database so I don't know how to write the queries. Is there any way to "browse" the database to see it's structure? I tried using <cfquery> with a show tables query, but it threw an error. I guess you can only use it for SELECT, INSERT, UPDATE, etc.What am I doing wrong? Is there a tool to visually inspect the database, or a method to do that via ColdFusion that I'm missing?ThanksP.S. I think Dreamweaver has a tool like that built in (somewhere in the Bindings menu), but I'm running ColdFusion on an Ubuntu machine.
We started with an out-of-box install of ColdFusion 11 x64 on Windows 2008 R2. As sites were added to the server, we noticed a memory leak started to become apparent. There was plenty of information about this error being a bug in the older JRE, so we upgraded staging, and eventually production, to jre1.8.0_45. The memory leak still persists - after about 3 weeks, the 4GB heap fills up and the server starts to slowdown, so we restart ColdFusion. If we let it continue to run, ColdFusion starts to throw out-of-memory errors.From the last time when the heap utilization was about 50% after 7 days: The class "java.io.DeleteOnExitHook", loaded by "<system class loader>", occupies 1,165,311,936 (51.15%) bytes. The memory is accumulated in one instance of "java.util.LinkedHashMap" loaded by "<system class loader>". Keywords java.util.LinkedHashMap java.io.DeleteOnExitHookDoes anyone have
On CF11 using <cfgrid> with format=HTML ColdFusion.Grid.refresh('grid01', true); does not preserve the current page. If I navigate to say page 3 of the grid, select a record and then use the Refresh button on the toolbar or call a function that implements ColdFusion.Grid.refresh the grid refreshes, but returns back to the 1st page, even though the preservepage attribute is set to yes.This worked perfectly on CF8, but refuses to honor the preservepage attribute on CF11.I do have a custom toolbar above the grid, so I do manipulate Ext behind the scenes for some things, but I can't seem to find anything I can do to fix this behavior.Any help would be appreciated!
I"ve got CF8 standard edition. In the CF administrator I have the gateway services panel available to me. So I'm assuming that the requirement that you have the enterprise edition of ColdFusion to run Gateway Services was removed with CF8. I have the "Enable ColdFusion Event Gateway Services" box checked. I've even restarted the CF8 services to make sure the setting took effect. I've configured a gateway instance. But when I go to start it I get the error "Unable to start event gateway instance: Event Gateway Service is not enabled.". So first question: Does standard edition CF8 support gateway services? Or is Adobe just taunting users by making that screen available in standard edition administrator? If it does, any ideas why I'd get this message? The only event gateway documentation I can find on Adobe's site or elsewhere deals specifically with CF7 and speaks of an actual windows service that you have to start for this to work. I have no such service listed. I'm assuming that i
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.