Questions
Actividad reciente
Hi,I installed CF update 7 on CF2021 boxes and it breaks our webService signin. I tried rolling back and than fixes. I re-installed and it breaks so I am pretty sure that this is an issue with update 7. Note The full stack trace of the root cause is available in the server logs. The error turned out NOT to have anything to do with CF update 7
Very strange issue - just installed CF2021 Update 7 on production server. For some reason the printer info isn't displaying?
We ahve a COldFusion (CF) application with a MS SQL Server Databases, and for formal reports we are using SSRS. We we want to maintain a single user login to SSRS (for administrative/maintenence ressons the server admins do NOT want to create Acrive DIrectlty accounts for all website users). The problem is, users are advertently locking this one account due to their repeated misentering of the one account's credentials, which ic requiring us to repetedly call the server administrator to unlock that one account.The solution we are looking for is for ColfFusion to log into SSRS with that one account whenever a user logs into the website so when they open an SSRS report they are already loggid into SSRS and essentially circumvent the SSRS Login dialog.Any assistance with developing/implimenting this 'Behind the Scened' process would be greatly appreciated.
I am using multiple subdirectories each with applicaiton.cfc and unique application name. Users are being redirected from one directory to another by using <cflocation>. I am declaring all variables on <cffunction name="onApplicationStart" returntype="void"><!--- Create application variables ---><cfinclude template="includes/variables.cfm"><cfreturn /></cffunction> But almost 30% users experience this type of error (variable is different all the time) Element IAE.PATH.URLROOT is undefined in APPLICATION.Element IAE.PATH.INCLUDES is undefined in APPLICATION.even these variables are already defined in variables.cfm.
hi, I am using multiple application.cfc in subdirectories. All have unique names and unique application variables. but randomly server is generating error logs in application.log about random application variables not found. There is no specific time or variable. Sometimes everything is working fine on the user end and suddenly it crashes and if we refresh the after a minute or two it works fine.
Hi ,Please let me know how to display a default .cfm file after user logs in to the application . And user should be taken to the login page when he/she logs out. Please let me know how to write logic for this. My application.cfc is , <cfcomponent><cfset This.name = "USERS"><cfset This.Sessionmanagement="True"><cfset This.loginstorage="session"><cfset This.sessiontimeout="#createtimespan(0,0,10,0)#"><cfset This.applicationtimeout="#createtimespan(5,0,0,0)#"><cffunction name="onApplicationStart" returntype="boolean"> <cfreturn True></cffunction><cffunction name="onSessionStart"></cffunction><cffunction name="OnSessionEnd"> <cfargument name = "SessionScope" required=true/> <cfargument name = "ApplicationScope" required=true/></cffunction><cffunction name="OnRequestStart"> <cfargument name = "request" required="true"/
Hi,I have a login page Login.cfm for which I have written code in application.cfc's onRequestStart method,<cffunction name="OnRequestStart"><cfargument name = "request" required="true"/><cfif IsDefined("Form.logout")><cflogout></cfif><cflogin><cfif NOT IsDefined("cflogin")> <cfinclude template="Login.cfm"> <cfabort><cfelse> <cfif cflogin.name IS "" OR cflogin.password IS ""> <cfoutput> <h2>You must enter text in both the User Name and Password fields. </h2> </cfoutput> <cfinclude template="Login.cfm"> <cfabort> <cfelse> <cfquery name="loginQuery" dataSource="tdweb">&n
We've recently upgraded from CF11 to CF2023. During testing of CF2023 on our development server, we didn't find any issues (other than the dateformat:DD update). However, after we moved to production, we found that FileRead (and FileWrite as well) is issuing a 500 error if called from a remote CFC invocation - either via url or $http (AngularJS) request. This doesn't happen on the development server. If FileRead is called from a .cfm, it works fine. If the remote CFC is using cffile(action='read'), it works as well. The only two commands where we are seeing this happen is FileRead and (after subsequent testing) FileWrite. The FileRead does read the file, and the CFC returns the contents back to the calling processing, but then CF appends the 500 error on to the request result. Likewise with FileWrite - the file is written, but then the return request yields a 500 error. The image below is an example of the testing the fileRead process. Any insight would
Hi, I'm getting 404 error when running the coldfusion application. I'm having a simple coldfusion project with just one file(index.cfm) inside it. I'm using VS code along with CF Builder extension. For the web server I'm using IIS. Please find attached is the error page below:Here is my project structure in VS code:And an image of my IIS:Please help. I'm very new to coldfusion. Thanks.
Hello,Our current CF developer has suddenly resigned and I am tasked with getting up to speed with their CF environment to provide, what I would call bandaid support. I am attempting to find a download for CF 2021, to create development environment on a PC. However, all I am seeing on the Adobe website is downloads for CF 2023. How does one go about trying to download previous versions of Coldfusion?Thanks
I have the ColdFusion application development server running on my local machine, which I use to back up and test a site managed by a third party. This site uses default.cfm in every directory instead of index.cfm, which the server doesn't recognize. In other words, navigating to a directory brings up a listing of the directory's contents. How do I configure the CF server to recognize default.cfm as an index page?
Hello Team, Looking to start putting up maintenance page for our Produciton deployments. For users already on site, other than kicking them off by stopping CF Application Server or severing DB connections. Is there anything in CF Admin ect I can see active connections? / files? close gracefully? ty Jose DuenasLead Systems Admin
Hi, Could you please elaborate how many ways are there to call a CFC function from a .cfm page? And I have one more doubt. Can I create a cfc function without creating a cfcomponent? Thank you.
Hi, I'm using Coldfusion 2023. I use VS Code (ColdFusion Builder extension). I'm getting this error continuously ,Selected file is not in the document root of the server. If the project is not in the document root, create a linked folder to the document root ( selecting Project manager > Add Linked Folder ). Please help.
<CFFILE ACTION="READ" FILE="C:\inetpub\wwwroot\synonyms\Words.txt" VARIABLE="myList">Each line of mylist contains Title with 5 related synonyms:Abandon: Desert,Forsake,Leave,Quit,AbdicateAbate: Diminish,Decrease,Reduce,Lessen,SubsideAbhor: Hate,Detest,Loathe,Despise,ExecrateAbility: Capacity,Skill,Talent,Expertise,Proficiency Okay, here's my code that does not work:<cfloop list="#myList#" delimiters=":,"><cfquery name="qinsert" datasource="LESSONS">Insert Into English_Words(Title, SYN_01,SYN_02,SYN_03,SYN_04,SYN_05)values('#Title#', '#SYN_01#', '#SYN_02#', '#SYN_03#', '#SYN_04#','#SYN_05#')</cfquery></cfloop>The result should actually ook like the table screenshot above.I manually added the screenshot columns in the table just to demonstrate what I am trying to do. The text file with the synonums will contain about 1000 TITLE entries, obviously too long to enter manually, and I will need to add more later.But no matter what I try there's always
I currently use ColdFusion for my site and I'm running into this issue. Even after removing the outdated Universal Google Analytics code from both the codebase files and the server, multiple browsers on different computers still interpret this obsolete code when using the Inspect Element feature. Surprisingly, the browsers fail to recognize the newly implemented GTAG 4 code that I have replaced it with. I have ensured that the old code for Universal Google Analytics has been completely eliminated and is not referenced by any component. Even visitors who have never accessed my site before encounter the same issue with the presence of the outdated analytics code. It appears that ColdFusion, despite the absence of Universal Analytics on the server, is somehow unable to detect the new GTAG 4 code. This puzzling situation has left me unable to identify the root cause.
After upgrading our development environment to ColdFusion 2021 from ColdFusion 2018, we've found that there's a change in how debugging information is shown at the bottom of a development page. This change is in regards to custom debugging pages, where the custom debugging pages are created and located at cfusion\wwwroot\WEB-INF\debug. After the custom debugging page is created, it can then be set in the ColdFusion Administrator, Debugging & Logging > Debugging & Logging > Select Debugging Output Format, as well as having the options for the the default pages of classic.cfm and dockable.cfm. When an error occurs, the custom debugging page works correctly. But, the problem we're finding is when you want to display all debugging information at the bottom of a development page - that no longer works unless you choose the Debugging Output Format of classic.cfm. Has anyone else run into this? Does anyone know if there's a new setting someplace t
If you were looking for a challenge, here it is. I have two servers with the same version of CF and Java running on each. On one, cfdump works fine all the time, on the other, it doesn't work at all. Guess which one is the production server. Even the simplest cfdump call fails - I've included the full text of an error - Maybe there's a clue in the trace I can't decipher. Is there some administrative setting I'm missing? Anything would be helpful - advice on what to try next...? Both servers running Version 6,0,0,58500 Edition Professional Java Version 1.3.1_03 Windows 2000 (OS v 5.0)
Hi Team, Could you please help me with connecting Coldfusion 2023 with PostGres? I don't know what driver Jar file and other files needed to be copied and placed in the coldfusion directory.
I'm in the process of trying to migrate from Coldfusion 2018, to Coldfusion 2021. And after what seems like a successfull migration, I am encoutring weird behavoir for cfincludes.The code in the .cfm file, that is included, is written out as plain text to the webpage, this being a cfquery, and the tag and contents of a cfscript-tag.The code itself worked when on Coldfusion 2018, so this is probably due some setting I have not set, but I could not find anything.
I am trying to create a cfhttp request to our Cisco ISE API server to retrieve endpoint devices in groups. The api is only able to return 100 devices per page and one of the groups has around 15,000 devices in it. When I run a cfhttp command for one response page on a CF page it gets a response within 300-500ms. I then tried creating a loop that would increment the page in url of the cfhttp request 10 times so in theory returning 10 pages of data or 1000 devices worth of data. When I run the cfhttp in a loop, there tends to be requests that fail with a response of connection failure: bad_record_mac. I am running the page in a Coldfusion 2021 Update 6 server with JDK 11.0.11. This being ran on a developer build on my local machine but similar issues show on our development server which is an enterprise build. Things I have tried:- Downloaded cert from https site using chrome and inserted it into keystore (currently removed as it didn't seem to change anything when added)- Adde
We are trying to build a coldfusion environment on aws using the AMI. I can't use the quick launch feature so we are using terraform and calling the API. It gets created and I can see coldfusion running on the ec2 instance but it seems like there are loads of things that aren't created in the provisioning. The current state of what we have done is :1, Created an ec2 ( ubuntu ) instance and completed the base confgiuration, and verified coldfuion and fusion reactor are running. We can't get to the admin console.2. An ALB was created to direct traffic to ports 80 and 443 but they aren't running because the ami doesn't install apache/nginx...We have our own structure for our vpc, alb, route53, and aurora db that we build and all the security groups are created accordingly. The problem is when we go to the route53 address and try to access the ColdFusion administrator it doesn't load. It also doesn't seem to allow the ebs volumes that are supposed to be created by the ami are created.
I'm working on a project to migrate a number of legacy CF10 applications to a Windows auto-scaling environment in AWS.I'm trying to find out if this is a supported configuration, and if so, what type of licensing we would require.The plan is to create a base server image (AMI) for the application. This base image would be used in an auto-scaling group to launch as many VM (EC2) instances as required to support the current load.We can configure the minimum, and maximum EC2 count for the group, and configure the instance type used and vCPU count. However in AWS obviously we wouldn't have any visibility or control over the physical servers used to run the EC2's.Any assistance would be greatly appreciated.
Hello,I have to replace the analytics.js snippet with the gtag.js snippet for our site. I've reached out to google several times and I get no response or a response that doesn't address my questions.After looking through documentations I believe we have to install tag into our code, if so where would I do this?https://developers.google.com/analytics/devguides/collection/gtagjsThen, it asks to migrate it by following this https://developers.google.com/analytics/devguides/migration/ua/analyticsjs-to-gtagjs#analyticsjs_2_gtagjsbut what exactly would I change on our ColdFusion file (code below) to match this : https://developers.google.com/analytics/devguides/migration/ua/analyticsjs-to-gtagjs#analyticsjs_2_gtagjsI'm not familiar with this. Please help.This is our google analytics cfm file:<cftry> <cfparam name="Request.sTrackFunnelStep" default=""> <script> window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create','TAD_ID','aut
I've read the documentation and I'm currently attempting to migrate to gtag 4, everything seems to be captured by GTM except the purchase event. Below is the code I implemented, could this be a global object issue? Perhaps other third parties code I have are interfering with it in the global object? <script> window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create','UA-9075829-1','auto'); ga('require','ec'); <cfoutput> <cfif Variables.bTrackReceipt> <cfloop query="qOfqCart"> ga('ec:addProduct', { 'id': '#courseid#' ,'name': '#JSStringFormat(coursename)#' ,'category': 'Course' ,'brand': 'My Store' <cfif unitprice EQ unitdiscountprice> ,'price':'#unitprice#' <cfelse> ,'price':'#unitdiscountprice#'
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.