Questions
Recently active
How to render the included style via the CFdocument to create a PDF ?Font size, family, color, backgound color are not rendered.Is there a special syntax to make it work ?My code is :I do a cfsavecontentand put the variable in the cfdocumentthe style is in the head of the html.Thanks for any help.Pierre.
I have been trying to get clustering going but sessions never work. In a virtual machine, I have CF11 Enterprise on Windows installed. The VM was copied from a staging environment that was previously setup following the common "CF Lockdown Guide", but I don't believe we're having an issue there.I have stripped the VM down to the basics and reverted many "lockdown" changes. The CF services are setup to run as an administrator. I have two websites in IIS - one basic index.cfm site that dumps instance name, and a full site that is dumping instance name, alongside having a login and much functionality. Three instances are setup in CF Admin - cfusion, Instance1, and Instance2. Instance1 and Instance2 are both part of a cluster, Cluster1.I have tried all combinations of "sticky sessions" and "session replication", reinstalling the CF Connectors (tried both globally and per-site) and Handler Mappings each setting update. Services were restarted after each change, as necessary.I have also trie
Hello,I am encountering "[SQL0104] Token ; was not valid. Valid tokens: ). " error , when I execute below statement.Using ; (semi colon) for sql statements separation.Please let me know , how to fix it.Thanks in advance.<cfquery name="qInsertTo" datasource="dsn"> <cfloop from="1" to="25" index="i"> insert into test1(userId,firstname) values('xx#i#','fname#i#') ; </cfloop></cfquery>PS: I don't want to keep cfloop outside cfquery.
I an trying to create a revenue page,1st issue:Columns will have the days in the month - not sure how to do this without hard coding it in but would like to somehow dynamically populate this.The data will be pull from a database:https://bubbl.us/view/2788d1/5195a9/25F4oONgeDEtU&r=1719403621/2nd issue:How can i match the date entry in the database with the approriate column.There might be another way to do this which I'm open to, can't seem to wrap my head around this issue.Any input is appreciated.
Hi, I want to be able to get the value of the CodeItem from the getItem function to use for my second function getOpt. But not sure how to do it, would you lend me a hand?- Thanks<cffunction name="getItem" access="remote" returntype="struct"> <cfargument name="wo" type="string" required="yes"> <cfsetvarqResult="" /> <cfsetvarresult = {} /> <cfqueryname="qResult"> SELECT * fromsaleorders whereprodOrder= <cfqueryparamvalue="#arguments.wo#" cfsqltype="cf_sql_varchar"/> </cfquery> <cfsetresult = {CodeItem="#qResult.Code#",Description=#qResult.Description#} />
I have a report that is generated through various JavaScript asynchronous requests. We are now required to produce a PDF, save it on the server and email that report to the user using Cold Fusion. When generating PDF, Cold Fusion makes an HTTP request for the page to be printed and waits for a 200 response.The problem is the 200 response is received before all the async requests are fulfilled. Apart from rewriting the report page entirely in ColdFusion, any ideas as to how to accomplish this? That is, wait for all the async requests to be fulfilled prior to generating a PDF to be saved and emailed.Thanks!
Your assistance is appreciated. I am attempting to create a data source on server #1 that is to connect to a database residing on Server #2. Thus far, each attempt made results in an error that the database "is already opened exclusively by another user, or you need permission to view its data." Be advised that I am experienced in working with data sources when the database resides on the same server.
I have Acrobat Professional X. And I need to read a Microsoft Access Database. I don't have LiveCycle Form. Is there any way that I can connect to my database?
Coldfusion 11 does not display the ODBC driver that was created in Windows 7.Thanks,Tim
During a console install of CF 11 on CentOS 6.5, I'm getting this error:Invalid path to Apache binary (the file does not exist).Apache is installed via RPM.Apache: 2.4.3OS: CentOS 6.5 64bitPlease advise.
I have just done an install of CF 11 three times today and the password that is created during the install does not authenticate. I have read several posts, some of which date back to May 2014. Is there not a hotfix for this issue? Certainly the recommendation for changing a browser is understood as I am using IE, but still what about the hotfix?
Hi,I'm using cfgrid cfgridcolumn to display data on a page. Somehow the following code does not show the comma. Cfgrid is in html format.<cfgridcolumn name="InletFlueGasFlow_acfm" numberformat="9,999,999" header="Inlet Flue Gas Flow ACFM"> tried also with type <cfgridcolumn name="InletFlueGasFlow_acfm" type="numeric" numberformat="9,999,999" header="Inlet Flue Gas Flow ACFM"> What is a valid numberformat? The Adobe documentation for cfgridcolumn says numberformat="format" 9 Optional digit placeholder. Same as _ but shows decimal places more clearly., Separates thousands with commas. Any idea why my comma not showing? Thanks.
Is onRequestEnd.cfm mandatory if Application.cfm is defined?
Hi,Is is possible to stamp a PDF document with an outlined text, such as:If yes, what would be the arguments in the <cfpdf action="addwatermark" instruction ?Thanks,jma1338
I am currently working for a contractor for the DoD. We are maintaining a project that uses CF installed as an application through WebSphere. We are currently going through a security checklist and being asked to provide evidence that the CF application has a digital signature. From what we can gather they are looking to see that the jar file installed into WebSphere is digitally signed. We have reached out to IBM, and have received a response that digital signatures are recognized by WebSphere.Unfortunately, it seems that those that are looking for the evidence do not know much more than what the checklist requirement states. They cannot provide more details or expand on what they need. Any assistance or advice in this matter would be appreciated.Thanks,
I am a newbie at coldfusion. I need some help. My database has records that are company names as such: abc, Inc. For now I am using this query:SELECT DISTINCT COMPANY FROM ComapanyTable WHERE (Company IN (#ListQualify(form.cCompanyList2, "'", ",")#))This problem with this is that it separates the abc, Inc.SELECT DISTINCT Company FROM CompanyTableWHERE (Company IN ('abc',' Inc.','xyz','Inc.'))I need to get the list as it is, i.e. as: 'abc, Inc.', 'xyz, Inc' So that I can later insert these values into a new table.Insert code:<cfquery name="insertPair" datasource="#DSN#" dbtype="ODBC"> INSERT INTO tblChildCompanyToParent (Parent_Account_ID, Child_Account_ID) SELECT DISTINCT <cfqueryparam value = "#form.pCompanyList#" CFSQLType = "CF_SQL_VARCHAR">, Company FROM CompanyTable WHERE Company IN (<cfqueryparam value="#ValueList(insertSelect.Company,';' )#" CFSQLType = "CF_SQL_VARCHAR" list="true" separator=";">) </cfquery>Select list code<select multiple name="cCompa
I have a CF server, needs to connect to Exchange Cloud,Apparently there is no more existing IP adress.What is the way to connect the CF mail spooler to a Cloud mail.I do not have any knowledge on this matter.Thanks for help.Pierre.
I am using CF 11, IIS 7.5 and windows 7 pro. when I create a sample application using websockets I get the following results:{"msg":"ok","code":0,"clientid":40495741,"ns":"coldfusion.websocket.channels","reqType":"welcome","type":"response"}{"msg":"Channel 'stocks' doesn't exist or is not running.","code":-1,"clientid":40495741,"ns":"coldfusion.websocket.channels","reqType":"subscribe","type":"response"}can someone help me understand why I am getting the second error message.Thanks
Anyone able to edit a cfgrid in html format? It works fine if it's a java applet, but it quits working when I change the format to html. I submitted the bug to Adobe a few months ago, but I've received no response from them.The submitted cfgrid form field is corrupt
I have installed CF10 on a Windows 2012 R2 server running IIS 8.5. IIS default page displays properly but I cannot get the CF Admin page to display. I'm getting HTTP Error 500.0. I am new to this technology so the suggestions offered have not worked for me.
I am looking into moving an Oracle database to a cloud server in Microsoft Azure, Amazon Web Services or Google Clouyd Services. Are there any considerations to be aware of if I am using ColdFusion 9 or 10?
I made some changes to an cf file but they are ignored in all my browsers. I have even deleted the file from the path and that is ignored in any browser and it still shows the original file. I have tried this on 2 different cold fusion servers 9 and 10 with the same results.
This is my second day learning ColdFusion. I am able to display .cfm pages. However, when I tried to browse/load the .cfc file, I kept getting this error.Unsupported Operation. Check application log for more details.These are my simple testing codes.<cfcomponent hint="A first CFC"> <cffunction name="getValue" returntype="String" access="public"> <cfreturn "Hellow World"> </cffunction></cfcomponent>Where is the "application log" so I can check for more details?
Coldfusion flash form failed loading data. The error we got is “[Flash Remoting MX]->Request received was not Flash-based (not of the binary AMF protocol)." Please advise! Thanks!
My configuration:Coldfusion Enterprise 9.0.1 32 bit on Windows Server 2008 Web Edition 64 bit, 4Gb Ram, 2 Xeon processorsThe sites using Microsoft Access Database, randomlly, go in timeout. This is due to the fact that "ODBC Server" lock the database (in the db folder there are the .ldb file). If I restart the "ODBC Server" service, the database is released and the site works. Do you have any idea how to resolve this issue?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.