Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
TSIA. I have a Solr Collection of questions asked by users (our own internal AUA). Every time a user submits a question, the question is inserted into a database and the Solr Collection reindexed. Just on the small chance that two users submit a question at about the same time, I don't want the second question to trigger a reindex until after the first question reindex is completed. So is it possible to lock a Solr Collection each time it is automatically reindexed? V/r, ^ _ ^
What is the best to create minified JS and CSS files? I've done in the past using an IDE and automatically durring the "File Save" process. However, now Im working with a team where everyone uses a different IDE. My preference is to create some sort of asset manager that uses yuicompressor (https://github.com/yui/yuicompressor) that creates minified files on the fly if they currently are not found on the server. I'd like to call the yuicompressor jar file directly with Coldfusion withouth using cfexecute. Is this possible?
Hello, I see that there are two places to post ColdFusion questions on Adobe sites: right here at community.adobe.com and over at https://coldfusion.adobe.com, so long as you characterize your post as a question. This support community site seems like the logical place to get questions answered by the community, and so when you post a question over at https://coldfusion.adobe.com/ site, to whom are these questions posted? Adobe's ColdFusion employees? Perhaps links on each of these pages to each other should be established so that community members are aware of and leverage both options. Thanks.
I am trying to get the jre-8u231-windows-x64.exe file to update the Java 1.8.0_u221 on my CF servers but I am not seeing it anywhere on this page. Anyone thoughts? https://www.adobe.com/support/coldfusion/downloads.html#additionalThirdPartyInstallers
On Adobe's Frequently Asked Questions (FAQ) Adobe ColdFusion Standard (2018 release) webpage under Pricing, editions, and upgrading (https://helpx.adobe.com/coldfusion/standard/faq.html#Pricingeditionsandupgrading) it says that Adobe ColdFusion (2018 release) Standard Edition costs US$2,499 per two CPUs. If the computer I am installing Adobe ColdFusion Standard (2018 release) has a single physical CPU and multiple cores for example an 8-Core Intel CPU, will a single Adobe ColdFusion Standard (2018 release) license work on my computer or is it required that I must purchase 4+ Adobe ColdFusion Standard (2018 release) licenses (4+ times US$2,499)? Does hyperthreading CPU double the core count?
I'm working on creating a data conversion extract and need to split a string into multiple lines, 132 chars each. At this time, they don't want to break at the last space before the 132 chars, they just want to continue it on the next line. I'm fairly new to coldfusion and am not sure how to do this. Suggestions, please?Thank you. -=Rob=-
Windows 2008 R2 serverCF9, CF11, & CF2016 installed (development server)Java JRE 1.8.0_91When I try to start the ColdFusion 2016 Add-On Service it fails immediately and does not load into memory. I tried loading an admin command prompt and navigated to the Jetty folder and ran the command line directly from there too.jetty.exe -zglaxservice ColdFusion2016Add-onServicesThis results in no output and the service does not load. However, if I load just jetty.exe by itself without command switches the server starts up and loads into memory.There are no new logs generated in the jetty/logs folder. Nothing besides the fact that it fails makes it into the Windows System or App logs.I loaded the Sysinternals Process Monitor tool and watched the execution of the jetty.exe and the folder structure and there are no Access Denied events.Failed to load under CF2016 gold, Update 1, and Update 2Shutdown CF9 & CF11 to make sure it wasn't a port violationLoading it via the command lin
We have a CF2018 Standard server currently running 3 scheduled tasks. Each task sends an email. I noticed that, when recently adding the third task, which is scheduled to run first (2:10AM), after a scheduled restart of the CF App Server Service (9PM), it would run, but not send an email. I decided to bracket this task with two other ones, 1 minute before and 1 minute after, which would send test emails. With those two tasks in place, the 2:09AM task would run, but not send an email, the 2:10 task would run and would now send an email, and the 2:11 task would also run and send an email. I disabled the CF App Server Service restart, and now all tasks send an email. This leads me to think that, after a CF App Server Service restart, the first task to run that sends an email will not, in fact, send and email. Has anyone seen this behavior in CF before? TIA,Scott A clarification - It's not that the email does not send. It's that the
How can Power BI be integrated into a coldfusion application?
Judging by the lack of participation in this forum, I'm guessing coldfusion really is dead....Adobe doesn't seem to care a whole lot about it either judging by the number of unanswered posts!
I'm totally cross posting this.... sorry to be rude, just not getting any action in the advanced forum.Can anyone make this work?I'm trying to connect to/consume a webservice from a Magento commerce store [written in php] but am having problems with coldfusion not being able to "find" the methods I need to invoke.- I can create the object, log in, get a session but nothing [NOTHING!] else, none of the other methods are available - I just get a method not found error.- the user "register" with key "register" has permission to use them and I can [have] prove that it works, I can for example call up the store category tree VIAcatalogCategoryTree.- the dump of the mage_obj shows all the methods available.- The webservice is a Magento store [http://www.magentocommerce.com/]- The API documentation is here http://www.magentocommerce.com/support/magento_core_api- the webservice url is live, up and a test instance, so I am not afraid of it getting broken, please test to your heart's
Can we say that number of threads created in an application should be equal to number of cores of a Processor. Say, I should create maximum two threads if I have a dual core machine or four threads if I have a quad-core machine etc.??.
I am trying to implement a simple upload feature in CF 11 but it fails with 403 Forbidden error while uploading GPX format file.But when I try uploading other format files like .csv, .txt, .jpg the same code works as expected.Please help and let me know if I am missing something. Code to upload: <form method="post" id="fileinfo" name="fileinfo" action="Upload.cfm" enctype="multipart/form-data"> <label>Select a file:</label><br> <input type="FileUpload" name="upload" required /> <input type="submit" value="Upload" /> </form> Upload.cfm <cfoutput> <cffile action="upload" destination="C:\gpx\" nameConflict="overwrite" filefield="Form.FileUpload"> </cfoutput>
I'm not able to make connection via IIS 8.5 to ColdFusion2016, I have cheked connectors, ISAPI filters etc theya re propery configuredb but still I'm not able to access my application. Whenever I click on browse my application in IIS manager it says "website can not dispaly the page" Please let me know what I'm missing here and what are the settings and configuartion I have to cjhange in IIS level Or Coldfusion 2016 level.
Hello, all, I've got a function in a CFC that has been working fine since late 2015. Recently, we are seeing several error emails related to this function. Message Could not initialize class org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker StackTrace java.lang.NoClassDefFoundError: Could not initialize class org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTMarker It indicates that the issue is on line 1030 of the CFC: SpreadsheetAddImage(variables.ercCEobj,imgBytes,'png','1,7,2,8'); Okay, so obviously "variables.ercCEobj" is an Excel object, and I'm adding a .png image to one of the cells in the main sheet. Like stated, this has been working fine since late 2015. I've checked and the image is, indeed, where it should be. I just learned that we recently updated the Java (jvk 221 to 231). Wonder if that's the issue? Anyone else experience this? V/r, ^ _ ^
A very basic, stupid mistake. I decided I needed to reset the password for the Windows account that the ColdFusion services run as, and now, trying to start the ColdFusion services results in "Error 1069: The service did not start due to a logon failure." As such, I cannot get into the CF admin screens, so any suggestions on how I go about fixing this? Thanks,
I have to integrate Power BI Report in ColdFusion web application.I am newbie in ColdFusion and Power BI Report.Could someone please help me to integrate the Power BI Report in ColdFusion web application.
I have a brand new install of Coldfusion 2018 (which we bought earlier this year but are just going to). The add-on service starts and just stops. When I try to look at collections it tells me the Solr service is not running and when I research that it appears to be tied to the add-on service issue. I just would like to get the server running for the first time.
I spent a couple days struggling with this and felt I needed to share with the community. I've been running CF 2018 locally for a while, but the production server (internal website only) was CF 11. I was pretty confident that I had addressed all the version differences because I'd been using it locally, so I finally got my ducks in a row to purchase the upgrade for production and rolled it out this week. Shortly after deploying the new server, users started complaining about popup windows not working correctly. We had a handful of CFWindow tags that were modal="true" and center="true". When the user clicked the link that called ColdFusion.Window.show('windowname') the screen would go grey (modal) but the window was not popping up cented in the viewable area, sometimes ending up off the bottom of the page (esp. when viewed on mobile devices), and they thought their web page had locked up. After a day and a half of flailing, I determined the underlying issue and backtracke
We are moving CF applications to Docker containers from Windows Server 2016 servers. We are using Windows authentication so have to rely on IIS for the webserver. I am trying to configure the IIS with 64bit version of isapi_redirect.dll under mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019 but getting the following error:HTTP Error 500.0 - Internal Server ErrorCalling LoadLibraryEx on ISAPI filter "C:\ColdFusion\config\wsconfig\1\isapi_redirect.dll" failedError details in Win Events:TimeCreated Id LevelDisplayName Message----------- -- ---------------- -------8/7/2019 8:29:30 PM 2268 Error Could not load al
<cfif not directoryExists(arguments.dirPath)> <cfset directoryCreate(arguments.dirPath)> </cfif>Even after checking that the directory doesn't exist, directoryCreate() fails with:Message: The specified directory {directoryPath} could not be created. Detail: The most likely cause of this error is that {directoryPath} already exists on your file system.Ultimately, I want to delete it to quickly clear all files, then recreate it.I can instead loop through the directory to delete the files, but removing the directory altogether does the job when it's not being weird about whether or not it exists.
Hello, I am would like to use cffile to delete all files in a directory every night to clean up pdf files that were created during the day. Is there a way to delete all files with naming each one? What would go in the file path? <cffile action = "delete" file = "full_path_name"> Gary
Hello,I have detected a weird (to me) behaviour of the IsDefined function. I have something like:<cfif IsDefined("url.vose")><cfset somevariable="some value"></cfif><cfif IsDefined("url.3d")><cfset somevariable="some value"></cfif>* if url.3d is defined, good. All works as expected.* if url.3d is not defined, CF throws a "Parameter 1 of function IsDefined, which is now url.3d, must be a syntactically valid variable name" error.* if I use structKeyExists(url,"3d") instead of IsDefined("url,3d"), works as expected.I tried with different combinations of variable names and scopes (pe, url.5d or form.3d) and the problem seems to be the number at the beginning of the variable name.Is this the expected behaviour? I found very strange that it works if the variable exists and only throws an error if not. Could this be considered a bug and should be reported?TIA,
Cfwindow not displaying scrollbars on IE. Inspite of using the overflow attribute , still the scroll bar wont show up. Thanks in advance
In order to enable WebSockets, the following example is given: application.cfc this.name = "WebSocketDemo"; this.wschannels = [{name="stocks"},{name="chat"}]; When application variables are dumped, this.name looks like it gets translated into application.applicationname. However, wschannels is nowhere to be found. How would one be able to enable websockets via a call in application.cfm or any cfm page? I tried this but neither worked: <cfset application.wschannels = [{name="stocks"},{name="chat"}]><cfset application.this.wschannels = [{name="stocks"},{name="chat"}]>
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.