The official community for ColdFusion.
Recently active
As part of the installation I was led to the web admin to complete the configuration; whereas, I was not allowed to continue because my credentials were stated as wrong . I was able to successfully go to one of the other remote computers which its IP was included in CF10s "Secure Profile" settings. After that I entered 127.0.0.1 as part of the allowable IPs. Still no luck with getting access from within the same server as CF10.Details:Win2008R2IE9CF10 Enterprise
've just installed Coldfusion 9, and everything is now working fine and it's connected to my MySQL databse via the Coldfusion Administrator as a datasrouce, but I get this error occuring infrequently, maybe 5 - 10 times a day. I don't know how to recreate it, and if you get it and refresh the page it goes away.Error Executing Database Query. Communications link failure Last packet sent to the server was 0 ms agoThe error is being caught by coldfusion as it's displaying a user friendly message and emailing me the problem.Almost all of the time the pages load and work fine, and this problem has only happened since going from CFMX7 to CF9, both using MySQL.The MySQL version I am using is "5.0.77"I've tried localhost and 127.0.0.1 as the host in the datasource, it makes no difference.Does anyone have any idea what this is and how to fix it? I've seen some similar posts for Java but I don't see how to translate the fix across into Coldfusion?And could it be a MySQL or Apache problem anyway?
Good Morning,I'm a newbie when it comes to this so I apologize ahead of time.I'm trying to build a Year/Make/Model related select search. I found a HTML, PHP, and the JQuery Related Select Plugin that i'm trying to convert to use with CF. It looks like i can use an array to replace the PHP page that supplies static data: <?php $stateID = $_GET['stateID'];$countyID = $_GET['countyID'];$townID = $_GET['townID'];$html = $_GET['html'];$states = array();$states['MA'] = "Massachusetts";$states['VT'] = "Vermont";$states['SC'] = "South Carolina";$counties = array();$counties['MA']['BARN'] = 'Barnstable';$counties['MA']['PLYM'] = 'Plymouth';$counties['VT']['CHIT'] = 'Chittenden';$counties['SC']['ANDE'] = 'Anderson';if($stateID && !$countyID && !$townID){ echo json_encode( $counties[$stateID] );} elseif( $stateID && $countyID && !$townID ) { echo json_enc
HI, I upgraded from CF8 Dev to CF9 Dev edition a few months ago. I haven't coded much since then, but have noticed that when I open CF Admin, it doesn't seem to want to load. When I click stop on the browser and then reload, it opens fine. I have a desktop shortcut to a little password manager I use and the same thing happens when I try to open it as well. This was never an issue with CF8.Anyone have any idead why this issue would be occuring? Not sure which information from my server configuration is needed, but I'll be glad to post any info needed. Thanks in advance!
We have resently installd CF 10 64 bit om three new windows 2008 R2 servers.One of them keeps generating an error "PermGen Space null" when processing CF script files.There is nothing special about the scripts resulting in errorwe have tried to increse Maxpermsize from 192m to 768m but that had no effect.the other two servers seems to bee doing fine.Any ideas what to do?
Is there a way of making a field visible and Required if a particular selection is made in a drop down menu.For instance I have 4 different options in my drop down menu including "Other" and if Other is selected, I want a new text field to be visible so the user can add more specific information.Any help or guidance would be appreciated.
Can someone tell me what is wrong with this code? I'm getting a too few parameters expected 4 error. <cfquery datasource="poll" name="registration"> INSERT INTO Members(login,password,first_name,last_name,email,phone,address) VALUES ("#form.username#","#pw#","#form.firstname#","#form.lastname#","#form.email#","#form.phone#","#form.address#") </cfquery>All database fields are text even for the phone number and password.
Hello Everyone,I have some code (posted below) that works great to develop a 2 level drop down where the second selection is based on the first. What I want to do is adapt this to be a 3 level drop down where the second selection is based on the first selection and the third selection is based on the second selection. I have seen several examples but I am not a coder and do not know java script so I was not able to make them work. The example below I understand so I would like to use this format. Any help would be much appreciated since my deadline is fast approaching.Thanks <cfif isDefined('form.Park')> <cfset page.Park = form.Park> </cfif&
I cannot get cfcookie to stop expiring immediately. It worked fine until recently switching to a new VPS. Now the cookies only get set the first time Application.cfm is run. If you visit any other page in that same director the cookie mysteriously disappears.Here is my application tag...<cfapplication name="KYND" sessionmanagement="yes" sessiontimeout="#CreateTimeSpan(0,3,0,0)#" setclientcookies="no" setdomaincookies="yes">http://www.kyndoutdoors.com/dbf/_kynd-controller/my-kynd.cfmUse timmyv as both the username and password.
I'm not completely clear on how cfinvoke works.Am I using the returnvariable correctly with this cfinvoke? Would the variable scope name be the returnvariable name? Is it returned parsed?Can the return value come back to the same page that had the cfinvoke on it or should it be a separate page?<cfinvoke component="#PaymentGateway#" method="createSubscription" returnvariable="result"><cfoutput>#result.resultcode#</cfoutput>Thanks!
Hi,I am new to cold fusion and have been hunting for something that will take me through creating a very simple (e.g. "Hello World") cold fusion application in CF10. I have just downloaded the developer edition and have been unsuccessful at finding something that actually gets me started! The web site is all about what's new in 10, etc, but nowhere can I find something that takes me through the steps of creating, installing and testing the application.
I have this problem with a dummy site i'm working on (for learning purposes) and i have 20 form text fields with an "add extra field" button. They are for entering sales of products, but the problem i'm having is that i use a DB, but come to realize that anything greater then 20 entries won't work if i want to use a DB. So i was wondering if you can save the information given from the form fields onto a file of some sort (like excel or pdf), but later on if i want to make a change to an entry on that file would it be possible to recall the file and make the changes accordingly without rewriting the entire thing?Hope that makes sense. thx
Using cfindex to attempt to boost the "Question" field over the "Answer" field of Q&A data. I see no effect from adding anything in the fieldboost field on the index.<cfindex action="refresh" collection="faq" type="custom" title="question" body="question,answer" fieldboost="question:2" key="faq_id" query="updateQuery" location_i="location_id" />I get the exact same results if fieldboost is there or not. No change.
We have a client that created a webservice to identify users. They are requireing that we use that service to identify users. I seem to have read somewhere that someone used .net to create the connection and then passed that data to ColdFusion ( or allowed access to the data). Subsequent searches have not proven to be fruitful. Has anyone else run into a similar issue? Know where I can find some information on how to accomplish this requriement?
We have a CFC page that was working fine before moving to CF9 from CF8. Any ideas on why it is no longer working? It is not processing at all now - just giving us this error.<cfcomponent displayname="Checks For Email Address" output="true" hint="Checks for an Existing Email"> <cffunction access="remote" name="CheckInData" returntype="boolean" description="Checks Email and Returns True if Email Address Exists" hint="Checks Email and Returns True if Email Address Exists"> <cfargument name="Email_Check" type="string" required="true"/> <cfquery name="data" datasource="datasource" dbtype="OLEDB"> SELECT  
I have indexed an XML file in solr, which looks like: <doc><str name="body">ABC</str><str name="contentid">282307</str><str name="docuid">121422</str></doc><doc><str name="body">MNO</str><str name="contentid">272307</str><str name="docuid">188422</str></doc>this file has around 100000 documents. what is the way to get maximum value from the field value "contentid" parsing the whole file.
Hello,I'm trying to use docBoost with CFIndex and whenever I use it, none of the documents get added to the index. It doesn't throw an error but nothing gets added or updated in the collection. Here is an example:<cfindex query="getFiles" collection="#variables.documentCollection#" &nbs
I'm testing the Update 4 on my local development machine (Windows 7 Pro 64-bit). I've downloaded and installed the updater. It never restarts ColdFusion when it's done. It tells me it will, and to check back in a few minutes, but even after half an hour it hasn't. So I manually restarted the ColdFusion service. When I log back into CF Administrator, it shows that Update 4 is still available to be installed (and the orange star is lit at the top of the screen). If I go to the System Information page, it lists the update level at:/C:/ColdFusion10/cfusion/lib/updates/chf10000004.jar and the version at: 10,0,2,283281I did run the WSConfig tool to remove and reapply the IIS connectors. Is there anything else I should be doing?-Carl V.UPDATE: I ran the updater a second time, again had to manually restart ColdFusion after waiting 30 minutes for it to restart itself, and still the CF Administrator reports that the update is available for in
Hello, This is more of a nuisance rather than a functional problem. I have CF9.0.2 installed on a Windows 2008R2 server (iis7.5) configured with 2 instances. While making changes in any CF instance using the CF Admin Page (including the cfusion instance), the page would randomly return me to the login page. This happens at radom when I click on different links or when I commit any changes. I'd have to login to the site again and re-enter the configuration change. All configuration changes are saved successfully on the second attempt. I have tried firefox and chrome and both have the same problem. Thanks David Kwang
Hi All-I currently have a .cfm file that has the following code:<cfdiv bind="url:/homePageIncludes/homePageTabs.cfm?tab={tabtype}" bindonload="true" id="tabView"/>... which seems to work fine, it calls homePageTabs.cfm which has a cfform on it. I want the cfform on this page to submit to itself without refreshing the page (which it appears to do).My cfform code looks like this:<cfform name="formTabs" method="post" action="/">... and on my homePageTabs.cfm page I'm doing a cfdump to get the submitted form values but it keeps coming back empty. I need to be able to see the submit values as I have logic to build and display pages. I can see the form submitting without the entire page refreshing (exactly what I want) but can't seem to trap any values from the form submission.When submitting a cfform to itself inside of a cfdiv, what exact values should I use for the action attribute? I'm assuming the method should be "post" and the docs said to give the form a unique name from
We recently moved our ColdFusion 9 website from one server to a new and improved upgraded spec server. The site works great and the upgrades are a huge improvement. However, since the move last Friday we are being flooded with calls to our helpdesk because a user goes to our normal login screen, enters their username and password, successfully login (which I store their last successful login in the account in a database so I know it's passing all login scripts), but when redirected to the "successful login" message screen, it is not holding the session variables from the login page and prompts them to login again. It's a basic form with username and password, a simple query to check for an account with those credentials and then if found sets a session.usauthenticated and then moves them to the next page. This has been working on the old server with no issues. I don't believe it's a coding issue, because on everyone who has called in, if we clear their cache and cookies from the browse
Hi Guys Just wondering what dedicated coldfusion hosting provider you guys prefer. Cheers
I host my own server and have 2 clients who I use SENDGRID as an SMTP host for.Each client gets their own username and password and sends mail through smtp.sendgrid.net. In my application I add the server, username and password tag into the cfmail tag to route those emails directly bypassing my cfadmin settings.I recently discovered a program where messages from "client 1" and showing up as being send as "client 2". After speaking with sendgrid regarding the problem, they have their logs showing that the session is being authenticated as client2 and not client 1 and that their system is appropriately storing them based off that data.Out of a batch of 3000 emails sent by client 1, 65 of them are attributed to client 2.After looking around, the only thing I was able to consider was the Cfadmin maintain connection option under mail.I was wondering, if anyone knows the criteria to which coldfusion keeps the connection open for. If my theory holds correct, coldfusion only
Hello,Please forgive me if am not in the right discussion. I have a problem with an export of graph to excel, can anybody help me please ?Actually when I export my request to a page, it displays well with the graph and when I put my header excel back, it does the export but the graphs are nowhere to be seen.Here is a sample of the code I've used:<cfheader name="content-disposition" value="attachment; filename=ExportGraph_#DateFormat(now(), 'yyyy-mm-dd')#.xls" charset="UTF-8"><cfcontent type="application/vnd.ms-excel"><cfoutput> <!-- Affichage des graphes (2 graphes par ligne) --> <h2>Graphes</h2>
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7fae.html
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.