The official community for ColdFusion.
Recently active
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"}]>
I'm in a little bit of a unique situation with this. This is a rebuild before I install CommonSpot, and put this server into productionI've installed ColdFusion 2016 on the F:\drive of my server and the install it self went as I would've expected. However when the migration wizard comes up it will not accept the password that I had entered during the installation process. I've used the passwordreset.bat file, it didn't work. I've directly edited password.properties, that didn't work either. Here's the issue, this is a hardened server with no access to either localhost or local loopback or any browser access. So it has to be done externally.
I'm merging some PDFs with <cfpdf action="merge" source="#arrayToList(arguments.PDFsToMerge)#" destination="#finalPDFDocument#" overwrite="yes" > But I'm getting the error "The pages attribute is not specified for the MERGE action in the cfpdf tag." I have used this tag/action before without requiring the "pages" attribute, since, per the documentation, it's optional for the "merge" action. Why is it requiring this?
The Adobe ColdFusion India Summit is back! Witness the biggest confluence of developers, strategists, and thought leaders at the Adobe ColdFusion India Summit. Learn the latest techniques to build rapid web applications. Bring your developer chops to the table and brainstorm with the people who're behind ColdFusion. When: December 07, 2019 8:00 am - 5:00 pm Where: Adobe India, Bangalore (Map). How to register? Easy. Head on to the registration link and fill the details. Registration is complimentary! See you soon!
#
We are having an issue when executing either queries or stored procedures with CF2018 running on Windows 2016/2019. The same code running on Windows 2012 runs fine, however when executed on Windows 2016/2019 the execution times are 5-10x (at least) as long. The database server is MS SQL Server 2012. Enabling logging on the datasource indicates the slowdown occurs at PreparedStatement[n].execute() . On Windows 2012 it takes 15ms vs 265ms on Windows 2016/2019. We have tested this using CF2018 update 3-5 and recevied the same results, looping the same query up to 200 times. Could this possibly be related to nvarchar? See attached screenshot. I am sure the query could be optimized but we can not determine a valid reason of the slow performance due to the Window OS.
The problem is when I try to editing one of my values all the drop-down lists return to the first one in the list and not the one they selected originally.Thats why the user have to chose original value in drop-down lists everytime When they editing. .this is my code :<cfset AboneID=""><cfset Aciklama=""><cfset musteriTipi=""><cfif IsDefined("url.id") and IsNumeric(url.id)><cfquery name="u" datasource="deneme">SELECT * from MusteriHareketleriwhere MusteriId=<cfqueryparam cfsqltype="cf_sql_integer" value="#url.id#"></cfquery><cfset AboneID = u.AboneID><cfelseif IsDefined("url.did") and IsNumeric(url.did)><cfquery datasource="deneme">DELETE MusteriHareketleri WHERE MusteriId=<cfqueryparam cfsqltype="cf_sql_integer" value="#url.did#"></cfquery></cfif><form name="add_deneme" method="post"><table border="3"><tr><td><strong>Abone ID: </strong></td>&l
If I log in as "root" InDesign works as it used to be, but in the normal mode it doesn't. I have already changed permissions to "read & write" and also changed InDesign in Preferences and caches to "InDesign.old" but it didn't help.
Hi team,In CF2016 please help me know how to begin with SSO as I am new to this.
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.