The official community for ColdFusion.
Recently active
I am trying to use a mapped drive with cfftp. I've changed Coldfusion to run as the user with the mapped drive access in services. This works:localfile ="c:\foo\bar.txt" This doesn't. I get an error (The system cannot find the path specified). localfile ="m:\foo\bar.txt"To see if it was a cfftp issue I tried:<cfset dir = DirectoryList("c:\") /> <cfdump var="#dir#"> <cfset dir = DirectoryList("m:\") /> <cfdump var="#dir#">M returned an empty array. Any suggestions? Thanks!
As technical lead working in an Agile deployment shop. I am having challenges demonstrating thatthe upgrading to paralelle Dev /UAT/Prod and External hosting will not work in a phases approach becauseof mixe d env/sync issues. (timing issues) Needs to happen very quickly.Can't really upgrade entire dev/decommision, go on to UAT ........ Please let me know if i have lost it. We will NOT be able to upgrade Dev and expect to promote to UAT/Prod and Hosting server in a phased approach. New CF 2018 has new Java Version etc. (Code/impact analysis as we documented needs to be done) Due to our agile deployment methodology. Changes from Cold Fusion get promoted to UAT/Prod and Hosting some times daily. As you stated no Freeze for week or 2 may not be possible. Not to mentionour current way from Interface DB perspective all runs through DEV (No landing server) Again would be mixed Env out of sync, challenges not sure could work. Linux/Oracle perspective. We
HiI'm trying to call a web page using cfhttp. The url works fine and returns XML when called directly from the browser (any browser) but fails with the following error message when called from a .cfm file using cfhttp:structCharset[empty string]ErrorDetailI/O Exception: peer not authenticatedFilecontentConnection FailureHeader[empty string]MimetypeUnable to determine MIME type of file.Responseheaderstruct [empty]StatuscodeConnection Failure. Status code unavailable.TextYESSymptoms: It's a secured url (https) so I've attempted using the port 443 (which I verified with the vendor) and a plethora of other combinations of parameters. I was reviewing past errors like this via Google searches on different CF forums where they stated that the solution was either a bug fix from Adobe or that you needed to download the security certificate onto your own server, but all of those references were to CF9, and I'm running CF10. I've been able to use CFHTTP on other SSL protected sites and the respon
Hi all, I have a problem generating pdf files.I use Coldfusion 2016 update 11 and <cfdocument format="PDF"> to generate a pdf document. If I set pageheight to 2.5 centimeters, I got this error:The valid size must be equal to or greater than 2 inches (5.1 centimeters). There are some limits in pagesize? Thank you very much
Hello, all, I've got a problem that is compounded by the pandemic because almost no one who has permissions to see what I need to see are in the office. smh Okay, so until recently we were running CF11. SOLR collections were working great. Then we upgraded to CF2016. The issue that I'm having exists only in staging - production seems to work fine. In staging, we have a kind of AUA. A question is asked via form input, validated, sanitized, placed into a database, then the database is reindexed so that the new question will be available for future searches. But, whenever anything is done that involves the use of the SOLR collection (indexing, searching, etc.), I get an error message: "{SOLR collection name} doesn't exist." Now, it appears in the CF Admin, and when you open Services on the server, everything CF is running; including the Add-On service. The 'cfusion' user has full rights to the root of the webserver, and
In ColdFusion2018 administrator, on the server updates page, the available updates are listed but there is no "download" or "download and install" button to click (on any of the available updates).
I have noticed an annoying problem with the scheduler.Everytime you edit a task it sets the start date to the current day no matter what the original start date was. This could be a problem especially if you have a monthly task that runs on Sundays and you edit it on a Tuesday and you forget to modify the start date. Surprise, it would now run on Tuesday I suppose. I don't like surprises. Has anyone else experienced this?My Cold Fusion Version: 2018.0.02.313961 I'm planning to apply the latest update and just see if this is addressed. I'll update this post with any findings.
Hello, all, I was just giving some thought to encryption, and considered something. But I don't know how to do it, and I'm wondering if it's even possible. Is there a way to bring CF jCrypt to the client? Hear me out. In a MITM attack, the malicious actor gets in between the client and the server, with the client encryption to the MITM device, which decrypts it, logs it, re-encrypts it to the server. So, if I understand correctly, a user logging on to, say, their banking would provide the username and password for their account in, ostensibly, clear text to the malicious actor. Now, I know about ajaxproxy and it's ability to connect Javascript to CF functions. But using ajaxproxy to access a jCrypt function to hash the password is still sending in 'clear text' in a MITM attack scenario. Right? Or am I missing something? I assumed that the ajaxproxy just made server-side functions available, but information still has to be pa
I thought I'd update the JVM to the latest version, but the "JAVA SE 11.0.8(LTS)" links on Adobe's download page all seem to be broken. Anybody know how to reach someone to get these fixed, or if there are alternative downloads anywhere that are in compliance with Oracle's Java license?https://www.adobe.com/support/coldfusion/downloads.htmlThanks!
I've been having lots of problems with the Performance Monitoring Toolset since putting my CF2018 Enterprise intranet into production about a month ago. I have the PMT installed on my Test/Dev server (Windows Server 2019, 64Gb RAM, running a Development instance of CF18 plus the PMT), and it's monitoring my Dev site plus my production site on another server (same hardware/setup).What seems to keep happening every couple days or so is that the Elasticsearch datastore services that underlie the PMT are crashing, which initially makes it impossible to login. When I find that, I go to restart the Datastore service, then the PMT service itself, but the PMT service won't start because it fails to connect to the Datastore. After several attempts, I usually get frustrated and uninstall and reinstall the whole thing, which is clearly not a viable long-term solution.The datastore/logs files show stuff like:org.elasticsearch.action.search.SearchPhaseExecutionException: all shard
I applied all the hotfix updates 4-10 manually to ColdFusion 2018, but when we run the Nessus scanner, it's showing the server as unpatched. Looks like Nessus is looking in a different directory: Nessus detected the following unpatched instances :Update directory : D:\ColdFusion2018\cfusion\lib\updatesMissing cumulative hotfix : chf2018000005.jar It shows this error for each update, even though they were all applied through the hf-updates folder. Anyone run into this? Nessus is wrong, obviously.Tom Muck
Hi, We are migrating from MSSQLserver to POSTGRESQL database.We are getting column doesn't exists, even thoough column exists in the perticular table.org.postgresql.util.PSQLException: ERROR: column "exampleid" does not exists Below is the code snippet for MSSQL server<cfstoredproc procedure="spexample" datasource="#odbc1#" returncode="Yes"> <cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" dbvarname="@ExampleID" value="#ExampleID#"> <cfprocparam type="Out" cfsqltype="CF_SQL_INTEGER" variable="NewExampleID" dbvarname="@oIdentity" null="No"> </cfstoredproc> Any changes need to be done for PostgreSQL?
Lately, I have noticed the following in the exception log. It started around 36 hours after installing update 10 for CF18. Perhaps a coincidence. Server seems to operate normally. "Error","DefaultQuartzScheduler_Worker-5","07/25/20","15:47:12","","500 Internal Server Error "coldfusion.tagext.net.HttpTag$HttpTagServerErrorException: 500 Internal Server Errorat coldfusion.tagext.net.HttpTag.<clinit>(HttpTag.java:1113)at java.base/java.lang.Class.forName0(Native Method)at java.base/java.lang.Class.forName(Class.java:315)at cfadministrator2ecfc207599677$funcGETUPDATES.<clinit>(/CFIDE/adminapi/administrator.cfc)at cfadministrator2ecfc207599677.<clinit>(/CFIDE/adminapi/administrator.cfc)at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)at java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
Hello, all, I had a bad feeling when I registered for CF DEV 2020 that the third-party company Carahsoft would use this as a way to gather contact information to be used in the form of SPAM and cold-calling. But I really wanted to see what CF DEV 2020 had to offer, and I gleaned some good info from it. But then the SPAM emails started hitting my WORK email address. Okay, they provided a link to stop the sending of unsolicited emails. Cool. But then the calls started. I should have read the EULA; I would have skipped the convention. So, for now I've got one of those cordless phones that has call block baked into it, and I've added the number that was displayed on my CID to the block list. But this won't last long, I'm sure. Any ideas on how to get Carahsoft to stop sending unsolicited offers? V/r, ^ _ ^
We have an old flash app that uses the flex2gateway thing that was in cf9, we currently are migrating to cf2018 and not quite sure what to do to move this service.has anybody delt with this before? Thanks in advance for any insite.
Getting a weird error all of a sudden, unsure when it started happening, having to do with populating a form that previously had no issues: OS: Windows 2016 (Virtual machine) Version: 2016.0.16.320445 (Enterprise) Has anyone come across this error when using the CFPDFFORMPARAM: Could not initialize class com.adobe.agl.text.BreakIterator null Source code kinda looks like this (tagless):cfpdfform action="populate" source="#tmpfile#"cfpdfformparam name="stockno" value="#stockno#"cfpdfformparam name="title" value="#title#"cfpdfformparam name="ctrlno" value="#ctrlno#"cfpdfformparam name="formno" value="#formno#"cfpdfformparam name="qpc" value="#qpc#"/cfpdfform The form was not createed with extensions, just within adobe acrobat.
I have a doubt related to the license. I want to know which is the best practice related to instances that can live in a license. I don´t want to affect my actual services performance. Now, my server has 16gb ram, 8 cores, and the Enterprise 2018 license. Thanks for your help.
I will preface this as I do most posts, I am not a developer / programmer. We have a CF10 server for our department intranet.We need to be able to notify a small group of people (less than 100) at once, and thought it would be best to use text messaging.I tried searching for examples of sending text messages using CF, I found a great article from Ben Nadel from 2007 but that was using mail to forward to the text message service. I was hoping to find an example of testing that I could modify to suit us.Is anyone aware of a sample text page I could modify?Thanks
Does the ColdFusion 2018 installer now available contain all the latest hotfixes? I downloaded the installer a few months ago, and it was a very old version with no hotfixes installed. Installing hotfixes caused the server to become corrupted and I had to reinstall the original. This happened on two different machines. Tom Muck
Hello, We use Adobe Campaign Classic and import audiences from Adobe Audience Manager which we combine with data to send emails. There has been a use case to target people from different Audience Manager lists with different copy within the email but I can't seem to figure out how to personalize from the event you are in a list from Adobe Audience Manager from within the email in Adobe Campaign. Does anyone have any use cases or tips to get this to work? Considering the audiences are coming in fine it should be easy but I can't seem to define whether they are in an Adobe Audience Manager from within the email. Funny enough I can't seem to find specific lists in generic query editor either from within the data but can choose a list fine from within a workflow. Any tips appreciated.
I have an .htaccess file in a /reports/ folder with the following rule:RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.cfm?path=$1 [L,QSA]There is an index.cfm in the /reports/ folder that loads a list of all manufacturers, if one is not specified in ?path=The rewrite is working on my dev server, and my staging server, but on my production server I get an error from Tomcat:HTTP Status 403 – Forbidden Type Status Report Description The server understood the request but refuses to authorize it. Apache Tomcat/9.0.21I'm on CentOS 7 with Apache 2.4.The .htaccess file is part of the source code.I have another site on the server that uses a RewriteRule in the vhost.conf file and that works fine in dev, staging and production.If I change the RewriteRule to this, it redirects fine. RewriteRule ^(.*)$ https://google.co.uk [L,QSA] If I visit the page directly (/reports/?path=BMW/) the page loads fine.The only thing I've been able to
Hello,I am stuck with a very unique but confusing issue. The charts toolip is not working as expected in modal dialog box. The tooltip is apearing under it rather than on top of it. The same is working fine when directly called in the web page. Direct Call in Page Changing the "position" in json stye hasn't workedAny help will be much approciated.
I have always managed my own CF servers, but over the past couple of years we have moved from CF to WP (not my choice) and we now only have our project management app that I created running on the servers. We would like to move off these servers as there is a not going on (network/hardware) wise that does not justify the expense or time. It's a very simple app running on CF9, and I am looking for a company that hosts CF apps, very similar to what a managed WordPress hosting company would provide. I don't need access to the server or configuration, just the ability to host the site and database and have FTP access to the root dir for updates and changes. Any recommendations would be appreciated.
Hi, I have a problem with cfquery tag inside cfclient tag for Coldfusion 2018.Cfquery is working outside cfclient tag...but inside cfclient is not workingthis code is not working:<cfclient><cfquery name="q1" datasource = "storebooksdmx">select * from collection</cfquery><cfoutput>#serializeJSON(q1)#</cfoutput></cfclient> but this code is working ok: <cfquery name="q1" datasource = "storebooksdmx">select * from collection</cfquery><cfoutput>#serializeJSON(q1)#</cfoutput> Any help please?Thanks!
I need to find information about using ColdFusion as a client for an OData 4 REST service. Is this possible? Is there anyone who has implemented this who could give me direction or point me to some sites or documentation?
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.