The official community for ColdFusion.
Récent
Hi,I'm getting a list of areas, a city and a state thru binding when type the zip code. These data I get from a remote websevice and I have problems when do the binding because is simultaneously in cfselect areas, cfselect city and cfselect state. The error is time out some times and it could be happen in only one field or two.I inserted diferent delays (sleep(5000)) before execute every bind and it works better but not to 100%. It ocationaly displays too the time out.I don't know if there are an option to execute the binding secuentially and not simultaneously.This is my code:Zip code <cfinput type="text" name="zipcode" message="Capture el código postal a 5 digitos" validate="integer" required="yes" class="textbox" id="zipcode" tabindex="7" value="" size="7" maxlength="5" typeahead="no">Area <cfselect enabled="No" name="Colonia" class="textbox" tabindex="11" required="yes" multiple="no" selected="12"  
Hello, everyone.I'm sure this is going to be super-easy for someone to answer. I think I've seen the correct answer, before, and I am just not recalling it.I've tried Googling it; finding a lot of stuff, but not the answer to my question.In application.cfc, for this.mapping[], how do I indicate a directory one level "up" from current using GetDirectoryFromPath(GetTemplatePath())?I've got a project in a main folder that contains an admin folder, each with their own application.cfc. But admin is using components in the main folder, not it's own.Components are in C:\ColdFusion10\cfusion\wwwroot\project\components\ and the admin is in C:\ColdFusion10\cfusion\wwwroot\project\admin\ V/r,^_^
I've installed CF9 (because it matches what my host uses) on my ubuntu14.04 machine, along with Apache web server and MySQL.I know Apache works because HTML (and PHP) pages get served up fine. MySQL and phpmyadmin both come up fine.ColdFusion starts and runs:Starting ColdFusion 9...The ColdFusion 9 server is starting up and will be available shortly.======================================================================ColdFusion 9 has been started.ColdFusion 9 will write logs to /var/www/html/cfusion/logs/cfserver.log======================================================================But when I view a CFM page I just see raw code.What have I done wrong?
Hi , I want to map ORM CFC with 1-m and m-1, i have 3 table like:blogPost [blogpostid] ,[title] ,[summary] ,[body] ,[dateposted] ,[createdDateTime] ,[modifiedDateTime] ,[deleted]blogCategory [blogCategoryid] ,[name]BlogPostCategory [blogpostid] ,[blogCategoryid]blogPost ->BlogPostCategoryy (1-m)blogCategory->BlogPostCategory (1-m)BlogPostCategory->blogPost , BlogPostCategory->blogCategory(m-1)Please tell me the step to craete it (By directly using this 3 tables)When i try to create it i got the error like i attach snapshot:Code could not be generated structDetailIf the component
Hello All,I'm just getting my feet wet with CFBuilder and giving it a spin after over a decade's worth of experience with Dreamweaver and I have a question about setting up my work environment.First of all, I have two computers that I mainly work from. My home desktop computer, and a laptop for when I'm on the road. I keep all of my web site project files syncronized between the two computers using Dropbox. I've noticed that when I create a new project in CFBuilder it stores a few files in my project root like ".project" and "settings.xml". It looks like "settings.xml" stores information about which CFBuilder web server should be used for the project. Unfortunately this messes things up for me a bit because on my desktop a web site project url might be: http://desktop/myProject/ and on my laptop the project url could be http://laptop/myProject.The reason this isn't a problem in Dreamweaver is because dreamwevaer stores its configuration/preferences outside
I am writing a coldfusion application that is only accessible through a specific windows server. The users log into the server using citrix. The windows server is using a proxy server called ISA or TMG (Threat Management Gateway), which includes all of the web authentication. This allows the ability to pass Active Directory credentials from TMG to the IIS web server for authentication. This user credentials system is adequate for our client and we are not wanting to have another credential system within our application. In order to utilize this authentication system, we only need to retrieve the username. This system already ensures the user is logged in. Would I try and retrieve the username from IIS? Or, is there some way to retrieve the windows username? The apps I write typically have their own authentication system, so I am new to this and looking fro some guidance.If anyone has some suggestions on how to proceed in retriving t
Is there any way to get the current user logged into a client (Windows XP), and pass those credentials into an ldap request? Basically I want to create an Intranet site, where the users will automatically be authenticated from thier Windows login credentials already on the client. Any help would be great. Thank you. -Christopher Keeler
Good morning, guys! (It's 10:50 a.m. in Brazil)First of all, I'm still new at CF and my questions may seem too much silly and my English's not the best, so, please be patient with me. heheWell, I'm accessing a link via CFHTTP that gives me a JSON response. I'm not familiar with JSON yet, so I'm working it as a string and using string functions (Find,RemoveChars,Replace,etc), but it happens to me that I'm receiving a certain kind of order of the strings list from the JSON when I access it directly from the browser and other kind of order totally different when I access it from the CFHTTP.I only figured it out because I was working at home with my code and there everything went just fine as expected. Then I brought to my job to develop a little bit more as soon as I get a free time and here my code doesn't work anymore. When I took a look at the JSON by a CFOUTPUT, I realized the strings were in a different order.Does anyone know why is it happening?Link to the JSON: http://sigmine.dnpm.
I have exactly the problepm described on this URL :http://www.elliottsprehn.com/cfbugs/bugs/84976I work with CF9.0 on windows 2008 , all 64bits.With that image I have this error :"An exception occurred while trying to read the image. Unsupported Image Type"I cannot attach that image, it is a bit more than 4Mo, this is just the size the customerused it, they do not care of size.But the problem is well described in that URL above.In the URL above, I do not see any recommandation on what to do to solve this problem.Thanks for any help.Pierre.
Hi please tell me how to Create ORM 1-1,1-m relationship cfc from table , not manually (From table how to create 1-1,1-m ORM CFC in Coldfusion10, Like right click on table ,select option create ORM CFC......) Send me Screen shot or video with take example.
I've been having an intermittent issue sending out emails from our Coldfusion 9 application. We have Coldfusion 9 Enterprise on a Windows 2008 Server that is running 5 different Coldfusion instances. In our case, each of the instances are connected to the same Amazon SES service as its' mail server. We are using authentication and TLS. We send out between 2,000 and 15,000 emails per day typically and I'm getting intermittent errors as shown on the mail.log:"Error","scheduler-4","04/21/14","07:54:27",,"javax.mail.MessagingException: Unknown SMTP host: email-smtp.us-west-2.amazonaws.com; nested exception is:java.net.UnknownHostException: email-smtp.us-west-2.amazonaws.com""Error","scheduler-0","04/21/14","08:01:55",,"javax.mail.MessagingException: Unknown SMTP host: email-smtp.us-west-2.amazonaws.com; nested exception is:java.net.UnknownHostException: email-smtp.us-west-2.amazonaws.com"In these cases, the emails are sent to the Undeliverable folder and are never s
Hello, everyone.I've been tasked with a project that will involve querying a table on one server, then sending the data to a remote server that will take the data and insert it into another database (the two db cannot communicate directly with each other.)I've never had to do something like this, before. What is the best way to achieve the desired results? Is there a way to "submit" a query (anywhere from 1 to 5 records at any given time) to the remote server without incorporating WDDX?CF9 environment, soon to be CF10.V/r,^_^
I have a series of forms that send information to various web services.One is a login form, which consists of a username/password combo, and some other credentials specified in the code. My CF code looks like this:<cfinvoke webservice="https://my.web.service.url/login?wsdl" method="userLookupBySession" returnvariable="appauth"> <cfinvokeargument name="applicationName" value="MYAPP" /> <cfinvokeargument name="accessCode" value="123456" /> <cfinvokeargument name="sessionId" value="#session.appid#" /> <cfinvokeargument name="endUserIPAddress" value="#CGI.REMOTE_ADDR#" /></cfinvoke>And that works quite well.Another form is a registration form. Like the one above, it accepts four arguments.Application nameAccess codeUser data
Hi I am beginning to start learn coldfusion now i want to know the site url where diff type coldfusion projects exist like Hospital management system,School management system,etc.
Hi,I have a question on Cold Fusion license.Have Cold Fusion 9 Enterprise but cannot find the license key.Have Cold Fusion 10 Enterprise and have the license key.Can the license key for CF 10 be used for the CF 9 key?Can the license key for CF9 be obtained somewhere?Thanks,Mike
Does cffeed cache http responses? Two servers with the same code return different content (one is current and the other is out-of-date).Thank you.
Hi All,I just had a heck of a week recovering our Coldfusion production environment. I think it convinced us to create a high availability/failover for the site. My question is is CF 9/10 enterprise required to create a failover cluster? ThanksMark
Like Following .Net Class how to make component in coldfusion10?public class ViewModelSearch { public List<PropertyAttributeGroup> PropertyAttributeGroups { get; set; } public List<Product> Products { get; set; } }Where PropertyAttributeGroups ia s class autogenerate using Entity Framwork in .NET.
Does someone knows if there is a limitation with Chrome about create variable session when the domain name is long?For example I have domain like this onehttp://www.abcdefghijklmnopqrstuxyz12345678.com.mx/I have my index with user login and when I validate the account If it is correct I create the variable session and I do a cflocation to the user home page.<CFSET SESSION.AuthCte = StructNew()> <CFSET SESSION.AuthCte.IsLoggedIn = "Yes"><cflocation url="userhome.cfm" addtoken="no">But the userhome.cfm detects that the SESSION.AuthCte.IsLoggedIn variable is not defined.If i use the IP instead of domain name it works.It works too if I put addtoken="yes".If I use the IE browser with the domain name it works.Regards!
I just 'upgraded' (if you consider DW CC an upgrade) from CS6 to CC, and am having problems with .cfm files.I have followed all the instructions to get DW CC to open and edit .cfm files..... and it does this just fine. I have also installed the server behaviours and databases panel extension.However heres the BIG problem: when I want to upload a .cfm file to a server, I am no longer getting a prompt to upload dependent files! It prompts me fine if I upload a .html file, but not .cfm.I mostly work with .cfm files and make changes to CSS files regularly. Whenever I upload a .cfm it is essential that DW also uploads the dependent files associated with it.Please how can I fix this issues? I have gone into preferences and all the boxes are checked correctly to prompt for dependent files when putting/getting. I'm so stuck I'm thinking about cancelling my CC products and going back to CS6.
I am currently on coldfusion 9 with win serv 2003. We are moving everything to a new server with win server 2012. Is 9 compatible? If I have to upgrade to 10, then what is the best way to do it. Can I install v. 9 on the win 2012, then immediately upgrade with v 10? or will, I have to purchase a full copy of 10 and do a fresh install. I am thinking, there should be an upgrade path, and not require me to buy it all over again.
I have an older functioning form that creates a new "Order" record in my "tblCOM" tableI added two new text type fields called: "HowManyData" & "HowManyVoice" (see image above) and a new field called "pvType"Question: How can I adapt my page to handle the following scenario:-------------------------------------------------------------------------------------------- the user types in a qty of "4" for field "HowManyData" - the user types in a qty of "2" for field "HowManyVoice" When the Submit button is pressed: ------------------------------------------------ the main record is added to "tblCOM" (this is already working fine)- four (4) related "Data" records are added to the "tblProvisioning" table (and pvType is saved w/value of "Data")- four (2) related "Voice" records are added to the "tblProvisioning" table (and pvType is saved w/value of "Voice")I know this requires something similar to the following:-----------------------------------------------------------------------&
I'm trying to get single select options in a dropdown menu.The data is coming from two database.My CFQuery looks like <cfquery name="related" datasource="ISSUE">SELECT sparprodFROM Relatedwhere Active = 'Yes'union all select sparprod from TBL_issueWHERE issue_number = <cfqueryparam value="#URL.issue_number#" cfsqltype="cf_sql_numeric"> ORDER BY sparprod ASC </cfquery> <td> <select name="sparprod" id="sparprod" > <cfoutput query="related"> <option value="#related.sparprod#" <cfif (isDefined("rs_issue.sparprod") AND related.sparprod EQ rs_issue.sparprod)>selected="selected"</cfif>>#related.sparprod#</option> </cfoutput> </select>And the output in the dropdow
I am counting the number of lines on code in .cfm pages. But i want to exclude the lines between the CF and Javascript commenting tags while doing this.I tried replacing the lines in between the commenting tags with empty string like the below one.For CF commenting tags : <cfset filecontent=rereplacenocase(filecontent,"<![^<]*>","","all")> For Js Commenting tags : <cfset filecontent=rereplacenocase(filecontent,"/*[^<]*/","","all")>But mostly the above method does not exclude the codes. can anyone suggest any alternate method to achieve this.
Hi,I urgently required 2 ColdFusion Developer for 2 permanent roles based in central London. Ideally you will have 3+ years experience but less is considered if recent. Please send me an email if you are interested or if you know someone who is. ThanksDavid.hughes@nakgroup.co.uk
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Vous avez déjà un compte d'utilisateur ? Connexion
Pas encore de compte ? Créer un compte
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.