The official community for ColdFusion.
Recently active
I have a form which sends emails to various departments, but I am having problems getting the 'from' email address to show the email address entered in the email form field.I have used the following code:-<cfmail to="#form.options#" from="#form.email#" subject="A message has arrived from the **** website" username="***@gmail.com" password="****1" type="html">Name: #form.name#<br>Email: #form.email#<br>Mobile: #form.mobile#<br>Message: #form.message#<br>Date: #form.datein#</cfmail>Is there something obvious I should change here?Any help much appreciated.
Is anyone having issues with XMLType Data type in Oracle 11.2.0.4 version using Micromedia JDBC driver in ColdFusion 9.0.2 version. We are facing issue after upgrading Oracle DB to 11.2.0.4. The CF uses Micromedia JDBC driver. We are getting following error: [Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments
Does the PDF Service Manager need to be remote on Windows or will it work locally on Linux.
I feel like this is a really simple and stupid question and should be easy to figure out, but I can't.I am relearning ColdFusion after 12 years out of the IT field. I am using the ColdFusion 9 Getting Started:Volume 1 book. In Chapter 7 it states that I need to edit the Application.cfc file so that I can edit the database rather than just selecting from the database. I can't seem to find anything related to that file in any search. In my ColdFusion 11 Administrator I have set this mySQL database to be able to be edited, but ColdFusion Builder 3 doesn't seem to allow any editing of the tables. I have not had much luck searching for help regarding this on the internet either. My biggest problem so far is getting ColdFusion Builder to talk with my mySQL database properly so I can actually get on with relearning ColdFusion and writing code. Frustrating!!
I manage an application using CF9 on a Solaris server. We're trying upgrade to CF10 but some of our perl scripts have stopped executing command line tasks.Example from perl script: system("/apps/commonApps/distiller/Distiller/distill -compat 1.3 /apps/upload/sdg325453.ps");The permissions for the distiller allow anyone to execute it. I can execute this command directly or execute the perl script directly with no issue. It's just when the perl is called from coldfusion that I have a problem. I can't find any errors being recorded. Does anyone here have thoughts on why this is happening?
i recently upgraded from cf9 to cf10. running single instance on a brand new ubuntu server 12.04 with Apache. same settings as my other ubuntu servers as far as i can tell. Suddenly, all my cfhttp tags are being throttled with about 5 second breaks being pushed into each one. Each additional request made pushes the time taken up 5 seconds. i've compared every setting i could think of to the cf9 servers but nothing worked. Here's from the http.log:HTTP request completed {Status Code=200 ,Time taken=28525 ms}Sep 10, 2012 5:13 PM Information ajp-bio-8012-exec-18 HTTP request completed {Status Code=200 ,Time taken=22752 ms}Sep 10, 2012 5:13 PM Information ajp-bio-8012-exec-23 HTTP request completed {Status Code=200 ,Time taken=17549 ms}Sep 10, 2012 5:13 PM Information ajp-bio-8012-exec-17 HTTP request completed {Status Code=200 ,Time taken=12320 ms}Sep 10, 2012 5:13 PM Information ajp-bio-8012-exec
Using CF10 on a unix system. Attempting to use cfexecute on perl and batch files do not work but they run fine when executed directly from command line. The perl and bat file permissions are set so anyone can execute them. Does anyone know if I make coldfusion execute the perl or bat file as if it was running as a command line? May need to designate specific user the execute them as.<cfexecute name="#EDRSDIR#/uploadconvertwrapper.pl" arguments="#filedirectory# #finalfilename# #dcnflag# #splflag# outputFile="/dev/null" timeOut="0" /><cfexecute name="#EDRSDIR#/uploadconvert.bat" argumensts="#filedirectory# #finalfilename# #dcnflag# #splflag# outputFile="/dev/null" timeout="0" />
Hi everyone,I'm currently working on a project that has been using Html tables to generate CSV files for a long time and since we moved recently from CF7MX to CF10 we decided to make use of the spreadsheet functions. However, we are dealing with a database that has some date fields that can be empty from time to time and the Excel download is throwing an error that says'' is not a valid Date or TimestringI was wondering if there was a known way to go around this and still get the fields in the Excel file generated as Date fields.Cordially,Miguel Arvelo
Hi All,To fix some vulnerability issues (found in the ethical hacking , penetration testing) I need to set up the session cookies (CFID , CFTOKEN , JSESSIONID) with "HTTPOnly" (so not to access by other non HTTP APIs like Javascript). Also I need to set up a "secure flag" for those session cookies.I have found the below solutions. For setting up the HTTPOnly for the session cookies.1] In application.cfc we can do this by using the below code. Or we can do this in CF admin side under Server Settings » Memory Variables this.sessioncookie.httponly = true; For setting up the secure flag for the session cookies.2] In application.cfc we can do this by using the below code. Or we can do this in CF admin side under Server Settings » Memory Variables this.sessioncookie.secure = "true"Here my question is how we can do the same thing in Application.cfm?. (I am using ColdFusion version 10). I know we can do this using the below code , incase of HTTPO
Each section on a Bill is checked for a specific condition in the 'Print When Condition'. This can cause blank pages to be created and printed, it there a way to not print blank pages?I use CF10
hello all. we created an HTML5 coldfusion powered application that is serving as a canvas application within our Salesforce.com instance. According to the Salesforce.com instructions I need to do the following with the signed request sent to the server but am having difficulty following how to do this:1. Receive the POST message that contains the initial signed request from Salesforce.2. Split the signed request on the first period. The result is two strings: the hashed Based64 context signed with the consumer secret and the Base64 encoded context itself.3. Use the HMAC SHA-256 algorithm to hash the Base64 encoded context and sign it using your consumer secret.4. Base64 encode the string created in the previous step.5. Compare the Base64 encoded string with the hashed Base64 context signed with the consumer secret you received in step 2.of course step 1 & 2 is simple:<cfset posx = find(".",FORM.SIGNED_REQUEST,1)><cfset encodedSig = left(FORM.SIGNED_REQUEST,posx-1)><c
Is there a same function like ColdFusion.Layout.disableTab to disable Accordion layout? Thanks!!
All,Some help required please.We have a current set up with CF9 running on a win 2003 IIS6 server, also on the same server is CFBuilder 1. My 'production code' lives in c:\inetpub\wwwroot and my developement code that is viewed in CFBuilder is onColdFusion9\wwwroot\codeDevelopment. The server I have set up in CFBuilder has a document root of ColdFusion9\wwwroot, this all works fine and has been for about 3 years.We have a requirement for a 2nd server, so I bought us CF11 and CFbuilder 3 - after a terrible time trying to get these both working on the same server as I have the current set up I have given up. Also, most of our sites have heavily chart based. After discovering the differencies to the CF11 charting engine vs CF9 it was another reason to give up.So - I have decided to deploy a 2nd CF9 installation.The new server this is on is a win 2008 R2 (64-bit) running IIS 7.5. I have CF9 (32-bit) working as it should and now want to add CFbuilder so I have an environment that matches th
i am using cf11 developer edition...i am using cffileupload for uploading multiple files...bottom bar says--- uploaded 4 of 4 filesbut individual progress bar after reaching to 99% Shows ERROR its color is redbottom bar is greenhow to resolve it ?BKBKColdFusion@
i want to use a single home page where i will show a form (which is in another file) to user to upload a file,after uploading (action file result) i want to show result of upload also on the same page.these are my three files:1. index.cfm<!-- start --><html><head><title>HomePage</title><cfajaximport tags="CFFORM"></head><body><cfdiv id="Main" style="width:1000px; height:600px" > <cfdiv id="Options" style=" width:100%;height:20%" > Welcome Admin, <a href="javascript:ColdFusion.navigate('FileUpload.cfm','Content')" class="settings">Update </a><a href="#" class="logout">Logout</a> </cfdiv> <cfdiv id="Content" style=" width:100%;height:80%"><h2>Here Goes Form and FileUploading</h2> &n
i am using cf11 developer edition...i am using cffileupload for uploading multiple files...bottom bar says--- uploaded 4 of 4 filesbut individual progress bar after reaching to 99% Shows ERROR its color is redbottom bar is greenhow to resolve it ?
For months now, I have not been able to get any help out of Paypal. When a product is purchased, I have IPN set to on.IN the selling tools section, the following URL is used to return the IPN info:Paypal IPN settingsNotification URL http://www.heritageseminary.com/paypal/ipn/ipn.cfmBelow is my config setup sent to payppal.config.cfm<cfset paypal["notify_url"]="http://www.heritageseminary.com/paypal/ipn/ipn.cfm">When a payment is made, I receive the I am receiving the following error:Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:This is the URL that paypal is trying to connect with.http://www.heritagesemianary.com/http://www.heritageseminary.com/paypal/ipn/ipn.cfmWhen I check the IPN history, the status shows still trying. When I click Message ID, I get the following address:Notification URL http://www.heritagesemianary.com/http://www.heritageseminary.com/paypal/ipn/ipn.cfmAny
I'm interested in setting up a passive failover Coldfusion server. Since the failover will only receive requests if the other server is down, can I use the same license across both servers?
Has anyone ever been able to figure out how to get SOLR properly working again after a JVM upgrade of _51 or later? I've read from a few sources that it's due to the permissions being changed in _51 forward and have applied the following (and several other iterations) to the java.policy file and restarted CF but Solr still remains broken.grant { .... permission java.net.SocketPermission "*", "connect,listen,accept,resolve";}Also tried: permission java.net.SocketPermission "localhost:8983", "connect,listen,accept,resolve"; permission java.net.SocketPermission "localhost:1-", "connect,listen,accept,resolve";This is a real problem as there are security issues fixed in the later JVM's and we need to upgrade.ThanksMike
I currently have a project that I took over from another developer. Part of the application outputs data from a SQL Server 2008 database to an Excel file that has three sheets or tabs, which are created in order, left to right. I am working to fix a problem in which when opening the Excel file, the first and third sheets are "grouped". Next to the file name in the title bar, it says [Group] and both sheets appear to be active. The problem with this is that, if the user were to, say, highlight row 5 in sheet 3, row 5 also gets highlighted in sheet 1. I have searched everywhere with every search string I can think of and can't find anything! I even tried recreating a skeleton of the functionality based on the CF documentation and ran into the same problems. I have figured out a few things on my own.First, the middle sheet is not affected at all. Second, once in Excel, if you select the middle sheet, everything else gets fixed (of course, that's not a great solution for the end user). Thi
Hi everyone,I am working on moving a CF7MX project to CF10 and one of the changes involve updating some code used for generating csv files so that it makes use of the CF spreadsheet functions. One thing I noticed was that I can no longer use the "Format Cells..." functionality with xls files generated with the CF spreadsheet functions.If I try it with any other file it works like a charm, but with these CF generated files clicking on the button shown above does nothing. Is this a already bug known by Adobe? Is there a way to make this work?Regards,Miguel Arvelo
how save applet as image file in cf please help me ?? below is my code<APPLET style="border: solid 1px gray" id="EIDAWebComponent" name="EIDAWebComponent" CODE="emiratesid.ae.webcomponents.EIDAApplet" ARCHIVE="EIDA_IDCard_A
Hi All,To prevent crosssite scripting attacks I ticked the the check box "Enable Global Script Protection" in CF admin. But it is not working , I mean not able to prevent the scripting attacks.Steps I followed1] I executed the below URL. https://xyz.abc.com/index.cfm?cardholder_number=&<script>alert(1)</script>2] In the fornt end I got a javascript alert message as injected in the URL.But this alert message should not come as I have enabled script protection in CF admin. Right????Now I removed "&" (https://xyz.abc.com/index.cfm?cardholder_number=<script>alert(1)</script>) from the above URL then I was not getting the javascript alert message. Does this mean that script protection will not work if we are adding "&" to the URL????.I searched the neo-security.xml and its looks like below.<var name='CrossSiteScriptPatterns'><struct type='coldfusion.server.ConfigMap'><var name='&lt;\s*(object|embed|script|a
Trying to get a site login set up and I keep getting the above error. I have enabled session vars in the CF admin, and have used sessionmanagement in my cfapplication. Not sure what I've done wrong. <cfapplication name="myApp" sessionmanagement="yes" setclientcookies="yes" sessiontimeout="#CreateTimeSpan(0,1,0,0)#"> <!--- Now define that this user is logged out by default ---> <CFPARAM NAME="session.allowin" DEFAULT="false" /> <CFPARAM NAME="session.userName" DEFAULT="" /> <!--- Now if the variable "session.allowin" does not equal true, send user to the login page ---> <!--- the other thing you must check for is if the page calling this application.cfm is the "login.cfm" page and the "Login_process.cfm" page since the Application.cfm is always called, if this is not checked the application will simply Loop over and over. To check that, you do the following call ---> <cfif session.allowin neq "true"> <c
I have an e-marketing application that was developed in ColdFusion 7 and uses an Access database. I have recently migrated the database to SQL Server Express 2012 and ColdFusion 10. However, it has now stopped working, although the same code works on CF7.The app is accessed via a browser based interface and allows the user to schedule the automated sending of emails and also specify what the delay should be between sending each. For instance, I may send 100 emails and set the delay to 4 seconds between each.When I look in the logs I see: javax.mail.AuthenticationFailedException: 504 Access to this service has been denied by the mail administratorDoes anyone know what I need to do enable the service?
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.