The official community for ColdFusion.
Recently active
What can be done when 64-bit Cold Fusion 9 ODBC Service will not install on a Windows Server 2008-R2 64-bit machine? Yes, most of the things in other discussions have been tried.
Hi Guys,We are working on implementing TOTP Two-factor Authentication in Coldfusion. We are refering a code which is in PHP and is working fine and is validating the token.Here is the link for the same: http://www.idontplaydarts.com/2011/07/google-totp-two-factor-authentication-for-php/But our coldfusion version is not authenticating tokens. It always returns false.Here are the few points which we feel can cause issue:1. Difference in the timestamp of server and our client: Is there any method to find out the same, so that we can make adjustments to the timestamp value on our side?2. In PHP there is a code $binary_timestamp = pack('N*', 0) . pack('N*', $timestamp);and they said "The time-stamp first needs to be reduced into a binary string of 8 bytes. Since pack doesn’t support 64bit integers we use two unsigned 32 bit integers to make up the binary form."How to convert the above line of code to Coldfusion syntax.Right now, we are doing this<cfset binarystring = left(for
I have a page that controls our staff directory, including uploading photos of staff members.I have a form with a browse button, and it successfully uploads the picture. Where it fails is resizing both the photo and the thumbnail.Here's the code I'm using for the resize:<cfset source = "D:\Inetpub\staffnet_test\hep\bios\#lcase(filename)#"><cfset destination = "D:\Inetpub\staffnet_test\hep\bios\thumbs\#lcase(filename)#"><!--- resize main image ---><cfimage action="resize" height="180" width="240" source="#source#" destination="#source#" overwrite="yes"><!--- resize thumb ---><cfimage action="resize" height="90" width="120" source="#destination#" destination="#destination#" overwrite="yes">The "source" location is where the fullsize i
I get this error. I belvie it is refering to this code belowYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave, supervisor, description) VALUES('TRY2WitterMay-16-2013', '!' at line 1<cfif not form.company1 is ""><cfquery username='#username#' password='#password#' datasource='#datasource#'> INSERT INTO jobappemp(jobappid, company, busphone, empfromdate, emptodate, startwage, endwage, leave, supervisor, description) VALUES(<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#jobappid#"/>, <cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.company1#"/>, <cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.busphone1#"/>, <cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.empfromdate1#"/>, &nb
Have a Developer edition CF10 working otherwise normally. New install. However, debugging output ... set to show EVERYTHING; so am used to seeing web page followed by all variables on screen. Told it to show to 127.0.0.1 and when I print cgi.remote _Addr on screen I get ::1Cannot add that ... when I tell it to add current IP to list get 0.0.0.0.0.0.0.1CF10 must be confused by local IP address? Never had this problem before ... using CF since verion 4.5!
I have a CF form that when posted sends an email with an attachment from our website to an email specified in the form.The email is sent using the CFMAIL tag.Pretty straight forward.Now for compliance reasons I need to keep records of what was sent to whom and when.Ideally I'd like to run the emails though our mail server and not the CF server.Is something like that possible?
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec17576-7ffd.html
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec17576-7ffc.html
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSe61e35da8d318518-33adffe0134c60cd31c-7fff.html
Hi,I have the form with div to hide and show. When i click on radio button two, enter city name then hit submit, but validation still asked for name is required from div0.The problem is that when these fields are hidden (using display='none'), validate still looking for that field andwon't let the form submit if the fieldis is blank.Does anyone know of a way I can have it checks to see if the field is visible or hidden, and decide whether or not to let the form submit?function show(a,b) {document.getElementById(a).style.display = "block";document.getElementById(b).style.display = "none";}function hide(a,b) {document.getElementById(a).style.display = "none";document.getElementById(b).style.display = "none";} <cfform action="test.cfm" method="post" name="form" id="form"> <cfinput type="radio" name="approve" value="1" onclick="show('d0','d1'); ">One<br> <div id="d0"> &nbs
Trying to do a brand new install of CF10 on Win 7. As soon as I tell it to use all IIS websites, it bombs telling me to Ebable the required options under ASP.NET, CGI, ISAPI extensions. Clearly IIS did not install correctly under Windows. Tried uninstalling IIS, reinstalling. No dice. Or is this indeed a CF10 problem?
Normally when I connect a database resource, we use a user specific to the MSSQL server. However, I have a new resource that requires putting in domain-based credentials. I've tried inputting domain\username for the domain-based db user in the regular username field, but that bounces me to the "invalid login" error. Surely it is trying to interpret that username as a regular MSSQL user account. How do I tell it that the account is in Active Directory instead? Maybe there is something I should add to the "Connection String" field?Alternatively, I imagine I could set up a JDBC "other" driver, though that's more of a pain of course.Thanks,Chuck
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ffd.html
Oracle & Sybase Database drivers are not in the pulldown list when installed Coldfusion 10 standard in 2008 R2 Server.I saw the drivers in other windows operation system, XP, server 2003. Can I import Oracle & Sybase drivers to the Data Sources instead of using ODBC?Thanks,
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-78cc.html
Under development server, CFGRID show data , all is fine , correct. (CF9.0 version dev)Under production server , CFGRID does not show data, only a grey line (like a HR).How to debug this ?Thanks,
I have written an app for a client which sends emails as part of confirmation. We have noticed that some domains will block the email ie btinternet.com email addresses will block the emails. However, if the client emails from their own email address the customer will receive this email. What could be blocking this email? We are using CF9 Here is my email code: <cfmail to="#customer_email#" from="#from_email#" bcc="#blankemail#" subject="#email_subject#" type="html"> <cfmailpart type="text/plain"> <cfoutput>#plain_email_text#</cfoutput> </cfmailpart> <cfmailpart type="text/html"> <cfoutput>#html_email_text#</cfoutput> </cfmailpart> </cfmail>
When installing Coldfusion 10 standard in 2008 R2 Server, at the final stage asking me to enter admin password. Although I knew the password I entered is correct but it still said it is invalid.Searching in the internet, some said to disable the admin.security in 'neo-security.xml' to bypass the login page. It works, but when update the password, it happened again. This issue seems applyinig to 2008 R2 Server only.Is there any patch to solve this issue? Thanks.
I am not getting the debug output that should display when Enable Request Debugging Output is checked. I am not talking about enable robust exception information, which works fine. I am setting up a new Windows 7 computer for development (8MB RAM). I installed CF10 (version 10,283922) running on Apache 2.2.24, connecting to an oracle 10g database over VPN. Debugging IP address is 127.0.0.1. The server is very slow without debugging output and impossibly so with debugging output turned on, and then the output doesn't even display.My previous Win XP pro computer ran cf8 on IIS with the same database and the debugging output worked. The performance was slow and I assumed it would be better with 64 bits and more RAM. Needless to say I am dissapointed to find that it is slower. Any thoughts on how to display debugging output or why the performance is so bad?ThanksAnne
The subject may seem confusing, but it is very simple really. I am new to CF and I am trying to utilize the same DB, but call different values based on where the content is on the page. I have found a way for it to work, but it seems clumsy and extraneous at best. This is the way I have found to do it:<cfquery name="getGame25" datasource="dbtest">SELECT gameID, gameName, gameDev, gameYear, gameConsoleFROM tblGamesWHERE gameID = 25</cfquery><cfquery name="getGame24" datasource="dbtest">SELECT gameID, gameName, gameDev, gameYear, gameConsoleFROM tblGamesWHERE gameID = 24</cfquery><cfquery name="getGame23" datasource="dbtest">SELECT gameID, gameName, gameDev, gameYear, gameConsoleFROM tblGamesWHERE gameID = 23</cfquery>......<cfoutput query="getGame25"><div class="showcaseText"><p><h1>#gameID#. #gameName#</h1></p></div><table><tr><td>Developer:</td><td>#gameDev#<
Hello; I have a question regarding the Coldfusion Security Bulletin APSB13-03 for ColdFusion 10, 9.0.2, 9.0.1 and 9.0. Is this hotfix also availablefor Coldfusion 8.01? We use the Coldfusion 8.01 enterprise version.Patched on the last available hotfix APSB12-21 -> Security update: Hotfix available for ColdFusion 10 and earlier. By regulary scanning our systems a finding regarding CVE-2013-0632 was found by the scanners, to resolve with APSB13-03. Is APSB13-03 available for Coldfusion 8.01? Core support ends 7/31/2012 (the last hotfix for cf 8 wa from 11/2012!) But extended Support reaches until 7/31/2014. frank
The Systems Support matrix for Cold Fusion 10 references Red Hat Enterprise Linux 6.1? Is Cold Fusion 10, not supported in RHEL 6.3?
I am trying to launch a file when the user clicks on a link. Sometimes the filename has a # sign in the name, like "My File #1.xlsx". When they click it, they get an error saying "The file specified in the contentTag does not exist" and then the shows .../My File not found.Additionally, though I can't remember for sure at the moment, I think I've had trouble with a few other characters such as ^, *, ?, ", <, >, |. And consecutive periods (.) like My...Filename.xlsx. However, I can live with that problem but not the # in the filename! Surely there's something I can do to launch such a file. Here's what I'm using:this is the call: <td><a href="./fileopener.cfm?attached_file=true&file_location=#qryGetFileNames.ServerDirectory#\#qryGetFileNames.ServerFile#">#qryGetFileNames.ServerFile#</a></td><cfset file_location = "#url.file_location#"><cfheader name="content-disposition" value="attachment;filename=#file_location#"><cfcontent deleteF
Hi all,I have the query is displayed the check boxes. I'd to validate and make sure at least one check box needs to be checked. The code i have below is not working. Can you please help.ThanksKT<cfinclude template="userCheck.cfm">script type="text/javascript"> function validate(oForm) { var numChecked = 0; for (var idx=0; idx<oForm.category.length; idx++) { if (oForm.category[idx].checked == true) { numChecked++; &n
Hello, everyone.I'm working on a Solr collection of documents that are stored as BLOB in an Oracle database. Documents can be .pdf, .txt, .doc(x), or .xls(x).Is there a way of getting the text of these documents so that the collection can be properly indexed?Thank you,^_^
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.