Questions
Actividad reciente
when return implicitly declared array from inside a CFIF with a CFELSE will cause an incorrect return value.in the code below, function test4 will return 0,0 on CF2016 with applied update 12. other server with applied update 6 returns 2,0. function test3 is identical except it has no else statement, works the same on both. <!--- works as expected ---> <cffunction name="test3"> <cfargument name="a1" type="string" required="true"> <cfset var x = 0> <cfset var y = 0> <cfif a1 gt 1> <cfset x += a1> <cfreturn [ x, y, "", "" ]> </cfif> <cfreturn [ x, y, "", "" ]> </cffunction> <!--- doesnt work ---> <cffunction name="test4"> <cfargument name="a1" type="string" required="true"> <cfset var x = 0> <cfset var y = 0> <cfif a1 gt 1> <cfset x += a1> <cfreturn [ x, y, "", "" ]> <cfelse>
I must not be using the right search terms because this has to have been asked before. I missed a hotfix release because i was not paying attention in april. do i need to apply the april hotfix AND the june/sept one or does the september one supercede June and april? I am not sure why this might change between versions and that's why i didn't specify a coldfusion server, but if it does, I'm still in CF 11. I know it's out of support. We are still trying to get approval to upgrade the server to either 2016 or 2018, but at the moment, i just need to get patches up to date with hf 19 and i'm wondering if i need to install 18 first, or if 19 will supercede 18. Thanks
We are running CF2018 Update 3 with external web server (Apache) and we are getting ready to update the server to Update 5. I understand that I’ll have to upgrade to Update 4 before we go to 5. I was reading through documentation (https://helpx.adobe.com/coldfusion/kb/coldfusion-2018-update-5.html#Connectorconfiguration) and it says that we have to “Recreate Connector”.After upgrading to Update 5 I ran the connector and got message that it was already configured:[root@server1]# ./wsconfig -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf/ -vcommand line: -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf/ -v This web server is already configured for ColdFusion. Do we have to run wsconfig just to make sure mod_jk.so gets updated? thanks
formrequiredexample.cfm: <cfsilent> <cfparam name="form.userName" default="" /> <cfparam name="form.favcolFULL" default="" /> <cfparam name="form.visitFULL" default="" /> <cfparam name="form.age" default="" /> <cfparam name="form.height" default="" /> </cfsilent><!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Required Form Field Example</title> <style> #thisTable{width: 500px;} .leftTD{width: 200px; text-align: right; vertical-align: top;} .rightTD{width: 300px; text-align: left; vertical-align: top;} input[type='text'], select{ width: 95%; } </style> </head> <body> <cfoutput> <form id="thisForm" name="thisForm"> <table id="thisTable"> <tr> <td class="leftTD">Name: *</td> <td class="rightTD"><input type="text" id="userName" name="use
ı want to some data input to my programs.But some fıle ,users must enter data.for exp name.how can ı do it wıth coldfusıon code? Thank u.
UPDATE (10/10/2019): We’ve have now included binaries for 32-bit versions of ColdFusion. The locations are also updated. Users who had installed Update 5 of ColdFusion (2018 release) and Update 12 of ColdFusion (2016 release) encountered an error after they'd tried accessing the ColdFusion Administrator using their connector port. The issue was reported by a few users that it might impact all their websites. This issue appears if and only if you access the ColdFusion Administrator using the web server port. We strongly recommend that you access ColdFusion Administrator only using the internal web server port (port 8500) without exposing the port externally. However, if you still want to use the connector port, use these patches provided for your version of ColdFusion: ColdFusion (2018 release) ColdFusion (2016 release) Unzip the files to any location in your computer. To apply the patch, follow the steps below: IIS Navigate to [CF Home]\config\wsconf
Hello community. I have to run a script to retrieve emails from an IMAP account.Everything is working as expected using the CFIMAP tag.However, since emails are not regularly deleted from this account, it is taking very long.Is there a way to limit my "getall" action to unseen emails only? Thank you in advance.
Hi there,I use the url attribute in cfchart for drill down. Drill down doesn't work if there is a stand alone data point in the line series. Here is a simple example: ThanksCF2018 update 4
I an using Cold Fusion 2016 Enterprise Edition on a Microsoft Windows 2016 server and IIS. We do alot of file transfers to printers that are running Solaris Unix via SFTP using the CFFTP secure="yes" option. On certains system the SFTP portion hangs infinitely, or errros out with a auth timeout. This only occurs when Cold Fusion is running with a AD domain account, and does not occur if I run Cold Fusion with the local system account. I've tried using both Key/passphease and username/password to login. Has anyone come across this issue before, and is there a fix? I am currently running Cold Fusion 2016 using the local system account however the security implementaiton guides I need to follow state that I should be running the service with domain account. CFFTP Code using: <cfftp action="open" server="#ip#" connection="foo" secure="yes" username="#username
Hello, I want to connect CF2018 with the Outlook installed on my CF server, because i want to save the send email as an .MSG file. But i get following error on init the object. <cfobject type=".NET" name="objOutlook" class="Microsoft.Office.Interop.Outlook"> Class Microsoft.Office.Interop.Outlook not found in the specified assembly list.The assembly that contains the class must be provided to the assembly attribute. Any help? thx
I have a report that compares one figure against the total of several figures and compares them. If they are the same, they print in black. If the one figure is more than the total of the several figures, the output prints in red. If the one figure is less than the total of the several figures, the output prints in green. (The CF file is attached as a docx.) The report currently outputs 49 pairs of figures. Eight of those pairs, in all cases of which the figures are the same, print in the wrong colors, three in red and five in green. The other 41 pairs, comprising several in all three possibilities, print correctly. Any ideas? Thanks. -Dale
Hi, I am not being able to use LIMIT and OFFSET in query of queries. queryExecute("SELECT * FROM baseQueryResult(obtained after querying database) WHERE CONDITIONS LIMIT 10 OFFSET 0",{},{dbType="query"}) returns Database exception.
Hi All,Trying to do a single sign on from my site to another site using JWT.Found this library:https://github.com/bennadel/JSONWebTokens.cfcMy code from my cfm page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<a href="<a href="http://www.w3.org/TR/html4/loose.dtd" target="_blank">http://www.w3.org/TR/html4/loose.dtd</a>" target="_blank"><a href="http://www.w3.org/TR/html4/loose.dtd</a" target="_blank">http://www.w3.org/TR/html4/loose.dtd</a</a>>"> <html> <head> <title>Login</title> <cfscript> payload = { userId: "myUser", userDir: "LDIR" }; jwt = new cfcDir.JsonWebTokens().createClient("HS256","./cfcDir/server.pem", "./cfcDir/server_key.pem"); token = jwt.encode( payload ); </cfscript> <cfheader name="X-Qlik-Session-jwt" value="#token#"> <cflocation url="<a href="<a href="https://myDomain.net/jwt/hub/" target="_blank">https://m
I must take time format like that : YYYYMMDDHH24MM SS How can ı do it at coldfusıon code? Help please 😞
I have installed cold fusion 2018 on CentOS7, as Server Configuration (Production Profile + Secure Profile) with default Sub-components and servlets, using default install dir, and default Built-In Web Server Port. I followed this guide here, installing on a fresh new clean server / instance of linux.https://www.adobe.com/content/dam/acom/en/products/coldfusion/pdfs/coldfusion-2018-lockdown-guide.pdf When I got to section 5.4 I could not get the SSH tunnel to work. When I run the following command:[root@server ~]# systemctl status cf2018.service -l I get the following result:● cf2018.service - Adobe ColdFusion 2018 Loaded: loaded (/etc/systemd/system/cf2018.service; enabled; vendor preset: disabled) Active: active (exited) since Mon 2019-09-30 10:12:16 HKT; 1 day 4h ago Main PID: 2285 (code=exited, status=0/SUCCESS) CGroup: /system.slice/cf2018.service Sep 30 10:12:16 server.ewc-asia.com systemd[1]: Started Adobe ColdFusion 2018. Sep 30 10:12:16 ser
I'm setting up CF 2018 (with Update 5) and am having an issue - it seems that "Enable Null Support" option in CF Admin does nothing. I have some API results that can return null values - eg; json {"FirstName":"Fred","LastName":null, etc} and when I cfdump the struct it has "undefined" as the value for LastName (after doing a deserializejson()). In ColdFusion 9 (which I'm porting over to 2018), the value for LastName shows as "null". My issue is that in CF2018 when I try and access this variable it throws an error "Variable LastName is undefined". It doesn't seem to make a difference if you check the box for "Enable Null Support" or not in CF Admin. I've tried selecting it, un-selecting it, even restarting CF after each update. Is this a bug? I'm using CF2018 with Update 5 (version 2018.0.05.315699). Any ideas?
Hello, all, Look.. I get it.. I've been a developer for 19 years, now. I know that to a computer, 1 = true = yes, they are all the same from a boolean point of view. But from a string perspective, they are not. So, when I create a switch/case statement to evaluate a URL parameter, <cfcase value="true,yes" delimiters=","> should be valid. I should not get an error message that "cfswitch has a duplicate cfcase for value 1.0". A user might use ?myparam=true or ?myparam=yes. (This is to trigger an update event, btw.) And what is with the "Email me when someone replies" defaulting to checked??? I went into settings to disable this and it's apparently not working. I'm sick and tired of getting home from work to see five hundred emails from Adobe telling me that someone replied to a thread I'm participating in. Gads, I miss the days of Jive. V/r, ^ _ ^
I'm seeing this message in my application log after submitting a form with blank "required" fields. This is happening on a new install of CF11 with lockdown guide measures taken. Can someone tell me how to fix it? "Error","ajp-bio-8014-exec-2","09/26/19","22:12:03",,"Exception thrown by error-handling template:""Error","ajp-bio-8014-exec-2","09/26/19","22:12:03",,"File not found: drive:\C11\cfusion\wwwroot\WEB-INF\exception\coldfusion\filter\FormValidationException.cfm The specific sequence of files included or processed is: drive:\C11\cfusion\wwwroot\WEB-INF\exception\coldfusion\filter\FormValidationException.cfm'' Thanks,S
I have been trying to download the Adobe ColdFusion trial. It keeps on taking me to the form (https://www.adobe.com/products/coldfusion/download-trial/try.html) and then just sends me to this page, https://www.adobe.com/products/coldfusion/download-trial/get-started.html, without a download. If anyone could help that would be awesome.
Hi All, We have released an update for ColdFusion 2016 and ColdFusion 2018 with 90 external bug fixes, Language Enhancements and many more. We now have support for Java 12 and MySQL 8, this release also has security fix. Topic Link ColdFusion 2018 Updates Release Notes https://helpx.adobe.com/coldfusion/release-note/coldfusion-2018-updates-release-notes.html ColdFusion 2018 release Update 5 Tech Note https://helpx.adobe.com/coldfusion/kb/coldfusion-2018-update-5.html Bugs fixed in ColdFusion 2018 release Update 5 https://helpx.adobe.com/coldfusion/kb/bugs-fixed-coldfusion-2018-update-5.html ColdFusion 2016 Update Release Notes https://helpx.adobe.com/coldfusion/release-note/coldfusion-2016-updates-release-notes.html ColdFusion 2016 Update 12 Tech Note https://helpx.adobe.com/coldfusion/kb/coldfusion-2016-update-12.html Bugs fixed in ColdFusion 2016 release Update 12 &n
sample code :<cfscript> myQuery = queryNew("id,name,amount","Integer,Varchar,Integer", [ {id=1,name="One",amount=15}, {id=2,name="Two",amount=18}, {id=3,name="Three",amount=32} ]); writeOutput("The new query is:"); writeDump(myQuery);</cfscri
[UPDATE - The following is a very long thread. If you tire of reading all the updates, see our update below from Sep 28, 2019 for the resolution.] The compilation below is the entire conversation Adobe deleted (how convenient) when moving to the new forums. Unfortunately, the original links to those how posted are not live, but you will be able to read the entire conversation. If you want to see the original post in the old Adobe forums, here it is - not sure how long the link will live. But the text of that original post and the many replies to it are offered below: Original Post Checking in to see if anyone else out there is dealing with Adobe bait and switch based on havingan application developed in CF that other businesses use? We were sent a questionnaire earlierthis year under the guise of getting a "better deal" for our existing 3 perpetual Enterprise licenses.As a result of what was clearly a bait and switch tactic, Adobe is now claiming we are
Every time I restart the coldfusion serives I have to go back into the dsn setting for each datasource and retype the password also a deleted dsn keeps coming back. Can anyone help , this is getting anoying.
I'm trying to use ORM to CRUD some change logs. I already have a pretty simple table structure that would require 2 joins. I've created entities for both of the joined objects. I'd like to fetch change logs with these objects populated. I already have the tables. I don't have or want any official foreign keys setup; I just use the "_fk" convention to indicate it references the PK of another table. change_logs --------------- change_log_id change_log_type_id_fk message user_id_fk change_log_types ---------- change_log_type_id name users ---------- user_id name ------------------component entityname="ChangeLog" accessors="true" persistent="true" table="change_logs" { property name="id" type="numeric" column="change_log_id" fieldtype="id" generator="native"; property name="message" type="string"; property name="type" column="change_log_type_id_fk" cfc="ChangeLogType"; property name="user" column="user_id_fk" cfc="User"; } component entityname="ChangeLog
This is an age old question, and we're currently using an age old version (CF9), upgrading soon. I'm a developer of 25 years but have only been using CF for about 8 mos. I have to get data from two different datasources and join them together. Outer join, of course. I've read many topics on this. I had originally done this by looping at a query of the main table and selecting from a query from second table. My supervisor & former CF programmer doesn't want us to use a loop/select. They first suggested a UNION of the two tables but that's not giving me the results I need. I thought of selecting from one table then inserting them into a temp table on the second datasource but when I try to do an insert into the temp table then selecting from the query of the first table, CF tells me I can't do that either with error "Executing the SQL statement is not allowed."Any suggestions on correct ways to outer join tables from two datasources w
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.