The official community for ColdFusion.
Nyligen aktiv
I keep getting this error:Here is the whole tag:<cfdocument format = "PDF" backgroundVisible = "no" filename = "test.pdf" localUrl = "yes" marginBottom = "1" marginLeft = "1" marginRight = "1" marginTop = "1" mimeType = "text/plain" name = "Test" orientation = "portrait" overwrite = "yes" pageType = "letter" permissions = "AllowPrinting,AllowCopy" permissionspassword = "password to access restricted permissions" saveAsName = "Test2" unit = "in"> Any advice is very welcome.Karolus
The company I work for is building an application in which security is of the utmost importance. We're really hoping to use Angular as the client-side application, and we're exploring how best to create our back-end in ColdFusion (which we've used for a few years now). I understand that only so much security can exist in the front-end of the app, and that the bulk of the work needs to happen on the server. But I'm really unsure about how to move forward in that regard. From what I've read, it sounds like we'll need some kind of Authentication Token to be created on login and stored on the backend. This token should come along with every http request, and the server can then decide on the validity of the request.Does this sound about right? And if so, are there best practices for implementing it?Any resources that might shed more light on the topic would be HUGELY appreciated.Thanks,Jonathan
My understanding of the following error, "exceeded limit of maxWarmingSearchers=4", when indexing collections, is that I am committing too often. I do not pass in autoCommit="no", which to me means that it committed the changes each and every time cfindex was executed. I am looping over a large collection of information, cfindexing with each loop. If I do pass in autoCommit="no", when and how do I commit those changes? Can I place a "cfindex autoCommit='yes'" after the loop has finished to commit all those changes? What is the best way to do this?
I'm not versatile with programming coldfusion, so i'm not sure if this is a coding or server configuration issue My work task is to migrate a coldfusion website from a CF9 server to a freshly installed CF11 server. We managed to solve all the compatibility problems but one.When I log into the web application, a CFTOKEN is generated and appears in the URL. As soon as I change the page, the CFTOKEN part vanishes from the URL. Also no cookie gets generated.I would be grateful if someone had an idea what the solution of this problem could be.Thanks in advance!Greetings,Nico Merz
Hi everyone, every day i have to restart my server because i'm getting a blank page. Someone of you know what is causing this issue?
I have a stumper. Installed CF11 on our test server. Did some regression testing and am running into an issue. I have a .cfm that downloads information to Excel. It renders fine in CF10 (and prior versions). In CF11, it renders fine in IE10 and in FireFox. It however fails horribly in IE8 and since most of our users are still required to be on IE8, this is a showstopper.Here is the code that sets up the excel dump - page name is show_table.cfm: <cfif IsDefined('URL.ExcelDump')> <cfheader name="Content-Disposition" value="filename=#Session.utilstablename#.xls"> <cfcontent type="application/vnd.ms-excel"> </cfif>The website runs under SSL. I have already turned off these lines - with no change in the below error: <META http-EQUIV="Pragma" CONTENT="no-cache"> <META http-EQUIV="cache-control" CONTENT=" no-st
I am attempting to download and install about 6 different updates that showed up when I started up CF 10 Admin. My server has MS Server 2003 installed and there isn't much chance the customer will upgrade it in the near future. The server is next door to my office, but we don't have KVMs installed and I can access it via Terminal Services. The process for downloading and installing these updates is taking forever. Could this issue be due to the fact that I'm using Terminal Services? Thanx.
I am currently running Coldfusion 10, update 10. I would like to install the updates, however, I've been getting an error when I login to my Administrative Console about updates - (error invoking CFC/ CFIDE/administrator/updates/download.cfc: internal server error site:forums.adobe.com) and available updates do not appear in the "Server Update" section. I would like to download the update and install at command line, but can't find anywhere online to download the actual update. Please Advise. Is there a link to just download the updates somewhere?
Should ColdFusion <cfoutput> tags be placed inside other tags?Which of these examples is preferred? Is the other acceptable?ex. A: <cfoutput><img src="#imgurl#"></cfoutput>ex. B: <img src="<cfoutput>#imgurl#</cfoutput>">
I have tried everything to get ColdFusion to accept a unicode filename in an uploaded file, such as 饺ぞぎゅびゃツァ 鄩.txt or unicode_♫.txt. The cffile tag rejects the file (cffile.filewassaved property always false). I have tried all of the following:meta tag <meta http-equiv="Content-Type" content="text/html;charset=utf-8">cfprocessingdirective tag <cfprocessingdirective pageencoding="utf-8">cfcontent tag <cfcontent type="text/html; charset=utf-8">setencoding <cfset SetEncoding("url","utf-8")> <cfset SetEncoding("form","utf-8")>cffile charset attribute set to charset="UTF-8"Nothing seems to work. Does ColdFusion not accept unicode filenames?
Hi all, Given the trouble I mentioned in my "bind failed, element not found" post on 7/3, I'd like to just destroy a js-created cfwindow when it's hidden (using the onhide event), and create a new one each time. Does anyone know how to destroy a cfwindow. I would have thought it would be along the lines of: ColdFusion.Window.getWindowObject('MyWindow').destroy(); But that doesn't work. Thanks, Russ
I am trying to conect to the SSRS in Native mode from CF 11 update 2 . the request from CF is http://myserver:80/ReportServer?/Reports/Account Level Mytest to Test&rs:Command=Render&rs:Format=csv&test_id=e9ffa43c%2d2eda%2d4081%2d9428%2d1ca8e784dc47&period_start=11%2f01%2f2013&period_end=11%2f30%2f2014 But I receive this error message:The path of the item '%2FReports%2FAccount%20Level%20Mytest%20to%20Test' is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. (rsInvalidItemPath) <a href="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsInvalidItemPath&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=12.0.2381.0"All is correct like paths and all other strings. If execute separatly in the browser the same request it's work : http://myserver:80/ReportSer
Hi all.I have installed the cold fusion server.at first with mac server, apache..... but after install cold fusion and want to go to the admin page:HTTP Status 500 - java.lang.NullPointerExceptionI deinstalled the server from mac and cold fusion..after a fresh install of coldfusion 11 and use the build in server..the same error..does anybody knows the problems?I Use Java 7 Update 67A friend of me have installed it .. it runsgreetings thorsten
We are moving from CF8 to CF11, windows 2003 to windows 2008 r2 64bit, IIS 6 to IIS 7.5. When I have my code as a VD or placed in the wwwroot, in the Default website, the site works OK but when I create a new site pointing to the code,placing in a different folder, it throws an error :"The requested content appears to be script and will not be served by the static file handler."1. All the Handler Mappings are mapped OK.2. Tried re-installing ASP.NET, iisreset etc.3. Tried changing the AppPool.Please reply ASAP.Thanks & Regards,Naresh.
I know this didn't exist before CF9, and a patch for CF8, but I have yet to find where, or any documentation pointing to, where this activity is logged. Where can I find the logs showing failed login attempts to the CF admin?
Hey guysI hope someone can finally help me here after frustrating hours of trying to contact someone at Adobe who would just listen to my problem...We plan to buy the newest version of ColdFusion for our new webserver. For testing purposes we installed the trial-version of ColdFusion 11 and are facing the following problem:The first time we call any CF-web, theres a delay of 10 seconds! After that delay you can browse the webpage fluently. After an hour of not visiting the page there's the same problem again.My first try to get more information about what might cause this problem, was looking at the request with the IIS-feature "Failed Request Tracing". In these log-files I found following entry:So what can I do to solve this problem?Kind regards from SwitzerlandNico MerzPS: More information on how to look up detailed information to a slow or failed request you can find on my blog IIS-Probleme debuggen mithilfe einer Ablaufverfolgung : nicomerz.ch (german!)
I am trying to pull the names of all students who did not attend a class after 30 days. I usually do the MYsql syntax first before I write it for coldfusion. Each student's name in my meeting table is identified by an ID, studentID and meetingdate. Each studentID is also identified next to a date column showing that they were present. I would like to run a code that will identify all the students who's ID was null during the last 30 or so days as specified. I am able to run students who never came to class since the formation of the meeting table. However I am finding it difficult to specify the names of students who were not present (or null value) during a specific time span./* This code below, which works just fine, will return a list of all of the students who never attended since the creation of the meeting table*/SELECT trim(concat(name.fname,' ' ,name.Mname,' ',name.lname)) as student, name.noiid as Student_ID, sum(meeting.meestuid) as NO_CLASS, teamlt.ltfname as teamFROM
Can I upgrade directly from ColdFusion 9 Enterprise to ColdFusion 11 Enterprise without going to 10 first?For those who have done this,1. What quirks did you find that you had to overcome in your installation (I know that everyone's environment is different and produces differest results)?2. What part of your code broke for which you had to find fixes?Tips and suggestions for a smooth installation, besides following the installation document. Thanks!
I created a adobe dynamic xml form and I also created a sample cold fusion script which reads all the fields from the pdf and populates them in to a structure.<cfpdfform action="read" source= "FORM PATH" result="formData" /><cfdump var="#formData#" label="formData" />When I run this script the structure shows me blank fields.Cold fusion version is 8.Please share your thoughts on this.Many Thanks,Nav.
I've inherited a ColdFusion 10 application with an Oracle 11g backend; Windows server. I am mostly a DBA and not a ColdFusion expert. In the code for the application, they have the datasource hard coded. This means when I move it to Test I must change the datasource, upload the modules, and test. After a successful test, I have to change the datasource, yet again, upload and have it promoted to production. I seem to remember in the old application I used to support, the code was generic and the datasource depended on what server you were on; if on development, test, or production you didn't have to worry. I don't remember how this was done. What would be the best way to eliminate this hard coding and have it more automated? I know I'm probably missing something, but you all have been very helpful to me in the past few weeks, so hopefully, it's not a completely stupid question. Thank you.
Hi CFers,I have this form, and I have which send information to a web service:How I can?FORM<input type="text" name="name"><input type="text" name="cpf"><input type="text" name="inscricaoEstadual"><input type="text" name="email">WS<xs:complexType name="cliente"> <xs:sequence> <xs:element minOccurs="0" name="name" type="tns:clienteContato"/> <xs:element minOccurs="0" name="cpf" type="xs:long"/> <xs:element minOccurs="0" name="inscricaoEstadual" type="xs:string"/> <xs:element minOccurs="0" name="email" type="xs:long"/> </xs:
We are starting to upgrade from CF 9 to CF 11 and have run across several applications that are not loading the js files that the ColdFusion UI tags use from the /CFIDE/scripts folder. Has anyone run across this issue?
CF10/Win2008R2/IIS7.5. Server monitor always shows my "Template cache hit ratio" is 0%. Why? I have all profiling enabled. My template cache count is up to around 700, with a max set of 2000. Surely some of my cached templates are being hit more than once?
CF 11 gives me empty string value for #CGI.Path_Info# in all the subdirectories. It worked for CF9.This is the code i use:<cfparam name="documentsTemplate" default="#GetDirectoryFromPath(cgi.PATH_INFO)#" />And the result of:<cfdump var="#documentsTemplate#"> or<cfdump var="#cgi.PATH_INFO#"> is:[empty string]I read it was the same issue for CF10.Do you know the reason and the way to fix it? Thanks a lot
HiHopefully, some one can help me with this issue. I am trying to implement a global site and hence was looking for a way to detect user location. I do not want to use any ip2location webservice or download a database or ask for user to "share location".Anyways, I found this project. I implemented it , it detects my location correctly (US). However for my friend in Germany it is returning an empty string for Country.http://javainetlocator.sourceforge.net/. I am using jar file from here. http://sourceforge.net/projects/javainetlocator/files/ with version 2.23I am using CF 11 and my code is onhttp://roomdu.com/geolocator/PLEASE SUGGEST ME <cfset ipAddress=cgi.REMOTE_ADDR> <cfset geoLocator=createobject("component","remoteClassPath_geoLocator")> <cfset Ok=geoLocator.init()> <cfset thisLocal
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.