Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
This popped up with CF8. I am using Ben's ImageDrawTextArea, which I have been using on CF8, CF9 and Railo. Now that I ponied up for my nice new CF10 server, this code no longer works. I have tried everything from copying the fonts into the JRE/Fonts directory to trying to use plain ole Arial.When I run the code I throw the following error:Unable to find font: Serif.Any thoughts or solutions to try?Thanks!- Robert
Coludfusion version: 2018Goal is to manipulate images when given x and y coordinates from clients for adding text(s) and e-sign or thumbnail images onto parent image without comprimising the resolution (pixels) and dimenssions of the image. I tried all different image functions available with no much luck.Looking to find solution either by using third party tool, upgrading coldfusion version or purchasing add ons to coldfusion engine. Does any one has any suggustions?
Hello, while running below command - getting error - “java.lang.NullPointerException” Please see attachment of screenshot queryExecute ("SELECT * FROM test WHERE id = :id", { id=1, cfsqltype="cf_sql_integer" },{ datasource="creditapp" });
Today we've been seeing a lot of long load times that eventually error out any place we're using the storeSetACL() function for S3 files. The error is "Error in STORE Operation". This code has worked for years so I'm assuming this may be an AWS thing? Anyone else having issues? For instance, after saving a file to S3 we do something like:<cfset storeSetACL("s3://#awsCreds#ourBucket/#dirpath#",S3permObj)>
I am trying to create reports in Stripe but their examples are PHP. I've had success with all their other functions I'm just stuck on reports. The PHP example is: POST /v1/reporting/report_runs // Note that a live-mode API key is required. \Stripe\Reporting\ReportRun::create([ 'report_type' => 'balance_change_from_activity.itemized.3', 'parameters' => [ 'interval_start' => '1577865600', 'interval_end' => '1580544000', 'timezone' => 'America/Los_Angeles', ], ]); My code looks like: <!--- Data related to call ---> <cfset stripe_api_key = 'sk_live_XXXXXX' /> <cfset stripe_api_url = 'https://api.stripe.com/v1/' /> <cfset report_type = 'payout_reconciliation.summary.1' /> <cfset Interval_Start = #DateDiff("s", DateConvert("utc2Local", "January 1 1970 00:00"), Start)# /> <cfset Interval_End = #DateDiff("s", DateConvert("utc2Local", "January 1 1970 00:00"), End)# /> <cfset timezone = 'Ameri
Probably a stupid question, but I can't open cfm files properly. For example, the text of the file: "<cfinclude template="header.cfm"><p>Welcome to my website on ColdFusion cfinclude usage!</p><cfinclude template="footer.cfm">" outputs:"<cfinclude template="header.cfm"><p>Welcome to my website on ColdFusion cfinclude usage!</p><cfinclude template="footer.cfm">"instead of"This is the headerWelcome to my website on ColdFusion cfinclude usage!This is the footer"Tried to open in different browsers, ColdFusion installed. What could be the problem?
Hi All, Currently my CF application running on windows server , Cf version 2021 and database Oracle11g. Now my application moving from Azure servers with same coldfusion 2021 and Oracle 19c. Do I need to change the coldfusion configuration setting or any changes in Cf administrator ?Please help me what are the necessary changes are required to do in coldfusion side while moving from WINDOWS server to AZURE servers Thanks..
I am updating ColdFusion 9 to 9.0.1, I followed all the steps mentioned in https://helpx.adobe.com/coldfusion/kb/cumulative-hotfix-4-coldfusion-901.html. Then followed instructions on https://helpx.adobe.com/coldfusion/kb/change-coldfusion-jvm.html. Copied MSVCR100.dll from C:\program files\java\jdk1.7.0_21\jre\bin\ folder to CF9\runtime\bin. Changed the config.jvm to Java.home=C:/Program Files/Java/jdk1.7.0_80/. It worked correctly but still my ColdFusion server is displaying the JVM Version 1.6.0_14. Secondly, Still the administrator version is 9,0,0,251028. On running jRun I found out this Ignoring invalid file in updates directory: chf9010004.jar
I'm attempting to use the native driver for my datasource on AZURE. When verifing, I get[Macromedia][SQLServer JDBC Driver][Macromedia][SQLServer JDBC Driver]Attempted connection to the secondary server <HOST>:11000 failed.When I use the JDBC driver from microsoft, I do not have this issue.Any suggestions on how to configure the native driver to resolve this error? I've tried matching the JDBC connection string in the additional settings, but still get this error with the native driver. Thanks!
I was sent a patch to solve a particular problem, which I installed. Then I was sent another patch and told to uninstall the first one and install this one instead. How do I uninstall the first patch? I see no uninstaller.jar in the hf-updates directory for the first patch I installed. Thanks. -bg
hello,I am trrying to setup SSO with a ColdFusion 2021 application and Azure SSO - does anyone know of a guide?I am running into the problem where is seems I get stuck in a loop on the Idp side (azure)I think the problem is where I am using the certificates. 1) do I have to figure out how to extract the public key from the cf keystore and where exactly do I need to past the cert obtained from the Idpin the sign or encrypt section of the idp configuration on the cfd side this is the errorError Message: The Message of the Response is not signed and the SP requires it
Auto Lockdown adds a few RedirectMatch rules to prevent accessing certain parts of your install when securing an Apache install. A few of the regex's used in these rules are too generic. For instance:RedirectMatch 404 (?i).*.svn.* RedirectMatch 404 (?i).*.git.*The unescaped period and lack of a leading directory separator makes these rules too generic. In particular, the .git expression matches a common words like digit or digital. These were added with the 2021 lockdown tool I downloaded on October 11th and I'm not sure how long they've been added.
I am using ColdFusion 9 Enterprise edition and using CFHTTP to send data to consume an API for SMS services, but I am getting the following Error I/O Exception: peer not authenticated. My Code <cfhttp url='https://sms.itpark.pk/api/sendsms' method='POST' multipart='yes' result='res'> <cfhttpparam type="header" name="username" value="03xxxxxxxx" > <cfhttpparam type="header" name="mask" value="ITPARK" > <cfhttpparam type="header" name="password" value="00xxxxxxx" > <cfhttpparam type="header" name="to" value="92300xxxxxxx" > <cfhttpparam type="header" name="from" value="92300xxxxxxx" > <cfhttpparam type="header" name="message" value="Some Message" > </cfhttp>What I Tried:I've Googled and searched and tested all possible solutions. Even Installed the Certificate of the service provider, tried changing the JVM but ColdFusion 9 won't start. Tried to follow the instructions on adobe
Coldfusion 2018, Linux serverThis is on our development site but was working until last week. We've googled and see this is not uncommon and tried the suggested solutions such as creating a mapping, which seems the most popular, and a few others but nothing seems to fix the issue.The development machine is shared so each developer is mapping their CFCs to their own unique location and each application has a unique name even on the same server, a hash is involved. When we create the Create the object<cfobject component="/#APPLICATION.cfcroot#.Security" name="sec"> It seems to find the Security CFC because the error is on the "extends" attribute which is set to a CFC called Authenticate.<cfcomponent extends="Authenticate" accessors="true" output="false" persistent="false"> It can't find the Authenticate CFC which is in the same directory and throws the error, "Could not find the ColdFusion component or interface var.www.html.mark.financeonline.account_ser
I'm trying to report this so the online docs get corrected:On the page:https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-r-s/cfschedule.html#There is an error: The misfire attribute used to accept "fire_now", but after CF2018 it's "firenow"This page is still telling users to use fire_now, which will result in an error.
Hi Coldfusion communioty. i am trying to write mobile app that uses camera. I have taken CFML code from Adobe website :https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-mobile-functions/camera-functions/cfclient-camera-getpicture.htmland trying to run it using emulator as well as web browser but facing javascript errors:"Your client-side CFML code has encountered an initialization error. The required plugins cannot be loaded successfully within the timeout period"I have coldfusion 2021 Standard edition installed on my local machine.Someone please help me running the code given on above mentioned URL. Whats going wrong, not sure. Your client-side CFML code has encountered an initialization error. The required plugins cannot be loaded successfully within the timeout period.
Hi,Would like to know is it possible to have multiple sort in array of structuresIn other words,is there any equivalent function for multi_sort like in php?For example,in the below product color information,want primary sort using product style column and secondary sort using its color. ie,if same product has different color,sort again using color as below.AA6040~~redKP155~~LimeKP155~~OrangeTried using arraySort as below,but seems it can be used to sort using single key.<cfscript>local.ary_styleInfo = arrayNew(1);authors = structnew();authors= {style = 'KP155',color = 'orange'};//writeDump(authors);arrayAppend(local.ary_styleInfo ,authors);authors = structnew();authors= {style = 'KP155',color = 'Lime'};//writeDump(authors);arrayAppend(local.ary_styleInfo ,authors);//2authors = structnew();authors= {style = 'AA6040',color = 'red'};//writeDump(authors);arrayAppend(local.ary_styleInfo ,authors);writeDump( local.ary_styleInfo );//sortarraySort(local.ary_styleInfo, function (e1, e2){r
I just upgraded a server from ACF 2016 to ACF 2018 and I started receiving a strange java.lang.ArrayIndexOutOfBoundsException error message on some Query of Query (QofQ) statements. What's strange is that the exception only occurs when I have SELECT * in the statement. When I actually specify the columns by name, the exception goes away. Unfortunately I can't replace the issue on www.trycf.com because I need an actual database query to start from. Here's a simplified example of a query that throws the exception: <cfquery dbtype="query" name="tempInvoices"> SELECT * FROM invoices </cfquery> Replacing it with the column names (or this), fixes the issue: <cfquery dbtype="query" name="tempInvoices"> SELECT #invoices.columnList# <!--- I can also list out the columns and it works ---> FROM invoices </cfquery> The exception looks like this:Has anyone else encounter
Existe-t-il une option pour que la fonction supprime les accentués (exemple : Ê pour E) ?Merci par avanceIs there an option for the function to remove accentuates (example: Ê for E)?Thanks in advance
Recently our team decided to implement a secure session management. It is very similar to the guidelines mentioned in the article.Session Management Guide CFML Documentation (cfdocs.org) However, the hash stored in the cookie is not immediately updated. ie when CF reads from the cookie to verify it, it still holds the old value and logs the user out. It doesn't happen often but randomly. Especially when we there's multiple user actions in quick succession. Has any one implemented a solution similar to this? The code has been made thread safe by encapsulating in cflock block. Please advice.
Hi,We need to support currency values that are configurable to allow up to 6 decimal places regardless of the currency. Is there any way to disable or modify the rounding that is applied by lscurrencyformat? thanks,Mark
Hi there,Just as a FYI we have to use CF10 for a specific application we use and we are not able to upgrade this to a later version. Last week the email notifications stopped being sent out from CF, the error from the log is below. Nothing has changed on the servers. "Error","scheduler-0","11/18/21","08:07:37",,"javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake" Despite not having the Java auto update enabled it appears that this updated last week to version 8 update 212 (build 1.8.0_212-b10) I have spoken to someone one who believes that the issue could be caused by Java depricating some certificates and hence why the Remote host is closing the connection. They suggested that I replace the mail.jar in CF with javax.mail-1.6.2.jar to resolve the problem, but I just do not know if this will work or if I am going to break my CF. I should add
Howdy, We have purchased Cold Fusion 2021 and transitioned to the new production server on AWS.We cloned the production server to use as a development server, which should be permitted under the license.Since it is a clone, the development server has the same license ID, but usage is listed as Production. How do I alter the licensing on the development server so its use is listed correctly?Thank you.
Ok, this is strange. Maybe because I'm darn tire. But anyway...I have a simple login script that checks stuff and then if successful logs them in via setting session variables into the session via a struct like so:<cfset session.user = {} />I then set all my other user specific stuff in this struct. That's straightforward...and when I dump session.user...it shows the data. However, if I refresh the page, this session variable disappears. If I simply dump "session" then I see the usual CFID and CFTOKEN stuff. So session is enabled and ready, but why then does it disappear?I have done stuff like this before so I really can't see what's happening. The session timeout is also set to 30 minutes in the Application.cfc so that shouldn't be it.My CFC code is below.Many thanks,Mikey.==================================<cffunction name="authenticateUser" returntype="void" output="true" access="public" displayname="authenticateUser"> <cfargum
I did a colfusion upgrade from CF2016-11 to CF2016-17 and after that I noticed that the line separator in JVM settings has changed from Chr(10) to Chr(36). I believe this is causing issues when I try to view a file and it has the \r\n at the end of each line wth no line breaks. Also few of our menu options is showing this in the screeen too ($\r\n) How do we change the Line Separator in settings from Chr(36) to Chr(10) like it was before - We are running CF in Linux RHEL env. Any help is very much appreciated. Thanks Sajan
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.