The official community for ColdFusion.
Recently active
IIS is expecting c:\Inetput\wwwroot\cfdocs, however cfdocs is not appearing under wwwroot. How can I fix this?Jim
Hi all,I am attempting to output some calendar dates from a database. I have a field called StartDate in the table formatted as mm/dd/yyyy. I'd like to output "future dates" for each month, so I've written this query:<cfquery name="January" datasource="dsn"> SELECT * FROM SITE:Calendar WHERE DatePart('m', [StartDate]) = 1 and StartDate >= #Today# and Archive = 0 ORDER BY StartDate ASC, StartTime ASC</cfquery>FYI: #Today# is formatted as mm/dd/yyyyThis query works, but it also returns passed dates for the month. Question 1 is, why isn't the above query eliminating dates that have passed for the month of January? Is there a way to do this?At another spot on the page, I'd like to output all dates less than #Today# that have passed for the current calendar year, so I've written this query:<cfquery name="Past" datasource="dsn"> SELECT *&nbs
Hello,What is the best way to average numbers both that span across both rows and columns?I have a table that holds student names (y-axis), tests they take (x-axis), and their scores. I need to average the student's scrore for all tests and also average the test scores for all students. How should I go about saving the data so I can then do some maths on it?Thanks.
ColdFusion 10 works just fine serving pages for our Intranet. Installed on Windows Server 2003 SP2, and previously worked fine with a trial version of ColdFusion MX 7. After the installation of Coldfusion 10, however when the server is logged off, Service is Temporarily Unavailable page is displayed. Admin console is not available either at the same time. The Cold Fusion 10 Application Server service shows running, but doesn't serve pages. The service has to be restarted, then the pages are served again.How can we make the application server continue to serve up the Intranet .cfm pages while not logged in to the server?jcasey1987
I'm trying to get CF10 Developer Edition working on Websphere 8.5.5.0 Liberty Profile, and after messing around (a LOT) with the web.xml and adding a -Dcoldfusion.disablejsafe=true java parameter to the startup, I've almost got it working.(Incidentally.... it would be really nice for those of us doing Enterprise work if there was some kind of explanation of every single entry in web.xml... otherwise we're just fooling around with it until all the different CF services are working.)However, I'm seeing this on the left frame when I log into the admin panel:The following information is meant for the website developer for debugging purposes.Error Occurred While Processing RequestObject Instantiation Exception.Class not found: com.adobe.coldfusion.entman.ProcessServer Resources:Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information op
I use CFRETURN in my CFFUNCTION in cfc file.My query return date format is 2012-07-04, CFRETURN Jul, 04 2012 00:00:00I would like to return to my client what is query exactly return like 2012-07-04.Are there any work around for this?Your help and information is great appreciated,Regards,Iccsi,
Please participate in this ColdFusion feature usage survey. This is not a typical feature usage survey for ColdFusion. The purpose of this survey is to understand the usage of some of the old or not-so-popular features of ColdFusion.The information gathered here will help Adobe deprecate/retain/provide alternate features in the next major version of ColdFusion.Thanks for your time.
We have recently upgraded to CF10. Our application uses cfchart for reports. In a standard request the charts work perfectly. We create png images en the publish them. All server activit<cfchart name="cfChartData" format="png" chartWidth="650" chartHeight="200" rotated="yes" show3d="false" > <cfchartdata item="item 1" value="20"> <cfchartdata item="item 2" value="50"> <cfchartdata item="item 3" value="10"> <cfchartdata item="item 4" value="35"> &n
I have a CF 9.0.2 on two servers that looks to have hf902-00005.jar installed. Did Cumulative hot fix 1 need to be installed prior to this hot fix? I have a a dev server showing Java VM as 14.3-b01 with version Java JDK 1.6.0_17 and the production server showing Java VM 20.4-b02 with version Java JDK 1.6.0_29. The production server is having ODBC run time problems. Both are installed on windows 2008 r2 64 bit servers. CF 9.0.2 is also 64bit.
C:\ColdFusion9\bin>cfstart.batC:\ColdFusion9\runtime\jre\lib\rt.jar: error reading zip fileError occurred during initialization of VMjava/lang/NoClassDefFoundError: sun/reflect/UnsafeFieldAccessorImpl
How to resolve a problem that I encountered while working in a training on Tobacco recovery? The error is presented as followed : Mozilla/5.0( Window SNT 6.1 Apple Webkit 537.36 KHTML, like ( Gecko) Chrome 29.0 1547.57 safari/537.36 Remote 69.122.247.91 ? The path: http:www.tobaccorecovery.org
Trying to use the ArrayFindNoCase function, but it doesnt appear to work on multidimensional arrays? i.e. only on single dimensioned array? can anyone confirm this is the case?
I'm using a 32-bit version of CF9 and it's installed on a Windows Server 2008 R2 machine (64-bit). The problem I'm running into is that it won't allow me to create a COM object - it gives me the error, "no ntvinv in java.library.path null" when I try to run, <cftry> <cfobject type="COM" action="CONNECT" name="Engine" class="JRO.JetEngine"> <cfcatch type="Any"> <cfobject type="COM" action="CREATE" name="Engine" class="JRO.JetEngine"> </cfcatch></cftry> Then when I run it a 2nd time, I get "An exception occurred when instantiating a COM object. The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed." Can you help me?
i am rebuilding a new client's cart to be pci compliant (far from it now lol) and i called authorize.net tech support and the person was talking about what i though was a formstet or app in my cc page that was literally connected to a/n's site and i never need to work with cc data at all. it returns the standard string, i think, to a specified page on my clients site.he said it was called "direct post" but when i read the documentation it sounded like what the site has and i use on other client sites where you post to a page on your site all the data and convert to X_ tags and ship it via https to authorize net. i don't think the person was quite sure what he was talking about and was wondering if any of you have had experience with a direct connection (pipe) to authorize.net for transactions.i put site on a hosted cf10 pci compliant cloud server.i don't like dealing with cc data on the site. makes me nervous and a/n can be a pain.tnx in advance
according to ben forta who i met many years ago, cf loads the complete page and then does functions in a particular order. i.e. includes, queries, etc.my problem is that i am sending over a unique identifer in the formset that is needed in an include on each page of my cart (i don't use cookies or sessions and don't want to get into that).what i want to know is if there is a way to force cf 10 to look at form. items first. the page needs that number or the include (header.cfm) crashes. i also have that issue with cfabort where cf does a lot of functions before it recognizes that tag which can really foul up things if a variable isn't there.site needs to be pci complianttnx in advance,
I use following jQuery code to pass json data from ColdFusion using jQuery.get() to datepicker.I tested the server side and it returns data without error.I got 'I am here' and 'Data Loaded:" message from alert.The click evnet is triggered, but it does not go in to success callback function.Any information and help is great appreciated,Regards,Iccsi,Her is client side coe:jQuery("#btnTest").click( function() { alert(' I am here'); jQuery.get({ url: 'MyServer.cfc?method=MyMethod&vMyNumber=5', datatype: 'json', success: function(data) { alert(" i am inside"); jQuery("#MyDate").datepicker('setDate', data.MyDate); console.log( data ); &nb
When using PDF output in CFDOCUMENT, for correct, proper display of PDF files, does it require the full version of Adobe Acrobat to be installed on the ColdFusion production server?We are using ColdFusion 9 on development/staging/production servers. I have one report that uses CFDOCUMENT with PDF as the output format. When I run the report on my local development/staging server (which uses CF9 Developer Edition), the output looks great. Background colors are displayed correctly (using CSS styles), page breaks work perfectly, etc.However, when I copy and run the report from our CF9 production server, the PDF output has no background colors. Everything is in "black and white." The only difference is that my local/staging server has the full ($199) version of Adobe Acrobat installed on it. But our CF9 production servers do not have Acrobat installed (just the free Acrobat reader).I was going to try installing the free Acrobat 30-day trial version on the
Hi Everyone,I have ColdFusion Mx 6.1 server installed. I want to migrate the server to ColdFusion 10. Is it possible to migrate/upgrade from 6.1MX to 10?If possible, please suggest with the steps required to migrate from ColdFusion MX 6.1 to ColdFusion 10.Thanks,Bhagath S
CF10 update 11 Win7 x64I'm running into a problem that I just noticed with serializeJSON()... ints are being converted to floats. Here's the code:<cfset r = { "x": 0, "y": 1}><cfoutput><pre>#serializeJSON(r)#</pre></cfoutput><cfset r.x = int(Val("1"))><cfset r.y = ceiling(100/10)><cfoutput><pre>#serializeJSON(r)#</pre></cfoutput>Here's the output:{"y":1,"x":0}{"y":10.0,"x":1.0}Is this messed up or what?
How do we get support?
I need pass server side data from ColdFusion to jQuery DatePicker for a date time value from my backend database like following code.<cffunction name="myFunction" access="remote" returnformat="json">Since jQuery needs xml or JSON data type, I only need pass a piece of data, do I still need pass JSON data type including ROWS, TOTAL and all the information as well? Regards,Your help and information is great appreciated,Iccsi,
I have a virtual web server at work. I have several different sites on it, lets call them:SiteA.MyWork.orgSiteB.MyWork.org <-- this is a ColdFusion siteSiteC.MyWork.orgThe sites are all installed in the H drive as is ColdFusion.I am going to add one more site SiteD.MyWork.org - also on the H drive.These are my server details:System InformationServer DetailsServer ProductColdFusionVersion9,0,0,251028 EditionStandard Can I add the new site or do I need to install the enterprise version of ColdFusion? If I need the enterprise version, is it as simple as changing the license or do I need to actually install it?Thank you
Hi:I tried to connect up in Flash Builder 4 Beta to a Database Service that I created with the Create CFC wizard in ColdFusion Builder and I can't seem to make it work. The getAll function generated in the Gateway.cfc file doesn't seem to do things similar to the demo files in the getting started videos, as it seems to do a lot of extra processing to reconstruct the result set from a query object into a collection before handing it back. As a result of this, Flash Builder does not seem to be able to populate a grid based on the getAllItem.I'm a real newbie to Flash Builder, so it could easily be something simple that I've just done horribly wrong, but I've been stuck on trying to create and populate a simple grid from a CFC link to one of my legacy tables in SQL Server. I get the column headings correctly, and apparently the right number of rows, but all the rows managed to populate only a 0 as the value of any Numeric field and blanks for all the text fields.Another
We have had no problems using Oracle up to this point, and have been using ColdFusion and Oracle very happily for a long time. Due to security requirements where the ColdFusion server is hosted, the following changes were made to the Oracle client on the Oracle RDMS machine which caused ColdFusion to be unable to connect. In the sqlnet.ora file, we had to add the follwing line:SQLNET.ALLOWED_LOGON_VERSION = 10That parameter was required, it is not optional and we cannot lower it.Info about our ColdFusion Server:System Information Server Details Server Product ColdFusion Version ColdFusion 10,285437 Edition Enterprise Operating System Windows Server 2008 R2 OS Version 6.1 Update Level /D:/ColdFusion10/cfusion/lib/updates/chf10000011.jar Adobe Driver Version 4.1 (Build 0001) We are using Oracle 11.2.0.3 Once that change is in place, connections from our ColdFusion server get refused with the following error:ORA-2804
Hi, I know this problem has happened before, but after all the research and follow all the things I can do, I still stuck.so this is my code:<cfquery>select a, bfrom table 1</cfquery><cfdocument format = "flashpaper"><cfoutput>#a#, #b#</cfoutput>Nothing fancy. however, a and b are in Japanese font. the HTML file display the character just fine, as do the excel format.I change my jvm.config with "-Duser.language=ja -Duser.region=JP". I also edit the cffont.properties to be the same with cffont.properties.jaI also install the Japanese support fornt pack for the server using "yum install "@Japanese support"on Adobe reader, I also install Asian support language pack. The result still the same when I run the code, the japanese character returns as boxes.I am not sure what else to do so my character come out correctly.I am using Centos 6, coldfusion 10 - developer edition, and postgres 9, my database has UTF-8Any suggestion? PLEASE!!!
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.