The official community for ColdFusion.
Nyligen aktiv
Hi everyone. My company would like to set up a 2 page site with an online order form to purchase a product we are selling. We would like to accept credit cards on here. I know there are sites out there that we can download the script for a shopping cart, but I don't think our server is up to date for the requirements of what these plugins need to work and we don't want to have to pay for a hosting plan. So we were just going to set up 2 simple pages for the customer to choose what they want and a price would go into a shopping cart form where they could enter their credit card information. This page would be an HTTPS page. I'm just wondering if I create a page that is secured this way, is it secure or not? Or do I need to go through one of those web sites that has a shopping cart built already so it's more secure? We were not going to insert this info. into a database. We were going to email it to our info email using Cold Fusion. Will that email being sent to us, be secure? Does
Hi,First, the code :LOCAL.fileName = lsDateFormat(now(), 'yyyymmdd') & '.csv';LOCAL.filePath = "example_file";LOCAL.ftpService = new FTP();LOCAL.ftpService.setServer('sftpr.emv2.com');LOCAL.ftpService.setPort('22');LOCAL.ftpService.setUserName('example_user');LOCAL.ftpService.setSecure('true');LOCAL.ftpService.setKey(example_key.ppk");LOCAL.ftpService.setStopOnError(true);LOCAL.ftpService.setRemoteFile('example_remote_file');LOCAL.ret = LOCAL.ftpService.open();writeDump(LOCAL.ret);LOCAL.doInsert = 0;if(LOCAL.ret.getPrefix().succeeded){ LOCAL.testExists = LOCAL.ftpService.existsFile(); writeDump(LOCAL.testExists); if(LOCAL.testExists.getPrefix().returnValue){ LOCAL.doInsert = 1; LOCAL.ftpService.setLocalFile(LOCAL.filePath); LOCAL.ftpService.setFailIfEx
Hello, all,We have a server in production that is not co-operating when sandbox security is switched on. If sandbox is off, everything works great. But we are not supposed to run this without sandbox.I have to redact the log information, a bit, but I have the following that happens whenever sandbox is turned on.SEVERE: The web application with context path [/xxxx/projectshare] was not deployed because it contained a deployment descriptor [META-INF/context.xml] which may include configuration necessary for the secure deployment of the application but processing of deployment descriptors is prevented by the deployXML setting of this host. An appropriate descriptor should be created at to deploy this application.Aug 6, 2015 9:42:24 AM org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web application archive X:\webapps\xxxx#projectshare.warAug 6, 2015 9:42:24 AM org.apache.catalina.core.ContainerBase addChildInternalSEVERE: ContainerBase.addChild: start:org.apach
I have some Ajax stuff that will just error from time to time due to database timeouts, etc. I need to turn off the dialog that comes up that says there was an error and to turn on debugging. It just freaks end users out... It would be nice if such errors were just reported in firebug with no "Click OK" popup dialog! Maybe a try/catch is in order??
When using CF10 and the CFSpreadsheet tag, we're receiving the following error:Class org.apache.poi.hssf.usermodel.HSSFWorkbook does not implement the requested interface org.apache.poi.ss.usermodel.WorkbookThe simple code works on other servers, so I think there is something wrong with the server config. Any ideas?
Hello,Perhaps I'm a bit paranoic, but, is possible to modify adminapi/base.cfc in order to not show the version information?When you call http://[server]/CFIDE/adminapi/base.cfc?wsdl it displays a template with a comment like <!--WSDL created by ColdFusion version 10,0,14,291717-->, and I would prefer to not disclose that information.Thanks in advance,
We recently upgraded to CF11 from CF9 and have ran into a challenge. I understand this is probably very fundamental but I am at a loss to figure it out because our cart worked so well for years before. I pass a url variable to the cart containing the sku number and it populates my preorder table with a quantity of one unless I also pass the quantity variable in the same string at which I use if isdefined to detect. My cart works but upon page refresh or if the back button is hit, it will increment one to the quantity field. Can someone tell me the way to eliminate this issue? In the address box of the old cart we hid the variable in the url string when passing the call to the cart but the same code not with CF11 does indeed show the variable(sku) in the url which is passed causing the cart to update. Looking for help here please?Thanks
Recently installed CF11 on a Windows 2012R2 server running IIS 8.5. There are currently 9 sites configured in IIS, all under separate application pools.Several times a day, for reasons I have not yet determined, requests for CF pages under any one of the sites are returned very slowly (>10 seconds). Typically, they are returned in <500 ms. Recycling the application pool (or pools) appears to address this issue, which made me think the issue was with IIS. However, requests for static resources from the same IIS sites load fine, so I suspect it is not strictly an IIS issue.I applied the changes to worker.properties and server.xml recommended by Anit Kumar Panda in ColdFusion 11 IIS Connector Tuning — Adobe ColdFusion Blog:worker.cfusion.max_reuse_connections=250worker.cfusion.connection_pool_size=2250 (9*250)worker.cfusion.connection_pool_timeout=60maxThreads="2250" connectionTimeout="60000" attributes in Server/Service/ConnectorI'm still seeing slow responsiveness several times a
Can ColdFusion developer edition or ColdFusion builder be installed and run on Windows 10?
Hello,I'm generating a normal spreadsheet file and formatting a couple of columns with SpreadsheetFormatColumn, to give them a particular date format. If I open the file through OpenOffice, everything works perfectly. However, if I open it through Excel, any cell in the formatted column past the 32nd row does not display the proper format (Cell is displayed as "general") and I need to do it manually.What could be causing this?
Hi All,I just started run my web application via coldfusion 11 (production). Previously was a cf9.Can anyone advise me what is the best jvm setting for production use. My server run on :1. windows 2012 r2 datacenter2. 128gb ram3. 8 coreI try to run use this setting xms : 100g xmx: 120g, after 1 day, i cant enter cfserver and it keep load. Check log it return memory :org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksSEVERE: The web application [/] created a ThreadLocal with key of type [coldfusion.util.DateUtils$1] (value [coldfusion.util.DateUtils$1@32c8948a]) and a value of type [java.util.GregorianCalendar] (value [java.util.GregorianCalendar[time=1438651990401,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="America/Los_Angeles",offset=-28800000,dstSavings=3600000,useDaylight=true,transitions=185,lastRule=java.util.SimpleTimeZone[id=America/Los_Angeles,offset=-28800000,dstSavings=3600000,useDaylight=true,startYear=0,star
Hi. I have an If statement to see if N/A or NA is in a text box. If it is, I don't want to send an automated email I have set up. This works great if only N/A or NA is in the text box, but what if someone writes something like "N/A This component does not work for this part." How do I test this if the text box starts with N/A or NA and has text after it still? Here's my If Statement:<cfif isDefined("form.Open_Jobs_Affected#id#") and evaluate("form.Open_Jobs_Affected#id#") neq "N/A" and evaluate("form.Open_Jobs_Affected#id#") neq "NA">Thanks for your help.Andy
Say someone built an intranet in Cold Fusion (version unknown) and I do not have access to that person nor Cold Fusion but I need to be able to make changes in the intranet system via a new Cold Fusion. I am trying to determine which Cold Fusion I need to purchase to make the change. Is is Cold Fusion Builder 3, Cold Fusion 11 Standard, Cold Fusion 11 Enterprise? Please help.
Hi,I am unable to read CMYK jpeg images from coldfusion 10. Below are my server configuration.Coldfusion 10 (update 14),32 bit and windows 2008 r2 64 bit,jre(1.6)i found below code in java and implemented in coldfusion,but the code is working fine in coldfusion 10 64 bit,but not coldfusion 32 bit. Shall i get any help on this?public class CMYKTiffToJpegConvertor { /** * */ public CMYKTiffToJpegConvertor() { // TODO Auto-generated constructor stub } public static void main(String[] args) throws IOException, Exception { new CMYKTiffToJpegConvertor().processConvertionImage(ImageConstants.FILE_PATH,ImageConstants.INPUT_FILE_NAME); System.out.println("Successfully Completed the conversion!!"); } /** * * @9397041 filePath * @9397041 fileName * @throws IOException * @throws Exception */ public void processConvertionImage(String filePath,String
Hi I'm trying to invoke a ColdFusion function via typing in a URL in the web address bar such as:http://domain.com/path/to/your.cfc?method=functionName&argument1=arg1ValI have to do it this way for testing purposes. How can I invoke the following below function "showWinDOTD();" from the script below via URL? I have tried continuously the following with no luck: http://site.com/act/actCart.cfm?method=showWinDOTDhttp://site.com/act/actCart.cfm?method=showWinDOTDAm I missing something simple? <script> var refreshInterval = 0; var winFlag = false; $(function() { if(refreshInterval>0) { setTimeout('location.reload();',refreshInterval); } }); function submitForm() { ColdFusion.Ajax.submitForm('DOTDform','/act/actCart.cfm',callback,errorHandler); } function selectDOTD(input,promoID,optionID) { input.disabled = true; for
Hi guysHave difficulties running Cold Fusion Ent v9 after installingAfter I run server as root from cmd "./jrun -config jvm.config -start instance1" it is trying to connect to public IP as below for no reason/etc/hosts has following config........................127.0.0.1 localhost# special IPv6 addresses::1 localhost ipv6-localhost ipv6-loopbackerror Connection refused to host: 195.78.66.206; nested exception is: java.net.ConnectException: Connection timed out[1]java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) &nb
In an effort to troublshoot some issues I'm having I enabled metrics logging in CFADMIN but this is all I'm seeing in the metrics.log file. What gives?"Information","scheduler-1","11/13/13","15:59:54",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: 21 Bytes received: null Bytes sent: null Free memory: 1737648152 Total memory: 2117206016 Active Sessions: 0""Information","scheduler-1","11/13/13","16:00:54",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: 21 Bytes received: null Bytes sent: null Free memory: 1565060456 Total memory: 2117206016 Active Sessions: 0""Information","scheduler-3","11/13/13","16:01:54",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: 21 Bytes received: null Bytes sent: null Free memory: 1634382744 Total memory:
Hello all,Have not used CF builder 3. Looking for how to books and or tutorials to develop database driven applications. Have been using CF Studio 4.5.2 and now Homesite + 5.1. Now Installed CF 11 and CF builder 3.Thanks,TJ
I have several licenses for ColdFusion Builder 1 and I also have upgrade licenses for ColdFusion Builder 2. I have a new team member who needs to download ColdFusion Builder 2 to make use of this license. Now that ColdFusion Builder 3 is release, all of the downloads links I have been able to find point to the new version. Where can I find a download link for the previous version for which I have a valid license? Surely there is an archive download somewhere, but I cannot find it.Thanks,Eric
Hi,I have a Multi-Select Option Box that is correctly listing all values as well as the selected values within the multi select box. However, as you can see, the items are duplicated in the list, with both selected items and the available option values both showing. Instead, I'd like to show the full list of values, with the ones that are selected without any duplicates, like this instead: <cfset lstFinds = Recordset1.OfficeServed> <cfoutput><SELECT NAME="OfficeServed" size="10" multiple class="VBlack10" ID="OfficeServed" > <cfloop list="#lstFinds#" index="k" delimiters=","> <option value="#k#" <cfif listfindnocase(ValueList(RS_location.location), k)>  
Hello,We migrate Cold fusion MX 7 on a new server on 64 Bits. When we inform the serial number in the field in the administrator screen. The edition is standard. We restarted the service but the problem it the same, stay in standard edition.How to change the edition from standard to enteprise edition on a new server in 64 Bits ?How i can check my serial number to validate this-one ?Best regards,
Hi, I am having a problem formating an Excel file with multiple sheets using cfspreadsheet. I created the excel file from an XML string using POI. Things work perfect till here. To format the sheets, I am reading each sheet into a different cfspreadsheet object, formating them and then trying to create a new Excel file. <cfspreadsheet action="write" filename="#ExpandPath('./final_report.xls')#" name="spreadsheetObj1" overwrite=true> <cfspreadsheet action="update" filename="#ExpandPath('./final_report.xls')#" name="spreadsheetObj2"> This is where the problem arises. When I do <cfspreadsheet action="write"> the excel file "final_report.xls" should be created with only "Sheet1" having the formated content. But in my case it also writes "Sheet2" in the unformatted form. Then when the <cfspreadsheet action="update"> executes I am getting an error that says that Sheet2 already exists and hence cannot be updated. If I were to do a <c
We recently updated java. Uncertain if this is possibler cause or coincidence. cf8 server. Other development servers without update cffeed working per usual. Error:Unable to parse the feed: Either source specified is invalid or feed is malformed.Error: Invalid XML
I'm developing with CF11 on a Mac, which doesn't support having a local PDF Service to use with the new tag. But, I'm able to set up a PDF service that points to our dev (Windows) server. That service verifies via the admin.However, when I try to do a simple test: <cfhtmltopdf> Hello </cfhtmltopdf> I get an error of "Error occurred while generating PDF" with the error detail of "Reason: FILE NOT FOUND". If we try this code directly on the dev server (so it's using the local PDF service), it works just fine.Anyone have an idea of what file it's referring to or what else may be going on?
Hi. I would like to use the Trim Function in a text box on my Add page when I insert something into our database. I just want to make sure that when users type a part number into this text box, they don't accidentally type in a space before or after the part number. Here's what my text box looks like:<input type="text" name="Part_Number" id="Part_Number" maxlength="25" size="27" disabled="disabled">I know how to use the Trim Function on an edit page, but not on an add page. Here's how I use it on an Edit page:<input type="text" name="Part_Number" value="#Trim(Part_Number)#" maxlength="25" size="27">This works because I have a value in the Part_Number field already, but how do I use this when I don't have a value entered into the database yet? Thanks for your help.Andy
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.