Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
Hi,I am currently running CF 2018 update 2, Build Number:2018,0,02,313961. I would like to update it to CF 2018 update 9. Can I install CF 2018 update 9 directlly or do I need to update first to 3 then 4,5,6,7,8,9.Thanks.
Hello, all, I've rarely used the 'result' attribute in a CFQUERY. But I did some looking around, and on the support page for CFQUERY, looking at what is returned I see: resultName.ROWID: Oracle only. The ID of an inserted row. This is not the primary key of the row, although you can retrieve rows based on this ID. ... resultName.GENERATEDKEY: Supports all databases. The ID of an inserted row. With ROWID, am I to understand that it returns an ID that is _not_ the auto generated key from the database (assuming that the primary key is default uuid/guid), but can be used to get the auto generated key? And with GENERATEDKEY, is this the auto generated key? Or is it like ROWID? V/r, ^ _ ^
Hello, all, We had a lead developer, here, who used CFB to generate CFCs for the database tables of a project, and actually used them. But there has been a change to the way part of this app is going to work, and it involves editing this Celtic-knot cluster to fix. Basically we are switching from using an old ID to a new ID for authentication, processing, accessing, etc. I thought that I could just remove references in code to the old ID and add the new ID, but without even testing it, I suspect I'm going down the wrong path. Any insight into how I can get this accomplished would be greatly appreciated. Basically, I don't know/understand how all of the {tablename}Dao, {tablename}Gateway, and others interact. Please advise. V/r, ^ _ ^
I have enabled Apache support on ColdFusion 2018. I can render http://127.0.0.1:8750/CFIDE/administrator/index.cfm using the built in webserver, but when I try from Apache http://127.0.0.1/CFIDE/administrator/index.cfm I get an error that the page is not found on the server. I have /CFIDE/* = cfusion enabled in the uriworkermap.properties file. I also tried enabling a virtual host Alias in the mod_jk_vhost.conf to point to the location of the administrator page. Neither works. How would I go about accessing the administrator page from Apache? Is this possible?
Hi, I am trying to export barcodes to an excel sheet using SpreadsheetAddRow. Being that barcodes are strings of numbers, the SpreadsheetAddRow seems to automatically interpret the string as a number.. e.g., Barcode = 0194112066037In excel it gets returned as 1.94112E+11 (as datatype General) Using SpreadsheetFormatCell(objSheet,{dataformat=0},RowNumber,CellNumberIn excel it gets returned as 194112066037 (without the '0' preceding the string) (as datatype Number). Using SpreadsheetFormatCell(objSheet,{dataformat="text"},RowNumber,CellNumberIn excel it again gets returned as 1.94112E+11 (as datatype Text). It seems that Excel shouldn't alter any value in a datatype text field. It's very strange. Especially considering we have not run into this issue when using SpreadsheetAddRows. ColdFusion Server Developer 2016,0,11,314546 <cfset strXLS = "C:\Example.xls"><cfset objSheet = SpreadsheetNew(" Export")>
HiWe are on CF11, upgrading to CF2018. Checking compatibility for CF2018Below code works in CF11 but not in CF2018 I get 2 alerts in CF11 one - Welcome to VB Script and another as Welcome to Javascript.but only 1 alert in CF2018 as Welcome to Javascript. Below is my .cfm page.... <script language="vbscript" type="text/vbscript">MsgBox("Welcome to VB Script")</script><script language="vbscript" type="text/javascript">alert("Welcome to Javascript")</script>
Hello, all, Just a quick question about ListMap. According to the Adobe Help page, ListMap "Iterates over every entry of the list and calls the closure function to work on the item of the list." I'm curious, though, if break will break out of the iteration. If ListMap is just a shortcut to a loop, then break would break out of that loop. But if ListMap is something else, then maybe break won't work? Just curious. V/r, ^ _ ^
Hi, in CF10 this code work perfectly but after switching to 2018 i have problems of elements not found any help plz.<cfform name="theGridForm"> <cfgrid name="theGrid" format="html" colheaderbold="yes" preservePageOnSort="true" bind="cfc:#request.stMapping.strCFC#.admin.cust_meter.getGET_CUST_METER_PER_PARAM(getBrand_name(),getModel_name(),getSerial(),getDN(),getLogger(),getCUST_DBID(),getCONTRACT_DBID(),getWORD_CONTAINS(),getWORD_WHERE(), getACTIVE(), getdate_deb(), getdate_fin(), getAREAID(), getTARIFFID(), getCUSTOMER_TYPEID(), getCONTRACT_GROUPID(), getDMAID(),getSTREET_NUM(),getDIRECT_TO_NET(),getSEPARATOR(),{cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})" bindOnLoad="no" sort="true" stripeRows="true" pagesize="10" >
Hi,The perl script runs fine from the command line but when I execute the same perl script using the coldfusion cfexecute it fails to run. It cannot find the methods/functions used in the perl script like SelectAllEditableRanges, Bookmarks, InsertAfter. The script fails whereever this functions are called in the perl script. How do I run the perl script using cfexecute. Thanks.
I'm working with the AWS Java 2.0 SDK and I'm trying to implement an async multi part upload, but I'm running into some trouble getting things set up, specifically in creating a BiConsumer Interface. Docs: createMultipartUpload(CreateMultipartUploadRequest createMultipartUploadRequest) To start this process I have to call a3AsyncInterface.createMultipartUpload() and so I create a CreateMultipartUploadRequest object and pass that object into my call: oCreateMultipartUploadRequest = createObject( 'java', 'software.amazon.awssdk.services.s3.model.CreateMultipartUploadRequest' ).builder() .bucket( ARGUMENTS.bucket ) .key( ARGUMENTS.key ) .contentType( ARGUMENTS.fileMimeType ) .build(); oCreateMultipartUploadResponse = s3AsyncInterface.createMultipartUpload( oCreateMultipartUploadRequest ); So this all works great so far. My call returns a response object of type CompletableFuture<CreateMultipartUploadResponse>, but here's whe
We got the SOAP WSDL File for PDF Assembling/Bookmark/Commenting and we are trying to consume the web service from SAP ABAP.Details:When calling the Invoke Method of the PDF Assembler, system is giving Conversion Error.The PDF Contents which are attached in the application are passed to the Invoke Method in XSTRING format. Please help on this, if anyone worked on calling the PDF Assembler web services from SAP.
When i output a google map online, my map markers from cfmaps only outputs a maximum of 10 or 11 markers of the 31 persons of whom is have addresses for. I then run the same code in MySQL it outputs all of the addresses with no issues. I there anything I'm doing incorrectly? Thanks in advance for any assistance<!--- Below is the contents of my page: location2.cfm---><cfquery name="foicontact" datasource="master">select FOIID, type, status, squadlt, trim(concat(name.fname, ' ', name.xholy)) as brother, trim(concat(homestreetaddress,' ',homecity,' ',A_state,' ',homezipcode)) as home, homeaddress2 as Unit, photo as photoimg, cellFROM nameWhere homestreetaddress IS NOT NULLAND status = 'a'</cfquery><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><
My company is looking at ways to log and trace our apps which range from Coldfusion, react, and node js applications. We want to log when pages are spent up to actions the end-user performed to errors.My question what are some of the solutions that are a standard way across the board to handle application logging?
We have just upgraded the CF2018. When we installed the new build and are having an access issue. Here is the error message below. Can someone shed a light on this? Many thanks. Message: The getArrClientReportButtonEnabled package method in the D:\Solutions\R_274_8_1-20200610145034.896\Web\Flexible\IpsPhase.cfc component cannotbe accessed from d:\Solutions\R_274_8_1-20200610145034.896\Web\Flexible\IpsPhase.cfm., Template: /Flexible/IpsPhase.cfm, Diagnostics:The getArrClientReportButtonEnabled package method in the D:\Solutions\R_274_8_1-20200610145034.896\Web\Flexible\IpsPhase.cfc component cannot be accessed from d:\Solutions\R_274_8_1-20200610145034.896\Web\Flexible\IpsPhase.cfm. <br>The error occurred on line 233.,Root Cause: coldfusion.runtime.TemplateProxy$InvalidPackageAccessException: The getArrClientReportButtonEnabled package method in theD:\Solutions\R_274_8_1-20200610145034.896\Web\Flexible\IpsPhase.cfc component cannot be accessed from d:\Solutions\R_274_8_
I see previous versions of the JDK posted at the Adobe link below, but I was wondering approximately how long it takes them to make the new version available? Adobe ColdFusion https://www.adobe.com/support/coldfusion/downloads.htmlOracle JDK 11.0.7 https://www.oracle.com/technetwork/java/javase/11-0-7-oracle-relnotes-5972662.htmlRelated security issues fixed https://www.oracle.com/security-alerts/cpuapr2020.html#AppendixJAVA
I am running on linux using Apache httpd-2.4.41, with the latest JDK and Coldfusion 2016. Everything worked great through update 13. However, after applying update 14 and after doing the wsconfig -upgrade, I now have an issue where when a user attempts to connect to a page or directory that does not exist, it displays a 403 error. In addition, I noticed that my .htaccess rules seem to now be completely ignored.When I roll back to version 13, everything works normal again. Has anyone else experienced or am I the only lucky one that is dealing with this.
Hi Team,We have coldfusion enterprise license running in one server. We are planning to migrate to another server. But during the transition time we want to run coldfusion in both servers and shutdown the old one as soon as new server is stable. Please confirm whether this is fine to use same license in both servers for some period (~30 days). Let us know. Thanks.
Hi,I am trying to generate an excel report using ColdFusion 2018 and in the excel file there is a column for email id. Instead of showing email id, it shows "[email protected]" as hyperlinked text. And if i click on the text is says "Cannot open the specified file". Is there a setting where i can see the actual email id. This is happening only in coldfusion 2018, i was not facing this in earlier version. If i generate a web report (Showing html report in table on the screen) using ColdFusion 2018, it works fine. I presume this can be resolved by some security setting and not through code as code is the same for older versions. Please find the attached screenshot, coldfusion code to generate the excel (removed unncessary code and kept only the necessary sections), excel spreadsheet generated. Could someone help me with this. I have been searching for the answer in internet and i couldn't find a single thread for this. regards
Something in CF updates seem to be changing the default behavior of URL encoding/decoding when making cfhttp calls. I first noticed the behavior after applying update 2 but the same breaking behavior exists in update 9 also so any update after update 1 is experiencing the problem. In the example, sender.cfm just makes a cfhttp get call to receiver.cfm where it is processed. Sender.cfm is a Windows 10 dev box running IIS 10 though I have reproduced the issue with the built in web server also. sender.cfm (CF 2018, update 1)<cfhttp method="get" url='http://example.com/receiver.cfm?q=bacon %26 eggs'></cfhttp>receiver.cfm (any version of CF)q = bacon & eggs sender.cfm (CF 2018, update 2 - 9)<cfhttp method="get" url='http://example.com/receiver.cfm?q=bacon %26 eggs'></cfhttp>receiver.cfm (any version of CF)q = bacon %26 eggs I'm trying to identify why this occurred, whether it was a core change in CF or some other library, a CF adm
Hi All,I am using Coldfusion 2016 enterprise on Windows 2012 Sever.We are facing some issue for cfhttp : Cant Connect to SNI enable server using cfhttp We are getting Error like below : I/O Exception: Host name '<ThirdPartDomain>' does not match the certificate subject provided by the peer (CN=<ThirdPartyDomain>, O=XXXXXX, L=XXXXXX, C=XXXX) Please help me.Thanks in Advance.
Hi all. I'm a long tme CF coder, but have never used Fusebox. Now I have a new codebase to maintain that uses Fusebox, and I'm in need of getting up to speed quickly on it. Does anyone know how to tell which version of Fusebox my application is using, so I can get some books for the right version ordered and on the way while I dig in? I see that numerous files in the application begin with fbx_fusebox30... Does that necessarily designate Fusebox 3.0? Thanks!
Hi,We have received a report from our security scanner contractor (SSC) who is testing our application for vulnerabilities with new warning as per subject "Insufficient session expiration". The user logged on to application concurrently two times with the same user credentials. Both sessions are using Chrome and, one of the session is Incognito window. Then, after changing password in one of the sessions (non incognito), the application logged the user out and redirected to login page.The security requiremets as per SSC, all the sessions opened for the user must be logged out.Is it possible? We are using CF2016 on Windows Server 2008 R2.CF is configured to use J2EE session.I tried different methods to invalidate/delete the session and, nothing seem to work for both sessions. Only one session is logged out. Our logout function is using following to delete a session:<CFSET StructClear(SESSION)><cfcookie name="CFID" value="" expires="now"><cfcookie
I'm hoping someone could shed some light. We're testing Redis as session storage. It works just fine, but we're running into an issue where the keys are not properly expired by Redis - they basically just fill up the store. I think the problem is that the keys don't have an expiration? Greatly appreciate any insights. We're on CF2016, SP7.
Considering the following HTML:<!DOCTYPE html><html><head><title>Page Title</title></head><body><ul><li>normal text</li><li style="text-indent: 4em">another text</li><li style="text-indent: 4em">some other text</li></ul></body></html>It renders in my browser (and WYSIWYG editor) like this:But it renders in the PDF produced by both cfdocument and cfhtmltopdf like this:Any ideas for what I can do to get it to render consistently in the PDF? Thanks in advance, Leighton
ı made a form but ı must show all sum nettotal money under of the table.How can ı do it?help please.for exp:the under of nettotal it will be write 100.000 like that.<cfparam name="attributes.keyword" default=""><cfparam name="maxrow" default=20><cfparam name="attributes.start_date" default=""><cfparam name="attributes.finish_date" default=""><cfif isdefined("attributes.form_submitted") and isdefined("form.maxrow")><cfquery name="GET_SALES_EMP" datasource="#DSN#" maxrows="#form.maxrow#">SELECT inv.INVOICE_DATE,inv.INVOICE_NUMBER,inv.TAXTOTAL,inv.OTV_TOTAL,inv.OTHER_MONEY,inv.COMPANY_ID,inv.PARTNER_ID,inv.NETTOTAL,E.EMPLOYEE_NAME,E.EMPLOYEE_SURNAME,sc.IS_ACTIVE,sc.SUBSCRIPTION_HEADFROM [WORKCUBE_TEKNOTEL].[WORKCUBE_TEKNOTEL_2019_1].[INVOICE] AS invleft join [WORKCUBE_TEKNOTEL].[WORKCUBE_TEKNOTEL_1].SUBSCRIPTION_CONTRACT as sc on inv.PARTNER_ID=sc.PARTNER_IDleft join [WORKCUBE_TEKNOTEL].[WORKCUBE_TEKNOTEL].EMPLOYEES as e ON e.EMPLOYEE_ID=inv.SALE_
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.