Questions tagged [coldfusion]

ColdFusion is a server-side rapid application development platform, implementing the dynamic general purpose CFML programming language. Please include CFML version, OS, and web server in questions.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Changing webroot in coldfusion doesn't serve static content from correct folder

I updated my coldfusion 2023 developer edition on windows 11 pro webroot by editing server.xml to the following: <Context path="/" docBase="C:\inetpub\wwwroot\test-2-1" WorkDir=&...
Patrick's user avatar
  • 2,514
2 votes
1 answer
60 views

Coldfusion + Docker: The sqlserver package is not installed

I am trying to get Coldfusion and Docker to work on my Windows machine. I am using the following docker-compose.yml: version: "3.7" services: sql: image: mcr.microsoft.com/mssql/server:...
csber3's user avatar
  • 197
0 votes
1 answer
54 views

Coldfusion Mongo Db

after ColdFusion 2021 Hotfix 12, my MongoDB code stopped working. In another environment, ColdFusion 2021 with Hotfix 10 is installed, and I don't encounter this issue in the test environment where I ...
Aytekin Şahin's user avatar
-3 votes
0 answers
44 views

Trying to integrate CHAT GPT with my coldfusion app [duplicate]

I am using th following code from my research online, this is sample code form Adobe providing example cf code to integrate wirth openAI Here is the original link from adobe community https://...
Claudio's user avatar
0 votes
1 answer
80 views

Dynamically created jQuery Tabs on ColdFusion Pages

I hope you can offer some advice on this. I have used multiple jQuery Tabs on ColdFusion pages in the past, but for the first time, I need to dynamically create multiple tabs based on the name of a ...
Mr Jackson's user avatar
0 votes
0 answers
56 views

How do I use multiple sort criteria in cfdirectory list?

I know that cfdirectory has a tag for sort, and if I have sort="DateLastModified DESC", it works. If I have sort="Name DESC", it works. But if I have sort="DateLastModified ...
Todd K's user avatar
  • 73
1 vote
1 answer
66 views

logic issue with compound ORs in an IF statement giving unexpected results

This is written in CF, but I don't think that's the issue. Although, I maybe wrong, I've been staring so long, it has my head all twisted. The general idea is if the data structure is undefined or if ...
Jim Babcock's user avatar
0 votes
0 answers
48 views

How to intercept submitted form data (MasaCMS)

I would like to ask you if there is any way to intercept submitted form data similar to mura contacts as $.event('formfield') does not seem to work for me (returns null). I get only values for url ...
asimkon's user avatar
  • 945
0 votes
1 answer
54 views

FW/1 How to set up multiple layouts

I want to have two different layouts for my site. default.cfm site wide layout, and in the admin section admin.cfm for the layout. Creating admin.cfm in /layouts and navigating to admin.index does ...
spacerobot's user avatar
0 votes
0 answers
82 views

Having problems accessing json output to update jquery function

This is a bit long. Thank you guys in advance. Am building a live chat app. Am stuck at how to inform the customer that the agent is currently typing a message. I have 3 ColdFusion scripts to do this: ...
Foxlon's user avatar
  • 21
-1 votes
0 answers
44 views

ColdFusion redirect to new server

I inherited a coldfusion project running on CF MX6 and windows server 2003. I am migrating the project to CF2023 and Server 2022. How do I redirect the old server traffic to the same file on the new ...
Jordan Petrus's user avatar
1 vote
1 answer
38 views

upload throwing file does not contains a file error

I have a very simple code which uploads the file <form method="post" action="upload.cfm" enctype="multipart/form-data"> <table> <tbody> ...
Dunn's user avatar
  • 21
0 votes
1 answer
65 views

ColdFusion 2018 connecting via secure ftp to remote server

We've been connecting to a remote sFTP server now for a couple years using the username and password they provided, as well as setting secure=true in the cfftp parameters. They're now telling us that ...
Steve's user avatar
  • 2,856
1 vote
0 answers
41 views

ColdFusion - Vonage Inboud voice api call Answer Webhook CURL - issue with ncco object can't send multiple response to text to speech

I am successfully able to recive inboud call on my webhook and it works nicely i got the automated voice of below text it is working good. however i am getting "Unexpected content type: text/html;...
user3215061's user avatar
1 vote
1 answer
72 views

Coldfusion server not starting after reboot, error is "JDWP unable to get necessary JVMTI capabilities". Anyone seen this?

After a recent windows system update mandated by our corporate systems team, my local Coldfusion 2018 server quit working. Since 2018 recently went out of support, I updated to CF 2023. That wouldn'...
Keith Hooker's user avatar
0 votes
1 answer
74 views

ColdFusion: how to access dynamic column names

ColdFusion 2018. I ran a pivot query in Oracle that generated following column headers. I need to output result of this query into html table. How do I access these column headers?
epipko's user avatar
  • 479
0 votes
0 answers
33 views

CFOAUTH in CF2021 - Can't get the result because of the redirecturi

