The official community for ColdFusion.
Recently active
Hi, Just recently I started this tutorial for CFML. Going through this course was pretty straightforward and almost without a hassle. But now I have hit a brick wall at using coldfusion components. I followed the instructions in the video and the assignment but I stumble upon this error and cant figure out what is going wrong. As I am adding the references to the different functions in the component i stumble upon an error. The reference to the getNewsYears function is at the top of my code(as the assignments says). But the output is somewhere at the bottom. The Error below keeps popping up.I cannot find any info on frequent mistakes made during the tutorial. Can anybody see what I am doing wrong?
Hi, I need help. I've all but given up.Running cold fusion 2016 on windows pro 8.1 and using ms sqlsvr 2014 all running on the same machine and using localhostI've tried several configurations and i end up with basically the same dead end .I've tried to set up dsn's on windows. I've downloaded JDBC files but not sure where to install and configuredError MessageConnection verification failed for data source: myfoodsourcejava.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database "food_migration" requested by the login. The login failed.The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database "food_migration" requested by the login. The login failed.Thanking you in advanceJoe
I am connecting to the unsplash api (it allows free images to be used in websites) and the problem is that up until today everything was working fine. The user would enter a keyword and it was then sent using the following code:<cfhttp url="https://api.unsplash.com/search/photos" method="get" result="fetchSplash"> <cfhttpparam type="url" name="client_id" value="xxx"> <cfhttpparam type="url" name="query" value="#url.unsplashme#"> <cfhttpparam type="url" name="page" value="1"> <cfhttpparam type="url" name="per_page" value="20"> </cfhttp>JSON was being sent back with image information without any problems but now I get the following error:I'm at a loss as to what the problem could be as nothing has changed on our server and if I test their url like this in a browser I get results ((ID number has been removed):https://api.unsplash.com/search/photos?client_id=xxx&page=1&query=officeAny help appreciated!
Hi,can someone tell me how much the ColdFusion 2016 (Standard and Enterprise) for education licenses are in the UK please?I've found on the Adobe website that you can purchase these licences, but can't find anywhere that tells you the actual cost.Many thanks,James
Hello,I have an existing/working CF10-SQL 2008 DataSource that I need to make encrypted. I have added the following connection string to the advanced setting of the DSN: EncryptionMethod=SSL; trustStore=C:/ColdFusion10/jre/bin/cacerts; trustStorePassword=PASSWORD; ValidateServerCertificate=true;The SSL certificate for the SQL server was issued with the FQDN and resides on the SQL and ColdFusion servers and was loaded in to the CF certificate store. When verifying the DSN, I receive the following error:Connection verification failed for data source: TestSSLDSNjava.sql.SQLNonTransientConnectionException: [Macromedia][SQL Server JDBC Driver] SSL Handshake failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetAny assistance would be greatly appreciated. Thanks!
Hello, all,My boss is working on an addition to our site that has a form to submit that a user can use to submit a complaint. He is using a custom-made CAPTCHA that is randomly generating a three digit number and setting that to a session variable. The form handler page then compares what the user entered to the session variable. But the JSESSIONID is changing on every click, etc., so when the handler gets the form, it's a new session and the values do not match.What can we do to make this work?V/r,^ _ ^
My ColdFusion 11 app is working fine on my local machine (Windows 10). But when I open any .cfm file in Eclipse or even in a Notepad, I get the content - such as the following - that is not readable. It was not happening before. How can I make the files readable again?
Folks,I am trying to signature the SOAP request through digital certificates. It is provided by client.I installed the certificates in both key-stores JAVA and ColdFusion cacerts(\lib\security\cacerts). I verified by key-store get instance. In addition, I followed two different approaches.METHOD 1I am using the cfhttp tag for send request and this tag has clientCert and clientCertPassword attributes. So I wrote the code like,<cfhttp url="#arguments.endpoint#" method="POST" result="local.result" clientcertpassword="#variables.constants.keyStorePassword#" clientcert="D:/ColdFusion2016/jre1.8.0_131/lib/security/sign.pkcs12"> <cfhttpparam type="header" name="Accept-Encoding" value="gzip,deflate" /> <cfhttpparam type="header" name="SOAPAction" value="#arguments.soapAction#" /> <cfhttpparam type="header" name="Content-Type" value="text/xml;charset=UTF-8" /> <cfhttpparam type="xml" value="#toString(xmlParse( arguments.soapEnvelope ))#" /></cfhttp>It is retu
Hi,I need to insert an xml file data into a SQL Server database table using Cold Fusion 11.I have an SSIS package on the SQL Server that inserts the data.Is there a way to execute the SSIS package in Cold Fusion?Is there a SQL statement to insert the data with out using the SSIS package in Cold Fusion?Thanks in advance,Mike
Hello!We have a system running on Cold Fusion. The server was running on CF7 and we upgraded it to CF11 and now the isDefined are not working anymore.To be honest I do very few Cold Fusion coding, it's an old system that was not maintained that I just got and I have to manage. I am learning everything.I've read that isDefined is not the best and would be better to use structKeyExists instead. The problem is there is more than 1900 files and 3000 isDefined to change.Example :This line marks an error :<cfif not isdefined("caller.#attributes.prefix_mandatory##fldname#") or (isdefined("caller.#attributes.prefix_mandatory##fldname#") and trim(evaluate("caller.#attributes.prefix_mandatory##fldname#")) is "")>Which I corrected and works fine :<cfif not structKeyExists(caller, '#attributes.prefix_mandatory##fldname#') or (structKeyExists(caller,'#attributes.prefix_mandatory##fldname#"') and trim(evaluate("caller.#attributes.prefix_mandatory##fldname#")) is "")>Error message :
Hi thereI have a accdb designed with Access 2010 64bit.I am running CF9 under Win2008 R2 64bit.I have also installed http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255I have now googled and tried some dozen tricks to get this combination work:until now - no way!Does anybody succeed to to so and is there somewhere a description?Thanx for help - Didi
Hi everyone,I'm moving our coldfusion8 server to a new one.So I'm looking for the installer of coldfusion 8 for unix environment.Is there anyone can help to provide me a link to download it? I have been searching for long days.Thank you very much and best regards,
hello alli might not be the dumbest of system admins here, but i feel utterly left alone on the CF 2016 update 5 page:ColdFusion (2016 release) Update 5 in there, it says JRE needs to be updated. so far, so ok. it say 'for 32 bit coldfusion, use 32 bit jre'. i can also understand that.on this page: How to change/upgrade JDK version of ColdFusion server | Adobe ColdFusion Blog , i found on how to do that. there is a download page linking there for downloading JRE: Java SE - Downloads | Oracle Technology Network | Oracle . if i choose SE 8 Server JRE, i get here: Server JRE (Java SE Runtime Environment) 8 Downloads problem: i run coldfusion in 32 bit mode due to some older cfx tags which we still need. on the page above, there is no 32 bit version of JRE...what am i supposed to do?thanks for any help and insights.lukas
Hi,I am trying to obtain information inside the XML file Testff.xml.Below is the contents of the XML file:<?xml version="1.0" encoding="UTF-8"?><NotesImport xsi:noNamespaceSchemaLocation="G:/USERS/user uploading id/BUSFIL~1/logNotesImportv2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Facility><FacilityID>8</FacilityID><FacilityName>THE x</FacilityName><DateDataExtracted>2015-05-05</DateDataExtracted><TimeDataExtracted>23:55:00</TimeDataExtracted><LogNote><SSN>000-00-0000</SSN><LogNoteID>20150505065022</LogNoteID><DateContacted>2015-05-05</DateContacted><DateEntered>2015-05-05</DateEntered><WhoContacted>21</WhoContacted><ContactType>114</ContactType><Confidential>F</Confidential><InputWorker>jhjh67</InputWorker><Description>The Service Plan was revised</Description><LogNoteUnit>2</LogN
Hello,I have a template containing some static pages saved on the server and I would like to add the dynamic pages to create another Excel file.My problem is to open the template.I Receive the following error: "The workbook already contains a sheet of this name"How to do that?The template name : "Template.xlsm"My current code:<cfset srcUploadedFile = application.settings.loadExcelDirectory & sepa & "Template.xlsm"><!--- I would like to create an object "s" which is my Excel document ---><cfspreadsheet action="read" src="#srcUploadedFile#" sheetname="History-version" name="s"><!--- Create a new sheet and fill the new dynamic page ---><cfset SpreadsheetCreateSheet (s, "Dynamic 1")><cfset SpreadsheetSetActiveSheet(s, "Dynamic 1")><cfset headerText = "" ><cfset headerText = ListAppend(headerText, "Title 1") ><cfset headerText = ListAppend(headerText, "Title 2") ><cfset SpreadsheetAddRow(s, headerText)><!--- Create the n
The security team here at the University seems to think ColdFusion is dead. Is it? I'm getting tired of trying to defend it. Do you have any resources to help? List of Companies perhaps?Just so we're all on the same page, Adobe chat support's official response to this question was;"... we don't have option for that, however if you are facing any technical issue you can contact our expert in technical team."And calling tech support I was presented with the response;"We can't help you. Go to the forums."When I asked tech support to route me to a supervisor he said, "Adobe doesn't care if you discontinue use of their product" Yep. He actually said that to me
I have configured a dedicated site, separate from my website, for my ColdFusion administrator (CFIDE). So I have my website here: http://www.public-site.com/ and my ColdFusion admin here: http://www.cfadmin-site.com/ . They both live on the same server but under different directories. So now I am configuring my ColdFusion settings and wondering if there is some way to configure the missing template handler and site-wide error handler to use files that live under the public site directory so that I can give my users a consistent look?I am guessing that this is not possible but thought I would ask. I may be left with creating the modules under my ColdFusion admin directory and then using <cflocation> to redirect the user back to the public website environment. Or embedding some javascript to redirect them. Any other thoughts?
Hello, all,I've got a table in an Oracle 12g db that is BLOB for storing files. I'm trying to find a way to get the size of a single file contained within the BLOB column.I am not saving the file to the server before inserting it into the db; it is going straight to the db to cut down on disk i/o, so I can't get the file size before inserting.Any thoughts?V/r,^ _ ^
The following code to generate a spreadsheet and then download to the client will not free up memory at completion.Running multiple times will (depending on the size of the heap and the number of rows in the database) exhaust the heap.With 100,000 rows and a 2GB heap Java will hang on the 4th attempt to run the code.<cfset spreadsheet = spreadSheetNew("Report",True)><cfset spreadsheetAddRow(spreadsheet,"Id,Name,Date,State,Zip")><cfquery name="MyQuery" datasource="test1">SELECT id, Name, Date, State, Zip FROM myTable</cfquery><cfset spreadSheetAddrows(spreadsheet,myQuery)><cfset spreadsheetFormatRow(spreadsheet,{ bold=true, fontsize=12 }, 1)><cfset filename = "Report.xlsx"><cfh
I see that enterprise edition of CF 11 has the native drivers to connect to informix. I can't find anywhere if standard edition has the native drivers. Anyone know?
Hello,I have a few questions. First a little about our current setup.Currently we're running CF 10 enterprise on a dedicated server as a production server and a second not quite as powerful server as a test server / fail-over.We are moving to a cloud solution with 2 identical VMs with 4 cores each, 1 will be production and once more the second would be a test / development / fail-over server. At first we're going to move with CF10 just to get things configured and running again but we'd like to move to the latest version of cf soon after so we can then be on the newest and most up to date software.My questions:1) If I read things correctly we would need to have either 2 standard licenses or 1 enterprise license to cover our installation as our test / fail-over server is covered in the purchase.2) I am not entirely sure why we are using Enterprise currently as I do not believe we are even using any of it's features. What features would be lost / gained if w
When running the installer to generate a .war file there was no option to disable the .NET connector.We need to disable the .NET connector which is automatically enabled. I didn't find a config file to turn this off either.In neo-dotnet.xml there is an option to set the port, but no option to disable completely.
[Moderator moved from The Lounge to ColdFusion.] Server instances:- bookabach- trips_ha- trips_vrboOn each one multiple sites will be running. I already have bookabach working fine but since the HTTPD config is different related to JRUN I don't know how to do it for CF2016 release version. With read is the config that I don't know how to consider now. And also if I really need to add that section.NOTE. The difference between bookabach and trips_* are that the last one works with Netscaler.Hope that someone can help me /etc/httpd/conf.d/trips-au-test.conftrips-ca-test.conftrips-fd-test.confwww.ustest.bookabach.co.nz.conftrips-au-test.conf - CF9<VirtualHost IP:80> Include /etc/httpd/conf.d/httpd-modrewrite.confDocumentRoot /usr/local/homeaway/trips/trips_ha/www_versions/-wvr-en-australia-/ <Directory /usr/local/homeaway/trips/trips_ha/www_versions/-wvr-en-australia-> Options Indexes FollowSymLinks </Directory> Alias ...
CFBuilder admin storageApplication.cfmLogin,cfmpart of page when i want to use login including.Hello everyone, please help me understand these sessions' behavior.The whole problem consists in attempting to pass variables from one page to another.So after login i don't see the session.user in session struct.How can i pass this?Have already tried different browsers.
Hello to everybodyI work with ColdFusion 10.I must create a excel document containing some sheets. I use cfspreadsheet instructions and SpreadsheetFormatRows for modifying the style of my page.The current problem that I have, if for the sheet one I use one colour for the background of some cells, the system keep the colour.The next time I fill the cell, the background is equal of previous sheet.I would like to remove it. I would like a transparent background.How to do this?I already search on this forum, on google but ... nothing. May be some one have a solution?Thank you for your helpBest regardsAndre
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.