The official community for ColdFusion.
Recently active
I have function that should save some form fields. This function is able to process multiple insert rows. So far I was able to create logic to handle this but the only issue so far I have once user tries to save the record. The server response looks like this:The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. coldfusionAt first I was looking and trying to find which value is not defined/missing in my function but so far I couldn't detect the issue. The next thing I did was commenting out the cfquery. After that I was getting message Form successfully saved.. This tells me that my code is breaking inside of the cfquery tag. Here is example of my code:<cffunction name="saveRecords" access="remote" output="false" returnformat="JSON"> <cfargument name="formID" type="string" required="true" default=""> <cfargument name="status1" type="st
Hi,I recently installed a wildcard SSL certificate on our domain artgalore.ca.Soon after, I started to get support emails from customers to say they could no longer access the site because of a 403 error, as seen below. When I turned off my anti-virus software, I was able to access the site. I searched a couple of forums for specifics, nothing seems to be working.Any help is appreciated.Arny
Hello, all,While still hoping for a fix from u15, we have applied u18 to one of our servers in production and are now getting the following:"Diagnostics: The ValueList() function has an invalid parameter: getarchiveyears.articleYears. Parameter 1 of function ValueList which is now getarchiveyears.articleYears must be pointing to a valid query name.The error occurred on line 323."Earlier in this document, we have:<cfquery name="getarchiveyears" datasource="#application.newsdsn#" cachedwithin="#CreateTimeSpan(0,0,10,0)#"> SELECT DISTINCT TO_CHAR(TitleDATE,'YYYY') articleYears FROM news_2016 WHERE TO_CHAR(TitleDATE,'YYYY') > '2009' ORDER BY articleYears DESC</cfquery>So, there's a valid query, named (oddly enough) getarchiveyears.The line
Good Afternoon,I am a Systems Engineer and need some help. Whenever I disable TLS 1.1 on the ColdFusion 2016 server (running on Windows 2008 R2 Operating System), I can no longer communicate with the SQL Server and receive the enable TLS 1.0 and TLS 1.1 error message instead of the web page.For Security reasons, we want all communication to be on TLS 1.2. Once I disable TLS 1.1, I cannot even load a webpage on the local ColdFusion Server without receiving the TLS error.I have asked the Developer to update the SQL JDBC Native Drivers, the CF 2016 Server is using native SQL Server driver v2011.110.7001.00 dated 8/15/2017.The java version CF 2016 is using is jre 1.8.0_191.The SQL 2012 Server is using native SQL Server driver v2011.110.7462.06 downloaded on 1/6/2018. SQL Server 2012 Management Studio version is 11.0.7462.6.From what I have read it keeps pointing me back to the native SQL drivers. I have ensured the Windows side of the servers are 100% up to date with all applicable Windows
I installed the developer version on Windows 2008 R2 with IIS 7.5.I ran the web connector to connect IIS 7.5. I see the new mappings in IIS so I'm assuming the connector worked ok. My problem is when I try to access the CF administrator. I can still only access it using the built-in web server url of http://127.0.01:8500/CFIDE/administrator/index.cfm.Once I run the web connector to connect to IIS, should the administrator be running out of IIS instead of the built-in web server?
If have some code that sets multiple Locales --><cfset currentlocale = SetLocale("English (Canadian)")><cfset currentlocale = SetLocale("English (UK)")><cfset currentlocale = SetLocale("English (US)")>In-between these different settings I have #LSCurrencyFormat(GetTotal.TotalValue)#This displays the currency and the appropriate currency sign.The question I have is how would I do this for Europe as I now have a need to support Euro'sThanksMark
Hello,I need to take the value submitted in a form and add 99 to it. I first tried:<cfset channel.type = 'Form[P#c#Channel]' + 99>That failed since the form value is a string not a number.Then I tried:<cfset channel.type = LSParseNumber('Form[P#c#Channel]') + 99> and got Form[P1Channel] must be interpretable as a valid number in the current locale.How can I change the submitted value to a number that I can perform addition on?Thanks!Gary
Hi,We migrated from CF10 to CF2018 and our CFSCHEDULE tag will not now add a task. Our code is simple, just: <cfschedule action="UPDATE" task="test" group="test" operation="HTTPRequest" startdate="#DateFormat(Now(), "mm/dd/yyyy")#" startTime="#TimeFormat(DateAdd("n", 2, Now()), "HH:mm")#" url="http://127.0.0.1/test/somescript.cfm" interval="once">Whatever we try, the task is never added to the CF-Admin. No errors in the logs. The /test fo
In my application.cfc file I have the following code:this.mappings["/includes"] = "#expandPath('../../priv/inc/')#";and then on a page I have the following CF include set up:<cfinclude template="/includes/imageOptimise-thumbnail.cfm">For the majority of the time when the page is submitted the imageOptimise-thumbnail page runs without any issue but occasionally it will error saying that it can't find the imageOptimise-thumbnail.cfm. If I resubmit the page, chances are it will work but the question is, why is it sometimes not being able to find the page?I had a look in the CF Admin and I can't see anything in the logs saying that there was an error but it is clearly showing a Coldfusion 'template not found' error message when it fails.Anyone got any ideas?
Has anyone found a fix for this? Using the Eclipse plugin version of CFBuilder 2016, when I select a few lines and hit TAB it can take up to 30 seconds in a big CFC to indent. It is ridiculously slow!! I end up going line by line and tabbing but thats getting old. Why is this happening? Its starting to make CF Builder unusable for me. Anyone find a fix?
I have tried just about every release of CF Builder since inception. I downloaded CFB2018 and am giving it a go. First issue, no matter where I look I see no ability to increase the size of the buttons in the toolbar. They are WAY too small. I find it impossible to believe that there is no way to enlarge them, so I must be missing the setting somewhere.I cant find anywhere to enable code hints. I know people are sick of hearing the comparisons to HomeSite, but there absolutely MUST be a similar feature to right click on a tag and see code hints, etc. If it is not currently available you need to do a demo of HomeSite to the folks who create CF Builder.I am trying to introduce CF to a new client and Adobe is making it a VERY difficult sell.
Hello,This is my first venture into webhooks. I am trying to read a response from ChargeOver and insert it into a database. For now, I am just dumping it to a txt file to see what it looks like. My current code is:<cfset HTTPRequestData = deserializeJSON(ToString(getHTTPRequestData().content))><cfdump var="#form#" output="C:/webhook.txt">The webhook is posting something like this:{ "context_str": "package", "context_id": "556", "event": "status", "data": { "package": { "terms_id": 2, "currency_id": 1, "external_key": null, "token": "ozevrx738b02", "nickname": "", "paymethod": "inv", "paycycle": "yrl", "bill_addr1": null, "bill_addr2": null,...etcMy webhook.txt file sh
Hi,I've updated our ColdFusion 2018 from update 1 -> to update 3 sucessfully, the instances are running and working.The instructions for this update said to recreate the apache mod_jk24.so so I recreated the connector by following these instructions manuallyColdFusion Apache manual connector configurationI've used the /cfdisk/coldfusion2018/cfusion/runtime/lib/wsconfig/connectors/apache/intel-win64/prebuilt/mod_jk24.soHowever I'm getting apache error when I tried to test the apache[admin@cfserver1 1]$ apachectl -thttpd: Syntax error on line 358 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf/mod_jk.conf: Cannot load /cfdisk/coldfusion2018/config/wsconfig/1/mod_jk24.so into server: /cfdisk/coldfusion2018/config/wsconfig/1/mod_jk24.so: invalid ELF headerso I reverted the mod_jk24.so to the earlier version (ColdFusion 2018 Release 1)We are running CentOS Linux release 7.5.1804 (Core), httpd x86_64 version 2.4.6 Release 80.el7.centos.1, Coldfusion 2018 Release 3
We are currently using ColdFusion 10 and would like to find when the CF10 product is expiring. Do we need to upgrade to the new version if so what version of ColdFusion do you recommend? Thanks.
Oracle wants to start charging a fee for the tomcat we use. Will the new fees from oracle on Java effect ColdFusion or the updates?
I decided to upgrade my local developer edition to CF2018 from CF2016. I uninstalled CF2016 and then installed CF2018. I went to move the files from the Coldfusion 2016/cfusion/wwwroot directory to the new installation as I did previously when upgrading from CF11 to CF2016, I found that only a log folder remained. Did CF delete my files on uninstall? Any way to get those back?
When toolbar="Default" doesn´t show the option input text.With toolbar="Basic" is make. Look the image.
So,Wanting to apply the latest CFv11 patches due to all the press coverage about security problems being exploited in the wild I visited the patch download page at ColdFusion 11 updates but when I pull down patch 18 and run an MD5 checksum the result I get is NOT what's listed on that page.I have downloaded a bunch of the previous patch files and run the same check (openssl md5 <filename> in case anyone thinks I'm doing it wrong) and they all match what's printed on the download page. It's only patch 18 that doesn't match.I'm trying to find out if that's a mistake by Adobe or there's some sort of corruption of tampering with the hotfix18.jar file.Any help appreciated as this is holding up patching for security.
We have ColdFusion 8 installed and wonder if we should be concerned about the new March 2019 security vulnerability. If yes, what steps do we need to take to secure our system?
I have ColdFusion 2018 Standard running on Windows Server 2016. 'Enable Performance Monitoring' is checked in the CF Admin, and the counters show up in Windows Performance Monitor.However, the only actual activity that shows up is when I hit the CF Admin interface web page (Page Hits/Sec, Running Requests, etc.) which is setup under the 'Default Web Site' site. No activity is shown in the Performance Monitor for any of the other sites on this server.Any ideas?
Is there a DW equivilent to the "standard toolbar" in CFB2, because I am looking for a way to put the most basic editing commands of Undo/Redo/Copy/Paste and do not see a way to add these to a visible toolbar. All I see is I have to click the Edit menu, then select the command I want. I will be really disappointed if I cannot include basic commands like this on a toolbar. Please don't tell me about keyboard shortcuts, I know they are there but I like to have the visual buttons up on my toolbar, too. Save All and Word Wrap would be another command I current have on a DW toolbar but can't see how to customize this in CFB2. Am I missing something?
Hello,I have a coldfusion page which I am including a number of css and .js files (in the header). To increase the load spreed of a page, it is always recommendedto include script files after css files. This works fine for all other .js files, however not for any CFIDE srcipt files - I have tried including the <cfajaximport> tagbelow all the css files, however the CFIDE scripts always get loaded above all my css files. This has a causes render-blocking issues and I was wonderingif anyone knew a way around it ...ie, a way to arrange the load order of CFIDE scripts ?Thanks,Ryan,
I am using CF 2016. I am trying to follow this articleColdFusion Help | Generate Swagger documents When I browse to where the documentation should exists I getHTTP Status 404 – Not FoundI do everything as in the example. Proper name for rest service (service mapping) and all.How can I make this work?
A couple weeks ago we began noticing weird character suddenly appearing the From field of some emails, this after Update 8 for CF2016 had been applied. I rolled back to Update 7 and was able to see the accented character correctly again. I applied Update 9 this morning, thinking maybe it would address the issue but no luck. Hoping now someone on here may have the answer.Local CF 2016, Update 9 running on a Windows 10 using CF's built-in server (no IIS or Apache)Page encoding is set to utf-8 and I've tried it with and without the charset set in the cfmail tag as shown below.<cfset FromField = """#GetPoster.FirstName# #GetPoster.LastName#"" <support@*****.com>"><cfmail to="#ToField#" from="#FromField#" subject="HelpDesk - Request #SRNr#" charset="utf-8">With update 9 installed (as well as 😎 the From field appears to mess up the characte
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.