Questions
Recente
Hi All,I'm trying to validate an inputted value from a form to make sure it is a valid currency value:I only want to accept a monetary value with 2 decimal places and I do not want to use any JavaScript validation.CF seems to make this very difficult.Thanks,John
I would like to redirect my pages in the following ways:www.example.com/index.php?locale=it -> www.example.com/itand I would like to access the same page when I type:www.example.com/itI wrote an htaccess file but it causes a redirect loop. Here is the file: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteBase / #REWRITE RULES #--------------------- RewriteCond %{QUERY_STRING} ^locale=(it|en|fr|de|es)$ RewriteRule ^index\.cfm$ %1? [R=302,L] RewriteCond %{REQUEST_URI} !^index\.cfm RewriteRule ^(it|en|fr|de|es)/?$ index.cfm?locale=$1 </IfModule> Could you help me to resolve it? Thanks!!!PS: server is ColdFusion + Apache 2.4.7
Hi,I am doing the project using ColdFusion.The one of the pages is not displayed properly in only Chrome, but it is displayed fine in Firefox and IE.I do not see any error message in the browser. It is like a blank.Actually I do not have any ideas how to trace what happened. Please help me.Thanks.
Dear , how I can add a second sheet to a report? (report builder)necessary, since the report is on 2 sheets .or is there a way to print two different reports into a single PDF ?Thank you.
Is there a way to customize the caching in model glue? If so please give an example of how to achieve it.
OK, I have three CF9 boxes. One is at a hosting site, one is my developer box, and one is at a client site. At the client site, when going from page to page, the session variables are lost with IE9 from my laptop. IE9 has no problem with session variables on the developer box nor at the hosted site. Chrome has no problem anywhere. So the session variables are lost at the client site with IE 9 only (IE 7 fails too).Here is the code:File test.cfm<html><head><META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript"><link href="/musd_web/css/screen.css" REL="StyleSheet" media="screen" type="text/css"></head><body><cfoutput><cflock timeout = "60" scope = "SESSION" type = "Exclusive"><cfset session.stuff ="stuff is here!"></cflock><cfset x="2"><button type="button" value="GO" onClick="window.location='/test/junk.cfm'">Go 
We are having problems with our ColdFusion 11 with update 5 web server completely resolving files with .cfm.The website will display the file "index.cfm" as expected.http://webserver.com/users/dosowski/This website gives a 404 error:http://webserver.com/users/dosowski/index.cfmAlong with that we are trying to install update 6 with the ColdFusion Administrator and when we click on the install button nothing happens.Any one else have these problems?
Any help would be appreciatedI have created a cf file as follows:<cfxml variable="properties"><cfquery name="GetPropertiesForFeed">Select PropertyReference, Price, Urbanisation, Location, PropertyType, FloorArea, Bedrooms, Bathrooms, Image1, Image2, Image3, Image4, Image5, Image6, Image7, Image8, Description, Descriptionsp From Properties</cfquery><properties><cfloop query="GetPropertiesForFeed"><property> <reference>#PropertyReference#</reference> <price>#Price#</price> <urbanisation>#Urbanisation#</urbanisation> <location>#Location#</location> <type>#PropertyType#</type> <area>#FloorArea#</area>
I have this variable:strURL = siteURL not like '/training%' and siteURL not like '/webadmin%'Now in my cfquery:<cfquery dbtype="query" name="qryContentFiltered" result="tmpResult"> select * from qryContent where #strURL#</cfquery>And it failed to execute. I put a log after the cfquery and it failed to generate anything too.
I have a cfm file that has been working for years on a remote shared server, which saves an uploaded image, crops it, resizes it and then saves it to a different folder as a thumbnail.The upload save, get image metadata, resize, and save of resized file all work fine, but if I include the imageCrop line, then it fails silently at that point with no error.It looks as though the imageCrop function is failing to load the image to manipulate it. But since everything else works, I can't think how this could be.Anyone got any clues where I can look.Doug
Hi everyone. I have an edit page that updates some fields in a database. We just converted everything from Access to SQL. I can update the page just fine for the most part, except when I try to update the Sales Order Number for some reason. I'm not sure why. I think it has something to do with the SQL database, but I don't know what. The field is called Sales_Order_Number. When I try to enter a number in this field, I get a 500 Internal Server error. Below is my query that I use to display the info. on the action page, and also the Updating of the table.We have also updated our ColdFusion from MX7 to 11. Not sure if that would make a difference or not otherwise. Can someone please help? Thanks.Andy<CFQUERY NAME="ShowContact" Datasource="#application.DataSource#">SELECT Company, Company_Name, First_Name, Middle, Last_Name,ContactID, Contact_Num, ItemID, Item_Num, RFQID, RFQID_SPEC, Entry_Date FROM(((Contacts LEFT JOIN RFQ_Numbers ON Contacts.ContactID = RFQ_Numbers.Contact_N
Hi,We are encountering an issue with Windows Authentication. Static pages like html, txt files are ok but for cfm pages, Windows Authentication is not taking effect. The problem seems IIS is not checking cfm file permissions before passing to CF for processing.Thanks,CC
Hi. I am setting a key on my Application.cfm page so that others cannot see the ID numbers I'm using in our database.We have some RFQ's in the database we keep track of along with contact information. When I get to the page to display the RFQ info., I receive a 500 internal server error. When I look at the exception log, it says the Element KEY is undefined in APPLICATION. I'm not sure why it's saying this since I have it on the Application.cfm page. We are upgrading to a new server and this has something to do with either that or we are also updating to Cold Fusion 11 from Cold FusionMX7 at the same time. This works fine in our old server and MX7, but now is not working in the new server and Cold Fusion 11. This is what I have on the Application.cfm page: <cfset application.key = "izmOQ7WTXbaDSw5RQaVWaA=="> I have some code on my display page that says this: <cfset encrypted_string_Socket = urlencodedformat(encrypt(Socket_App_ID, application.key, "AES", "base64")) />
I am moving a ColdFusion app off of a really old server (the old server has Blue Dragon installed that came with oracle odbc drivers built in) to an newer server (Windows 2012) with ColdFusion installed instead. On this new server, I get a success when I test the 64 bit Oracle in instantclient10_2 connection. However, when I attempt this connection as an ODBC Socket in the ColdFusion Administrator, with this strategy I get an error of architecture mismatch between driver and application. So, on this new server I instead went the route of jdbc, so I instead chose "other" as my driver in the ColdFusion Administrator, with this strategy I get an error of "Timed out trying to establish connection" I have verified my jdbc url and username/password are correct (I connected successfully with this jdbc url via RazorSQL as a test), I have verfied the jdbc driver is in the appropriate class path for ColdFusion. I initially believed I truly had the incorrect oracle odbc instant client insta
We are are planning to migrate MX7 to CF11 and am trying to determine how much effort it will take. In the meantime, we are currently using Oracle 10.2 but am getting pressure to migrate to Oracle 12C before we migrate to CF11. Is this possible?Thanks
I have been using PayPal payflow pro as my payment gateway and I have recently been able to successfully process credit cards for user. now I am getting a connection failure when I run a test credit card to pilot-payflowpro.paypal.com. the custom tag I am using to process credit card is <cf_PayFlowPro . Can some on tell me if there has been a change recently to <cf_PayFlowPro tag? All help is greatly appreciated.
I have a jquery script that picks a background color from an image using AJAX. I would like to save the variable, var rgba=e.rgba() to a MySQL databse. The individual who created the script said to use: $.post("color.php",{rgba:reba}); to save to a database with AJAX. How do I save the var rgba using coldfusion to do the CF side?The script:<script>;(function($){ $.fn.canvasify = function(f){ // faster than dynamically converting a pixel at a time return this.map(function(){ if (this.nodeName=="IMG"){ var canvas=$('<canvas>') this.src = this.src // IE fix $(this).one('load',function(){&
How would I know if the Coldfusion licence my team uses qualifys for the low cost upgrade pricing to owners of valid ColdFusion 7 and 8 licenses starting from US$649? ColdFusion 9 is immediately available for purchase online from the Adobe Store, directly from Adobe, and through Adobe’s network of partners and resellers; learn more: www.adobe.com/products/coldfusion.
Our team is going to rewrite a coldfusion 11 project using model glue 3 frame work . Will there be any compatibility issues between coldfusion 11 and model glue 3 which can affect the development. Also is there any feature which is not supported by model glue 3 in coldfusion 11 version? Thanks.
Our team is going to rewrite a coldfusion 11 project using model glue 3 frame work .Will there be any compatibility issues between coldfusion 11 and model glue 3 which can affect the development. Also is there any feature which is not supported by model glue 3 in coldfusion 11 version? Thanks.
Would like to monitor our JVM performance in the production network securely by enabling the SSL/TLS options available to JMX.Having trouble even after I properly created valid keyStore/trustStore using an internal CA with a .csr for a .p7b.However while attempting to poll the CF JVM for JMX I cannot get the secure negotiation to work properly.Added these lines to /cfusion/bin/vm.config:-Dcom.sun.management.jmxremote=true-Dcom.sun.management.jmxremote.port=3333-Dcom.sun.management.jmxremote.ssl=true-Dcom.sun.management.jmxremote.authenticate=false-Dcom.sun.management.jmxremote.ssl.need.client.auth=false-Djavax.net.ssl.keyStore=jmxkey.keystore-Djavax.net.ssl.keyStorePassword=passwordAlso want to enable these flags too for testing:-Djavax.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2-Djavax.sun.management.jmxremote.ssl.cipher.suites=TLS_RSA_WITH_AES_128_CBC_SHAEverything on my jconsole setting are set up properly, what am I missing for the CF/JVM side?Also I would like to see so
Hi All,We have a requirement in which we have deployed coldfusion 9 on IIS 7.how can we package and deploy the cold fusion files to the the server. I have tried creating the .car file. But it contains the path to the files only. not the actual files.so in the event of moving the .car file to another server lets say production, how can we move the files. Do we need to move the files manually. Any help in the deployment of cold fusion app process would be really helpful.Thanks,Arabinda
I have the following CF Admin settings in my CFIDE :- Use J2EE session variables (not checked)- Enable Application variables (checked)- Enable Session Variables (checked)When I make a form post with enctype="multipart/form-data", a cookie with the name JSESSIONID is set. When the enctype is removed, it is not set.Below is my test code :<!---- Start of Test Code ----><cfapplication NAME="testSession" CLIENTMANAGEMENT=No SETCLIENTCOOKIES=No SESSIONMANAGEMENT=Yes><cfdump var="#session#"><form name="test" id="test" action="sessionTest.cfm" method="post" method=post enctype="multipart/form-data"><br><input type="text" name="title" id="title"><br><input type="file" name="funnycatpic" id="funnycatpic"><br><input type="submit" value="Submit Form"></form><!---- End of Test Code ---->After posting the above, my browser reports that a cookie with "JSESSIONID" had been set.Next, remove enctype="multipart/form-data" from
i am using Cf9 on Windows 8 platform 64bitI am writing a page that will automatically send an email that will come as a text message to instructors who did not insert the names of their pupils into the daily attendance log. My code will run through the database each day to see which of the instructor's ID is not listed. If there is no ID of the instructor in the attendance database, that will mean that the instructor did not enter anything for their daily attendance. Even if no student show up to class, there is a "class cancelled" name that can selected. Some days one ID may come up, other days as much as ten of the instructors ID's number may come up. The problem I am having is whenever there are multiple IDs that output from the query, I want to send an email to each of these instructors that the ID's match by using one cfmail tag. Here my code below... Is there something I'm missing?<!---Grab today's date---><cfset missingdate = NOW()><!---List all of the teachers I
Hi All,i am implementing SAML 2.0 in Coldfusion 10. am seeing below issues when am using jar files xmlsec-2.0 and xmlsec-1.2.96org.apache.xml.security.c14n.InvalidCanonicalizerException: You must initialize the xml-security library correctly before you use it. Call the static method "org.apache.xml.security.Init.init();" to do that before you use any functionality from that library.at org.apache.xml.security.c14n.Canonicalizer.<init>(Canonicalizer.java:137)at org.apache.xml.security.c14n.Canonicalizer.getInstance(Canonicalizer.java:152)at org.apache.xml.security.signature.SignedInfo.<init>(SignedInfo.java:182)at org.apache.xml.security.signature.XMLSignature.<init>(XMLSignature.java:197)Please do need ful.ThanksSuresh Govinu
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.