The official community for ColdFusion.
Recently active
I have a CFGRID on the form and place it on CFLAYOUT.I have an iframe on the cflayoutarea,the CFGRID works on form it self, or on the CFLAYOUTAREA, but it does not work when it is on iframe.Any suggestion is great appreciated,Regards,Iccsi,
We have CF10 installed with two instances, cfusion and dev. There are lots of instructions on how to change the doc root by modifying the server.xml file, which i did successfully on the cfusion instance. The server.xml file on the second instance, dev, looks entirely different from the first primary instance and has no context to set a different doc root and/or aliases. Any clue how to change the doc root on a second instance?Thanks,Mike OatsvallP.S. there is a docroot global variable in the startup script for the dev instance. Which was not set. I tried setting that and restarted, no joy.
I use a CFGRID on CFLAYOUT.I use Dreamweaver preview in browser which works, but it does not show the grid when I use browser.I use IE 8 to test.Any suggestion is great appreciated,Regards,Iccsi,
I tried to change the setting to 5 and submit changes, under request tuning setting ->Maximum number of simultaneous Template requests is still showing as 0 even after the Coldfusion service restart. thanks
My project makes use of several folders and sub-folders off the root. My issue is I fix the relative path for CSS and header include only to have it break on a different folder or sub-folder. I know the answer is not to scatter header and graphics around but I can not figure out the solution. I do remember a while back a post someone wrote about using a .cfm file with <cfoutput> tags with the header and css file information but I can not find it anywhere. If you have solved the folder and relative path issue please share it with me. Thanks!
I upgraded our CF9 to CF10, and it is mostly working just fine, and my main application migrated perfectly, so thank you for that, but there are some issues. I'm using Windows 2008 x64 and CF Standard.<cfdump var="#server#"> shows 9, but only if the .cfm is in some places (still trying to narrow this down)the CFAdmin login box still shows CF9, but shows CF10 once actually logged into cfadminI am trying to create a REST API, but the command restInitApplication completely fails as if it doesn't exist (did it exist in 9?). Note that the rest API is located in one of the folders that returns version 9I tried to zip up the folder c:\coldfusion9 before removing it, but zip complained that there are a bunch of files still open, so I left the folder alone. I'm going to reboot it again after hours and examine this more closely, but it's a bit worryingI have a feeling my CFIDE folders are borkedSo from the first bullet point above, I wonder if the reason my application migrated so smoothly
I'm not sure if this is because Ext 1 vs Ext 2, but in CF8 which uses Ext, there's no context menu when right-click on the column header. However, Ext doc does have a nice contenxt menu, demo: http://extjs.com/deploy/ext/examples/grid/array-grid.html Any idea how to enable this for CF8 CFGRID? I already tried going into cfgrid.js and added &quot;enableColumnHide:true&quot; in var _42 (line 18), but still no luck. Any help would be appreciated, thank you!
HiI have a customer looking at Colfusion Enterprise but want it to run on a Solaris v11 Operating System. There appears to be some confusion in some of the tech specs that it may not be, so am looking for clarification.thanks
I found this codes from this forum: #dateformat(dateadd('d', 30, now()),'dd-mmm-yyyy h:mm:ss')# This code works but unfortunately I'm not using Now(). Instead I need to use a user entered Date such as Departure Date, something like 07/06/2013When I use the above code with my DepartureDate instead of Now() I got a java.util.date error#dateformat(dateadd( "d", 30, "DepartureDate" ),'dd-mmm-yyyy h:mm:ss')#When I get rid of the double quotes in 3rd parameter, I did not get error but the result date is wrong:When DepartureDate is 07/16/2013,I got 08/30/2013How can I easily add 30 days to my DepartureDate?Thanks#dateformat(dateadd( "d", 30, DepartureDate ),'dd-mmm-yyyy h:mm:ss')#
After building an archive car file on our Test server we want to deploy on our Staging server. The paths are different (drive and root). We change the deployment location for the files, but it installs to the same drive and subfolder as in the archive. How can I change the location from C:\mytest\webfiles to D:\mystage\webfiles?
I'll keep this short.I have TONS of CFTRY/CFCATCH blocks encapsulating different logic. In the event an error throws, I send the CFCATCH data and usually a descriptive message along with the invokation to a custom tag called cf_errorhandler. I haven't coded the logic yet in that page, but I'm wondering if this sounds convoluted.I understand that this will only address 'caught' exceptions, and I will utilize the onError method in the application.cfc for unhandled exception handling, but I'd love to hear other people's input on how their error handler for caught exceptions work. It's just that I get this feeling that I'm doing it the hard way.
There are quite a few errors in my CF8 Application.log file that look like this:String index out of range: -1 The specific sequence of files included or processed is: ''''Why is the file name blank and what's the best way to go about troubleshooting this error?
Yes, as simple as it sounds, I cannot figure out how to do this simple a task in Builder. Used Studio for years, then Homesite, now forced to move to Builder. (Call me old fashioned.)Already I don't like Builder. It's SLOW. Huge learning curve ... BUT how the h3ll do I create a new template? I mean File New .. done .. .nope. > ColdFusion page ... I cannot type in the Name field. No projects are available ... don't need one!> File, nope ... > Open existing template, save as new name, then open that template, and wipe out contents? (Not joking)> Ctrl-N ... select a wizard. Is this seriously the editor CF developers are now using? I am forced to switch as a) New hardware for new workstations. Old hardware "died". 1. Windows 7, cannot install Homesite into it. 2. Did manage to install Homesite (older version) ... trial for 30 days ... but it would not let me enter valid serial number after trial. Holy c0w. Or do
I've downloaded the Coldfusion 10 trail install for OSx and the .dmg was successfully opened by the OS. However the actual install package opens and then becomes unresponsive... I have to use force quite to close the window
Error Detail:=========An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class. Error: ''.I am getting this error because of the below code.ByteArray = BinaryDecode(theKey,"hex");sk = CreateObject("java", "javax.crypto.spec.SecretKeySpec").init(ByteArray, "AES256");StackTrace:=========java.lang.IllegalArgumentException: Empty key at javax.crypto.spec.SecretKeySpec.(DashoA13*..) at sun.reflect.GeneratedConstructorAccessor1030.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at coldfusion.runtime.java.JavaProxy.CreateObject(JavaProxy.java:166) at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:80) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfindex2ecfm842581397.runPage(/mnt/cfcontent/intrasites/sso/landing/nlsso/index.cfm:56) at coldfusion.runtime.CfJspPage
[ajp-bio-8012-exec-9] - Element SYS is undefined in CLIENT. The specific sequence of files included or processed is:We are getting the errow quite frequently when moved from ColdFusion 4.5 to ColdFusion 10 recently. I tried to use the default client variable storage to registry. Someone help me out on this error rleated to client varaibles? I'm seeing this issue recently after upgrading to CF10.
APSB13-19 does not play nice with another JRUN hotfix we deployed: http://helpx.adobe.com/legacy/kb/error-response-been-closed-illegalstateexception.htmlCF is throwing out this error if both hotfixes were found in /server/lib directory: 500jrun.servlet.JRunResponse.setRequest(Ljrun/servlet/ForwardRequest;)Vjava.lang.NoSuchMethodError: jrun.servlet.JRunResponse.setRequest(Ljrun/servlet/ForwardRequest;)V at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:242) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)Any help would be appreciated. thanksDavid Kwang
Google is no longer providing api keys. Does the cfmap tag still require one? If so, what is the workaround?Thank you.
Weird problem.I have a set of test cases that pass just fine loading a known CMYK jpeg via ImageNew(). Later, with no restart of the app server, these same test cases fail. Again, after a while, the test case passes again. I've dug into the Java a little bit, and I wonder if the ImageReader implementation being used doesn't switch out once in a while -- like maybe a hashtable of ImageReaders reorders or something.I know the CMYK is only partially supported, but I could get data with ImageNew and ImageInfo showing it was a CMYK file, then later on, it would throw "Image Not Supported" errors.Anybody have knowledge of these inner workings to provide some insight? Smells a bit like a bug to me, but I can't consistently replicate it.-Dave
I am working on a project where there is a list of items from the database and the screen is populated with the items, description, and a checkbox for the user to select. When the user processes the screen only those items are stored in the database. I have it all working but no real good idea on how to save the selected items to the database. Need some assistance on this one. <!--- This sould be the MS SQL ---><cfif isDefined('form.test')> <cfoutput>This is a list of the items selected</cfoutput> <cfloop list="#form.test#" index="i"> <cfparam name="form.#i#" default=""> #i#: #FORM# <br> </cfloop></cfif><!--- Get the Data from the MS SQL Database ---><cfquery name="getData"> Select&nbs
What is the best way to control fonts and size inside a <cfform>?
Anybody got solution how to enable Robust Exception Info on ColdFusion Server 9.01 running behind a load balancer on AWS? One option is to disable the HTTP status codes but we do need the functionality. Please note that everything is working without the load balancer and the Robust Exception is enabled and we added our IP to the Debugging IP Addresses section. We have even added ISAPI Xforwarding functionality and we do see the correct IP in logs but CF Admin is still ignoring those headers. Thanks J.Edit: The same will apply to websites that are NOT behind load balancer as AWS is forwarding everything to a private IP so this issue is not just a load balancer.
Was bug 3042974 resolved? If we update to ColdFusion 9.0.2, will we still experience this bug?The bug description is: ColdFusion throws attempted duplicate class definition when accessing a web service.
I want to develop a business workflow like below,Is it possible in CF .. .Sequence Flow: Request center --- > Request (2nd department) ---> Request (3 rd department)Parallel Flow:Request center ----> 2nd department ----> Final Depatment ----> 3nd department
I've setup an RDS server in CFB2 and can just about do everything with it except use it to synchronize my local files with the remote ones. If I want any type of sync I have to setup an FTP connection as far as I can tell.
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.