The official community for ColdFusion.
Recently active
if the project is not in the document root, how can I create a project in document root? Normal we create a new project in Navigator of CFB. and how to create a linked folder to the document root ?May anyone help?Thanks.
I've taken a .jar file that contains classes used with the HSBC CPI gateway - does things like hash encoding of data.It seemed to work well with cfmx7, but I had a bit of trouble getting it recognised by cf10.However, it is now recognised. I had to do the following:1) Put cpitools.jar into <WEB-INF>/lib2) Tag Name: cfx_HSBCHashGenerator, Class Name: com.clearcommerce.CpiTools.security.HashGenerator3) Restart CF (not 100% sure this is necessary)4) Call a script with <CFX_HSBCHashGenerator SharedSecret="#ss#" HashElement="#datainput#">However, I get this error message:A ClassCastingException occured. The CFX custom tag CFX_com.clearcommerce.CpiTools.security.HashGenerator needs to implement com.allaire.cfx.CustomTag interface. Ensure that you add this to your custom class.Now, I know that the .jar file was just fine in MX7. Is this a change for CF10, or is there something else going on? Thanks for any help - I'm tearing out the little hair I have over this one!
I have CF10 Developer version on my machine and CF 9 is remote server.I have CFSTOREDPROC works on CF10 local developer version, but CFSTOREDPROC does not return data on CF9 Remote server.Both CF9 and CF10 connect to the same database server and running exactly same code nad stored procedures, because it is same source code I just use Dreamweave to put 2 different web server.I would like to know any thing I can check between local and remote server using CF9 and CF10 makes CFSTOREDPROC does not return data.Your help and information is great appreciated,Regards,Iccsi,
ColdFusion is awesome for my work. I can make anything I want with it and seeing as 99% of my work is making web applications, I haven't needed to look elsewhere.I was just wondering why anyone would need to learn Java, if you already know ColdFusion... I understand that ColdFusion runs on Java, but is there anything special I could do with Java that is not possible in ColdFusion for use in websites?It intrigues me because I have to cover the work of an ASP.NET developer, and when I was looking at his C# code (which looked very similar to Java) it made me cry to think people make websites in this way. Compared to ColdFusion it looks archaic but then I remember that CF works with Java so I thought about looking into learning Java. But is there any advantage to me doing this?
I have a ColdFusion8 environment. I need to generate a sound alarm when an event occurs... is it possible ?
I'm using CF9 on windows 7 professional. when ever i execute from a form to the action page i get this error:Could not find the ColdFusion component or interface VAFOINS_NEW.Componet.display. Ensure that the name is correct and that the component or interface exists.It works fine on my local computer, however the Componet is not invoking properly when on the actual web. Any suggestions?THE CFC syntax is below:<!--- Generated by Adobe Dreamweaver CS5 11.0.4.4993 [en] (Win32) - Fri Sep 23 2011 15:56:13 GMT-0400 (Eastern Daylight Time) ---><cfcomponent displayName="volno" hint="List all FCN, NS, FOID etc. Items By way of volno input"><cffunction name="volno" returntype="query"><cfquery name="volno"> select TRIM(CONCAT(name.fname,' ',name.xholy))AS Brother, name.foiid, fcn.*, nspay.*, Foidpay.*, otherpay.*, CONCAT(otherpay.othpayamt,' - ',otherpay.othpaytitle) AS otherpay, fcnsales.salesid,(fcnsales.salesamt) AS FCN_SOLD, salesdate FROM name, fcn, fcnsales, foidpay,
Hello all,Anybody have MySql skills? Our reqular guy is out for a couple of weeks so I'm trying to help out. I am mainly a UI guy but I am enjoying CF. Ok to the question. I am trying to update a table with another table. I want to find any duplicate rows based on a particular field, replace them and then add any new rows. Here is what I have (the error that it returns is below):<cfquery datasource="square" name="loadupdates"> SELECT MLS_Id, List_Price, Public_Address, Street_Number, Street_Name, Unit_Number, City, Zip_Code, Subdivision_Name, Bedroom, Baths_Total, Full_Baths, Half_Baths, Square_Feet, Lot_Sqft, Garage_Capacity, Garage_Type, High_School, Junior_School, Property_Description, Listing_Office_Name, Listing_Office_Id, Listing_Agent_Name, Listing_Agent_Phone, Listing_Agent_Id, Short_Sale, Open_House_Flag, List_Date, Last_Image_Update, Price_Change_Date, Image_Count, Latitude, Longitude &nb
Greetings, I have a server with Windows Server 2008, IIS 7, Cf9.0.2 updated with all of the latest patches and hot fixes, multi server installation. I have 4 websites running in the cfusion instance. I want to create a 2nd CF instance and connect siteB to the 2nd CF instance. I created a 2nd CF instance and cannot get siteB to work. I get Service Unavailable when trying to hit the website. I created a test.html in the siteB's root directory and get same Service Unavailable error when I try to go to the html page. Any ideas are greatly appreciated. here is what I did to create the instance - CF admin, Instance manager, create a new instance with the option to create a Windows service - copy JRun4/bin/jvm.config to jvmSiteB.config - jrunsvc -remove {newly created service} - jrunsvc -install CF instance 2 with -config full_path_to\jvmSiteB.config - WebConfig Tool to create connector for the IIS website siteB connecting it to the newly created Windows service from 2 steps above. I checked
In RDS Configuration, Test Connection is Succeful, but I click Test DebuggerTest Debugger failL"it said : An RDS connnection was established but the ColdFusion RDS line debugger could not be contacted. The server gave the following message: Coldfusion line Debugger is not enabled."My Server is running normal, connection is OK! How to fix?
how to create a ColdFusion Page in ColdFusion Builder 2?When I type :"<cfset artistsObj = createObject("component","artistscfcs.ARTISTSService").init() /> <cfset artistsQry = artistsObj.getAllARTISTS() /> <cfdump var="#artistsQry#"/>" in an index file in my Project and lick Firefox tab beside source, it shows message: The connection was refused when attempting to contact localhost.My Server is running normal, connection is OK! How to fi
I am using a <cfinclude template="../MakeYourChoice/index.cfm"> on a page that once the coice is made the screen below will provide feedback. I just realized the <cfinclude template="../MakeYourChoice/index.cfm"> is showing up at the top and at the bottom is the next screen that should NOT show up as two screens on one page. How can I make this process as seperate pages without changing hundreds of lines of code?!? Thanks!
Hi all,This question is sort of related to a previous post of mine about querying dates. I'm trying to use a cfif statement in my where clause to determine if a field is empty or not. Here's the code:<cfquery name="GetPastEvents" datasource="DSN"> SELECT * FROM SITE:Calendar WHERE DatePart('yyyy', [StartDate]) = <cfqueryparam value="#Dateformat(Today, 'yyyy')#" cfsqltype="CF_SQL_DATE" /> and <cfif EndDate neq ''>StartDate<cfelse>EndDate</cfif> < <cfqueryparam value="#Today#" cfsqltype="CF_SQL_DATE" /> and Archive = <cfqueryparam value="0" cfsqltype="CF_SQL_INTEGER" /> ORDER BY StartDate ASC, StartTime ASC</cfquery>My issue that that CF tells me EndDate is not defined. EndDate is a field in the table SITE:Calendar. There has to be a way to make this work, no? Thanks
Hello all, I am very new to CF and our regular guy is on vaction so I could really use some help. I am getting geo location from Bing for multiple address that I have in a db. Then add the latitude and longitude to the latitude field and longitude field in the respective row I am able to run the function(s) indivulally but I need help looping through each row. Here is what I have. I hope this makes sense!<!---query the db---><cfquery datasource="square" name="ListingShort"> SELECT MLS_Id,List_Price,Public_Address,Street_Number,Street_Name,Unit_Number,City,Zip_Code,Subdivision_Name,Bedroom,Baths_Total,Full_Baths,Half_Baths,Square_Feet,Lot_Sqft,Garage_Capa
I have an issue with Cold Fusion 10 Standard. I am running it a several Windwos 2008 R2 Servers with IIS 7.5. Each time I add a new website, I have to run the Web Configuration Tool or the site will not come up unless the the path includes the default doc. I have to remove the current IIS setup and then run it again in the Web Configuration Tool to get it to work properly. This is an issue on our production servers. Any input would be greatly appreciated.
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
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.