I'm using CFOAuth to call a custom authentication created by another team. It works but the problem is I can't retrieve the result because of the redirect. I know it gets back to the redirecturi page ...
spoony's user avatar
  • 21
1 vote
0 answers
39 views

Coldfusion - runAsnyc method not allowing the instantiation of Beans

My basic example errors with a null point exception error. This error only manifests when we instantiate the basic bean. Is there some sort of restriction on instantiating beans in Async? Coldfusion ...
user1002794's user avatar
0 votes
1 answer
76 views

Coldfusion alternative to evaluate() to return a value from a query dynamically

I am stuck trying to work out the correct notation to use instad of the evaluate() function. Let me try and explain: I have a several components: tasks.cfc, risks.cfc ...etc each with their respective ...
James's user avatar
  • 11
2 votes
1 answer
85 views

Sorting an array of structs by 2 keys

I have the following data : arTicker = []; arTicker[1] = { "vid" : 100, "symbol" : "apple" }; arTicker[2] = { "vid" : 101, "...
CFNinja's user avatar
  • 3,623
-1 votes
1 answer
62 views

Coldfusion 2021 with Microsoft Exchange 365

i would like to make a connection over microsoft 365 online with cfexchangeconnection to get my emails but I have tried everything and it returned error 401 Is there anyone was successful using ...
Mike Savoy's user avatar
0 votes
1 answer
79 views

How do you add a Login with Steam button to a coldFusion website?

I'm writing a game related website that requires me to know users' Steam IDs, so it seems like the best approach is to just use a "Login with Steam" button that I see on other websites to ...
Nicholas's user avatar
  • 2,002
-1 votes
1 answer
73 views

Coldfusion Layout Page [closed]

Is it possible to create layouts with ColdFusion? I want to automatically include footer and header sections on any page I add to the project, without using cfinclude. because this is not true. '''' ...
Aytekin Şahin's user avatar
0 votes
0 answers
44 views

Setting Title in PDF from coldfusion [duplicate]

I have the following code in a coldfusion website. <cfoutput> <cfdocument format="PDF"> <html> <head> <title> ABC123 ...
ffejrekaburb's user avatar
1 vote
1 answer
52 views

How do you tell files apart in the output from getPartsArray?

We have some Coldfusion pages that accept files, and we're using some code on the target page to process those files, starting with this: <cfset tmpPartsArray = caller.form.getPartsArray() /> ...
Nicholas's user avatar
  • 2,002
0 votes
3 answers
77 views

Use Coldfusion array as a counter

I am using a two-dimension Coldfusion array as a counter to keep track of different number of occurrences. However, I am finding it is taking a long time to process due to the large array declaration....
Jack's user avatar
  • 863
-4 votes
1 answer
115 views

Create Copy To Clipboard In ColdFusion [closed]

I am working an internal ticketing system for IT positions. What I want to know is if there is a way in ColdFusion (CFML/CFScript) that provides the user with the ability to click a button and copy to ...
Michael Braley's user avatar
3 votes
1 answer
64 views

How to apply a time limit to a web service call in ColdFusion?

I'm working on a system that calls an external web service to obtain data. It appears that when something fails in the web service, the caller is left hanging and the template never ends. There is a ...
John P's user avatar
  • 97
2 votes
1 answer
105 views

How can I prevent ColdFusion from saying a defined variable is undefined?

In our CF code, inside a larger page/application, we have a block something like this (minus the dumps to the page - they are logged to a DB table): <cftry> <cfparam name="session....
Nick Petrie's user avatar
  • 5,404
2 votes
1 answer
82 views

Hex object in CF

I am trying to convert some java code (below) to Coldfusion but am running into an error Variable HEX is undefined How can I create a Hex object in CF? <cfset input='{"id":7,"...
gabriel's user avatar
  • 354
2 votes
0 answers
56 views

ColdFusion Builder debugger - Expressions - "The variable is not defined" bug. Is there a patch/solution?

When I use ColdFusion Builder debugger and I try to look up the value of a variable in the "Expressions" window CFB is telling me that The variable is undefined. when it is clearly not the ...
Vanity Slug - codidact.com's user avatar
1 vote
2 answers
129 views

Display loading image while loading Coldfusion page

There are many solutions to display a loading image while a web page is loading. However, when I inserted Coldfusion codes, it stopped working. I found one set of codes using javascript: These are ...
Jack's user avatar
  • 863
0 votes
2 answers
61 views

Function Gets Timeout Error. Is There A More Efficient Way To Rewrite This Function?

This CF Function is getting a timeout error. It's executed in a page that has more stuff going on. Is there a more efficient way to rewrite this function? <cffunction name="GetTheSerialNumber&...
FSUKXAZ's user avatar
  • 95
0 votes
1 answer
67 views

How to initiate Java Aspose Barcode in ColdFusion [closed]

Jar placement - Aspose.BarCode.jar and servlet.jar files have been placed under the ColdFusion Instance as per Aspose site for word Jar path: ColdFusion2016\Instance-1\wwwroot\WEB-INF\lib Code The ...
Anil's user avatar
  • 3,732
0 votes
0 answers
181 views

Chart.JS - stacked bar chart

I have successfully created a Stacked bar chart in Chart.js, the only issue is there are tags(with the specific amount of counts/numbers that each portion of the stacked bar has. Does anyone know the ...
Gabriel Wilkins's user avatar
1 vote
1 answer
230 views

How to configure PDF Service Manager so it verifies and I can use cfhtmltopdf?

We're attempting to use in our development environment, running CF 2021 Enterprise on Windows, but running into some road blocks. When I attempt to use the <cfhtmltopdf> tag on a page, the ...
mykaf's user avatar
  • 1,030
1 vote
0 answers
82 views

Coldfusion Problem with decrypting: Unsupported parameter: javax.crypto.spec.IvParameterSpec

I'm trying to decrypt a message using java objects through Coldfusion 2021. First I created a java class which works totally fine, and added the jar to the javaPath setting of coldfusion, but it didnt ...
Miguel Pinto's user avatar
1 vote
3 answers
114 views

Why are large file uploads working only under specific circumstances?

I'm trying to increase the maximum file size to 500 MB for uploads on an application on my ColdFusion server. I've made ColdFusion administration and IIS changes, but when I upload a 437 MB .zip file ...
agarnreiter's user avatar
0 votes
1 answer
77 views

Coldfusion onApplicationStart or? [closed]

I am running to an issue I want to set some application variables after the onApplicationStart() When I am trying it to call a cfm page at the end of the onApplicationStart() it give error like it is ...
Mike Savoy's user avatar
2 votes
1 answer
105 views

Coldfusion Query of Query runtime error, Casting to type NULL is unsupported

As a proof of concept, I'm trying to convert an array of structs into a query object, so that I can query it using SQL and query of query. I'm able to convert the array of structs into a query object ...
Cmaso's user avatar
  • 1,093
0 votes
0 answers
101 views

How can I Remove HTTP Status 404 – Not Found error message from Apache Tomcat/9.0.68

I am working in Lucee coldfusion and in there I am using Framework one (FW1) framework and in framework one we got a functionality using which we can route URLs and is working fine as well in Adobe ...
Shashank's user avatar
5 votes
2 answers
202 views

ColdFusion 2023 FileRead throwing a 500 error

We have recently gone through the process of upgrading from CF11 to CF2023. On our development servers, everything seemed work as expected. However, after installing on our production server, we have ...
snackboy's user avatar
  • 624
0 votes
1 answer
63 views

trying to make some code dynamic using some custom coldfuison

Hi I have this code in html <div class="rating-star-wrap"> <span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" ...
Nondo's user avatar
  • 1
0 votes
0 answers
44 views

Coldfusion tmpCache in auto scaling group/multiple instance

I was using some functions inside C:\ColdFusion2018\cfusion\tmpCache\CFFileServlet on my Coldfusion, however after moved the setup into auto scaling group, when there is >1 instance/server ...
Yong Cai's user avatar
  • 143
0 votes
1 answer
44 views

How is aws console able to provide a way to download an RDP file but I can't on my local intranet?

Intranet website. I have a web page using Coldfusion/Lucee/CommandBox displaying a list of servers. Next to a server is an icon that is linked to a verified working RDP file. If I double-click ...
HPWD's user avatar
  • 2,230
2 votes
0 answers
146 views

Coldfusion 2021 calls wrong overload method on org.apache.poi.xssf.usermodel.XSSFSheet object

The following code stopped working when ported from Coldfusion 2018 to Coldfusion 2021 (Update 6), it was tested on Windows and Apple OSes. Can you help me to find out what's causing the error? The ...
Paolo's user avatar
  • 21
1 vote
1 answer
135 views

How to correct this SQL Injection on a ColdFusion site?

There was an automated review of the code for a small internal website my company created, and I've been asked to fix the detected vulnerabilities. How do I go about correcting this? The original ...
MrPeriodical's user avatar
1 vote
1 answer
80 views

Does Coldfusion stop logging errors when cferror is used?

Recently, the application log for Coldfusion in CF Admin was helpful in showing me pages where sql injection has been attempted on a site. It would say that there was invalid data, show the page, the ...
Cmaso's user avatar
  • 1,093
1 vote
0 answers
45 views

Google API Autofill doesen't work when modal

technologies used: coldfusion, jquery. Hello as the title says, i'm trying to implement google API on a modal, the error i'm encountering is the following: Uncaught ReferenceError: google is not ...
Andrea Chiari's user avatar
0 votes
0 answers
261 views

PDF Fonts that support Japanese/Chinese Characters (𣘺) &#144954;

I am currently working on an application which generates PDF's. However Some of the Names to be displayed are in both Japanese and Chinese. The problem I ma facing is the currently as I have it I can ...
brenketsu's user avatar

1
2 3 4 5
283