The official community for ColdFusion.
Recently active
I need to crate an authentication using active drectory users but need them to use sAMAccountName as unique identifier ? Currently the user name is like "cn=*,ou=*,dc=*,dc* . How it should look like if using a sAMAccountName ?
I need to retrieve some data from a database using CFQUERY, and then translate that data into another language (so Spanish, Chinese, etc).- The Google Translator will be sufficient for now since the data is simple instructions - not a long article.The Javascript function that Google provides causes a dropdown menu to appear when the page is loaded. I want the translation to take place automatically, having selected the language on a previous page.#googtrans can be put in the URL to translate the whole page. However I only want to translate the database content - not the entire page. So, for example, part of the page would be in English and the other part (from the database) in Spanish / Chinese.I found a good article on this on a blog some five years old. However it is evident that Google have changed their API since then, and so the blog code no longer works.Can anyone cast any light on this?Thanks in advance.
From the query GetTotalStars i get the correct data:So right now im oupting the results depending on the month , and i have another query thatgets me the months: select distinct [month] from GetTotalStars order by [month], But the problem is that is not all the totalstars is outputing to the correct month. How will i be able to output the results in the correct month and year,since right now i only have 2014 data, but obviously someday i will have 2015.so will be like having two different tables 2015 and 2014. <thead> <tr> <th>Department</th> <cfoutput query="qryMonths"> <th>#MonthAsString(qryMonths.month)#</th> &nb
Working with this tag for the first time in a trial version of CF 11. I'm unable to pass any URL vars with the source without error, for both .cfm and .html pages. For example, source="myPage.html" works as expected, but source="myPage.html?x=1" throws a 500 error.When the urltoken is not passed with the source when the source is a .cfm page, the session (login) is not recognized and we get thrown to the login page.
Hi everyone, I hope someone can help me. I have a server with firebird and a database ( i cant touch that server) so I had to configure another server with CF, now, I need to connect CF with firebird on the other server to be able to read the database. The servers are in the same network (they are next to each other)Thanks.
Hey team,I'm currently using CF9 and I'm writing code in an external .CFC component (in cfscript) and I'm trying to create a cfreport (or a Coldfusion Reports Builder equivalent) using only cfscript.I have accomplished the creation of a cfreport in an external .cfm page using the syntax <cfreport format="PDF" template="templates\templateA.cfr" query="#dataRecordset#"> and I am essentially trying to replicate this using only cfscript. Has anyone accomplished this before? Please help! Thanks! 😃
I downloaded and installed Coldfusion Builder 2 and liked it. I decided to purchase it and found that Coldfusion Builder 3 had been released. I purchased Coldfusion Builder 3 after my trial had expired. I then uninstalled 2 and installed 3. I attempted to register my product but nothing shows that it was successful or unsuccessful and my license key does not show up under Previous Serial number in Help->License Adobe Coldfusion Builder.I am unable to do a global search of my project and the syntax highlighting no longer works in the cfquery tags as well as the built in server does not start. It is almost like the application thinks I am still using an unlicensed version. I have uninstalled and reinstalled several times as well as rebuilt my workspaces from scratch and yet none of this has fixed the issues. I am on a Windows 7 enterprise 64 bit machine. Let me know if you need any further information.
Greetings,I am having trouble getting a .net dll that I have created to work with my ColdFusion 10.The .dll was created using .net framework 4This is what I am doing...first I did this<cfobject type="dotnet" name="UpdateBUI" class="PCSData.PCS_BUI" assembly="#expandPath('./PCSData.dll')# >I got an error that said this,Class Npgsql/NpgsqlConnection not found in the specified assembly list.Npgsql.dll is a .net dll that I am including in mine. So I read up on it and found someone saying that you have to include all assemblies. So I then did this,<cfobject type="dotnet" name="UpdateBUI" class="PCSData.PCS_BUI" assembly="#expandPath('./PCSData.dll')# , #expandPath('./Npgsql.dll')#, #expandPath('./Mono.Security.dll')#">Which results in.The C:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfclasses/dotNetProxy/ D:/PCS/testObj/Npgsql.dll file specified in the assembly does not exist.So I am not sure what I need to do with this. Any help would be greatly appreciated. &
Hello,I having an issue in pdf generation through cfdocument. It is cutting of the top of some of the characters. I am running cf 12 developer version. I have seen this happen in 8 as well. I think it happens when the text is wrapped in a table. Here is the code that I used. I have also seen it splitting off a jpg image (small image like a company seal) in two pagesThank you in advance.<CFDOCUMENT format="pdf" > <table cellpadding="2" cellspacing="0" border="0" align="left"> <tr><td> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus arcu diam, malesuada pellentesque augue non, faucibus molestie elit. Nullam porttitor dolor id ante dictum tristique. Mauris vitae tellus nec justo varius sollicitudin vel quis nisi. Aliquam erat volutpat. Aliquam erat volutpat. Phasellus congue est id nisl aliquet iaculis. Suspendisse porttitor lectus nec urna blandit, in tincidunt l
I am running ColdFusion 11 on IIS 8.5 and attempting to display a simple flex form. It generates the infrastruction for the form in the browser. However, when it attempts to access the <unique number>.mxml.cfswf file I see a 404 in the IIS log.Any help in troubleshooting this issue would be appreciated.
Can anyone help me with this, I am trying to make use of the EU's VAT number checker, I have the location of the WSDL, but my CF knowledge is basic at best and I am struggling to grasp the complexities of how to make the cfc talk to the remote server and give me the information back. I am not particularly after anyone to create the code for me because I would like to do it myself ideally but if anyone has an example CFC that they could show me that would do something similar I would be most greatful.http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl - wsdl location if you would like to see it.
Could someone explain the essential technical differences between Cold Fusion Standard version 11 and Cold Fusion Standard version 11, Academic please?I have searched the Adobe website but could not find an answerWould be grateful for a reply.Have a great day!Kind Regards
I switched over to using application.cfc not too long ago. One thing I have struggled with is how to set variables that I use on individual pages of my site like I used to do in application.cfm. I have some passowrds for sftp services etc that I used to set in application.cfm. I have not been able to figure out how to make them work with application.cfc so I can call them where I need to. I have tried setting them in onrequeststart, onapplicationstart etc. but nothing seems to work. The variables are never defined. Does anyone have a working example of how to set variables that can be used on your site globally?Is there a better way to store account passwords and variables like that that I am missing?
Coldfusion 10 on marverics, all updates are up to datetried to send email:<cfmail to="yal9012@nyp.org" from="yal9012@nyp.org" subject="test email"></cfmail>I got blank page. Checked the mail.log:-----------------------------"Error","scheduler-1","06/05/14","15:14:04",,"The ColdFusion mail spool encountered an invalid spool file in the spool directory. The invalid file Mail1565737694416095906.cfmail was moved to the undelivered directory."-----------------------------in exception.log-----------------------------"Error","scheduler-1","06/05/14","15:14:04",,"The ColdFusion mail spool encountered an invalid spool file in the spool directory. The invalid file Mail1565737694416095906.cfmail was moved to the undelivered directory."coldfusion.mail.MailSpooler$InvalidSpoolFileException: The ColdFusion mail spool encountered an invalid spool file in the spool directory. at coldfusion.mail.MailSpooler.processFile(MailSpooler.java:2292) at coldfusion.mail.MailSpooler.retrie
The project I'm working on is accessing it's data from a MS Access db. When creating a new person in the database there are several tables where data has to be inserted and updated.I had the problem, that when the second, third… insertion fails, the first one is already done. So I wanted to wrap the insertions in a cftransaction, so when a call fails the other ones get rolled back.But now no insertion takes place, even when there's no error. I haven't found reliable information whether it is possible to use cftransactions together with MS Access dbs. Is there any definite statement if it works with MS Access at all or with which version it will work?Hope you can help me out.
I'm having a problem with xmlParse and CF11. I have a site running perfectly under either CF9 or CF10. It uses xml files for various site settings and static content. Under CF11 I'm receiving the following:An error occurred while Parsing an XML document. Invalid byte 2 of 2-byte UTF-8 sequence.I've sent the document through various xml validators, no issues. Like I said, the exact same document parsed fine under CF9 & CF10 -- in fact it was created by CF9 and/or CF10. Any ideas on what might be causing this (other than a CF11 bug) and a possible work around. (it's hard to create a work around when I'm not even sure the issue)BTW, I downloaded and installed the latest CF11 yesterday. A check for updates does not show any available.
Using Ext-JS drop down menus and the flash cfgrid with the wmode set to anything has no effect. According to the docs, set wMode to transparent or opaque and everything else should float over it. It doesn't do anything and I am starting to remember why I never used this feature before. Adobe, tell me how to fix this yesterday please!
Hi Everyone,I'm looking for a CF10 download link? I used to be able to download older versions here:Adobe - ColdFusion Support Center : More DownloadsHowever since the release of CF11 I haven't been able to find it anywhere on the Adobe.comCheers,Chris
I can only find downloadable files for CF11, is there a downloads area for earlier version? I would like to download that latest/last release of CF10 if possible.
Does anyone know if it is possible to activate Coldfusion offline?And if it is, how it can be done?Thanks in advance guys
So here is the logic I have I just can t figure how to codeIf the date is between 5/31/2014 after 3:00 PM and 6/7/2014 up to 3:00PM <CFSET payweek =1>If the date is between 6/7/2014 after 3:00 PM and 6/14/2014 up to 3:00PM <CFSET payweek =2>If the date is between 6/14/2014 after 3:00 PM and 6/21/2014 up to 3:00PM <CFSET payweek =3>I know I could code all of the weeks but isn't there a way to do this with a loop when you have know starting date 5/31/2014 and time and set length 7 days?
Installed CF11 on MAMP Pro 3.0.5 on OSX Mavericks. CF server is started as well as Apache and MySQL. When I navigate my desired CF virtual host, It only displays the code within index.cfm in the web browser. Also, when I navigate to localhost/CFIDE/Administrator/index.cfm, it tries to download the file. Any suggestions would be appreciated!
Recently, we upgraded our webserver to IIS 7.5 and ColdFusion to CF10, and ever since then any forms I have which use CFFORM (not flash) will not load on any Macs, with any browsers. I've noticed that these same sites, when running on a Windows 2003 Server (also running CF10) do show up on all browsers in apple machines.Before I convert all of these cfforms to regular forms, can anyone help me with this? I suspect it must be a setting on IIS 7.5 that needs tweaking, but as far as I can tell all of my filters and and settings are correct. And yes, everything works fine on PCs. Any ideas?
I've inherited a ColdFusion site (CF5), despite no background in CF, but have been tasked with making a change to the behavior of the site. I'm running into a problem with cookies, though.A site on another domain is linking to this site and includes a query string. Now I'm checking for that value (a zip code) in the index.cfm file and storing it in the cookie and that seems to be working fine. I looped through the cookie collection and dumped the results, and the zip code was there. So at this point, all is well.But then the user clicks on a button, which reloads the index.cfm file with a different <include>, and the cookie no longer has any values other than CFID and CFTOKEN. This was confirmed by looping through the cookie collection, and later by Fiddler.Client storage is set to cookie, and I can't find anywhere in the index.cfm, application.cfm, or the included files where the cookie is being set to expire.Here's the line that's storing the value: <
We've had CF10 running for months now with very few problems. This Tuesday i start to hear of the CF instance crashing in the mornings. I restart service and it runs again for the day. Wednesday it is crashed again, so i restart service twice before it will start working. Thursday the service is dead again. all my efforts to restart service or reboot server only allow it to work for minutes at a time. it starts working fast as normal, then slows, then really lags, then Time Out errors from queries and then crashes the CF instance again. on and off like this all day and still today. I try tweaking some CF Admin settings but nothing seems to give a lasting help. Server seems to be running just fine (Windows server running IIS). I can get general HTML pages to work continually even during worst behavior of CF. I checked my SQL server as well and it is running fine, no strange or overwhelming queries. I rerouted traffic to the staging server instead of the Live Prod server and after a few
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.