The official community for ColdFusion.
Recently active
I don't know much about ColdFusion yet. If I declare/cfset a variable inside a function, can I just access that variable directly from anywhere on the .CFM page?
Hello, all,I'm trying to troubleshoot an issue with the DBINFO tag, and I've never used it, before.Basically, we have a schema ("FC") that has many tables, one of which is called "F_COMMENTS". In CFAdmin, the DSN is named the same as the schema.I'm using the following: <cfdbinfo type="columns" table="F_COMMENTS" datasource="FC" name="dbdata" /> The error message states that table F_COMMENTS doesn't exist. But it does.What could be causing this erroneous message?V/r,^_^UPDATE: I did the following: <cfdbinfo type="tables" datasource="FC" name="dbdata" /> The CFDUMP of that does show that the table "F_COMMENTS" is in the datasource.
Hi there,Just recently I've got a problem with email attachments download with CF10 & 11. Attachmentfiles field is empty, but attachments one contains file name. Code was working fine before. I am sending emails from Outlook 2002 and web interface to GoDaddy and BlueHost mail servers. Code is: <cfpop server="#POPServer#" port="#POPPort#" username="#POPUser#" password="#POPPass#" action="getall" uid="#UID#" attachmentpath="#ExpandPath(EMAIL_FILE_DIR)#" generateuniquefilenames="yes" name="CurrEmail" debug="#debug#" timeout="600" />May be someone have any idea about this issue.Thank you,Anton
While I try to install CF 2016, there was nothing happened, instead of the application shutting down in a few second. Event log shows thatFaulting application name: javaw.exe, version: 8.0.720.15, time stamp: 0x567a1483Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000Exception code: 0xc0000005Fault offset: 0x0000000000000000Faulting process id: 0x1460Faulting application start time: 0x01d17615d1f9e21fFaulting application path: C:\Users\hb19943pa\AppData\Local\Temp\I1457096367\Windows\resource\jre\bin\javaw.exeFaulting module path: unknownReport Id: 11e1e3ff-e209-11e5-bf93-2c44fd638f1a
Hi everyone. I've setup my development environment to use IIS. I can use either local i.p.'s or localhost:8500 - (regular ColdFusion). I'm having an issue when calling any CFM file from my IIS and only in IIS. If I go to a folder that contains an index.cfm file it will render it fine. It's only when I actually type the index.cfm?fuseaction=xxx tht I have issues.The issue does not exist when I do the same inside localhost:800, so I know it is an IIS issue. Does anyone have any insight on this. I tried Googling, but none of the solutions really help me - as it does render when it is not typed - so all of the IsapiModule and CGI references appear to be in place.Thanks in advance.
I have a cfc that is exposed as a web service . However when a request from 2 different servers consume the webserice at the same time one request is dropped and the other processed. Im not sure why this happens and would really appreciate some insight Thanks!
Hi All,I am fairly new to the Adobe community though I have been the administrator for our CF10 Instances for a while and I update it every once in a while.I have been tasked by my management to seek out upgrading our CF10 environments to CF11. We do have a yearly maintenance contract in place with Adobe for ColdFusion. Do you know if the standard maintenance contract includes free upgrades or must we purchase new versions or is each contract "unique?"Also, the environments were upgraded from CF9 to CF10 a couple years back. When I upgrade to CF11, would I need to request a new serial number from Adobe through our software liason or would it accept our CF10 license and update it to the new one after I migrated the environment?Thanks in advance!Ben ComptonNational Security Technologies, LLCA contractor to the US Department of Energy
Hello Experts,Server Product : ColdFusionVersion : 10,0,18,296093(PreRelease)OS : UnixOS Version : 2.6.32-573.12.1.el6.x86_64Adobe Driver : 4.1 (Build 0001)So, we are having our CF server crash every now and then with 503 error. There is no particular pattern as to why this happens. There are two servers behind a load balancer..... We have a health check methodology that checks for a cfm page every 10 seconds. If it receives multiple 503's, users are switched over to another server.After a CF restart, things come backup normally. Following is the log file at the crash point for one instance.....Feb 17, 2016 14:17:52 PM Information [ajp-bio-8012-exec-12] - Using Axis 1 for consuming the service xxxxxxxxxxxxxxxxxxxxxxxFeb
Got a bit of a legacy app that previously had flushAtRequestEnd set to true. We've flipped the flag, and now our many-to-many relationships aren't working properly. The individual records save fine, BUT the link table records are not being created. Here's how the entities are basically set up.component persistent="true" table="Encounters" {... property name="CaseFollowUps" singularname="CaseFollowUp" fieldtype="many-to-many" cfc="FollowUp_NEW" linktable="EncounterFollowUp" fkcolumn="EncounterID" inversejoincolumn="FollowUpID";.... public void function addCaseFollowUp( fu ) { ArrayAppend( variables.Ca
I'm comparing values in a session variable that are in comma separated to local JSON values. What is the best way to read the comma separated value from the session.groups variable?
Hi,I'm a more than 15 years CF developper and I enjoyed it.Now I have a large application that I have to translate to php and php is quite new for me 😞My app uses quite a few Custom Tags and I'm looking to the easiest way to simulate them.Has anyone already get into this and is willing to share ?
Hi,I've encountered an issue where I am puzzled by coldfusion's output. Is this a bug, or the design?<cfset x="meow"><textarea><cfoutput>< #x#</cfoutput></textarea><br><textarea><cfoutput>< meow</cfoutput></textarea><br><textarea><cfoutput>x #x#</cfoutput></textarea><br><textarea><cfoutput>x meow</cfoutput></textarea><br>In the above, I expect the output to be :<[space]meow<[space]meowx[space]meowx[space]meowBut the result I am getting is : <meow<[space]meowx[space]meowx[space]meowWhere the variable output in the sequence of <[space][variable] promptly cuts off my space. If it is whitespace management kicking into affect, the 4th output should have spaces removed as well but that is not the case. Changing whitespace management gives the same result. Please help .... This looks like a bug? Or is it supposed to be like this? Of course I could
I created a subfolder named "extranet" and place cfm files in it. The first time I try "localhost/extranet/index.cfm" it runs with a CF error,. That's OK. I open the file in dreamweaver, correct the problem and retry. "Unable to Connect"I've worked with the security properties of "extranet" making sure my username had all privileges, but no joy.Can anyone help?
I'm trying to install the Developer version of ColdFusion using IIS... I have all the proper things turned on for Windows Install - ASP (all versions) CGI, etc. Using a local IP will read regular html files - they load and display properly. The cfm handlers appear to be in place and in the correct directories but I am still getting the error above.HELP! Thanks in advance.
like many other people who switched from CF9 TO CF11 I'm having issues with the charts too. My chart worked perfectly fine in CF9 and after we did an update to CF11 few things just disappeared or not fit in the chart. In my case I have two elements to fix. One is TITLE, problem is that my title has frame for some reason and if I have more than one row with the text, that can not fit in the title. Second is XAXISTITLE does not show up on the screen at all. Here is my code that I used in CF9 to build my chart:<cfchart format="#ffPrint#" xaxistitle="#desc#" yaxistitle="#yTitle#" style="ChartStyle.xml" chartheight="700" chartwidth="#graphWidth#" title="#title#" showlegend="#theLegend#" > I played with my code tried to remove some parts to see how that will effect CF11 and I found if I remove STYLE my xaxistitle showed up but still with wrong values. Also I could not find the way how to re size my TITLE box. If anyone can help with this problem please let me know. Thank you.
Hi All,I have installed Colfusion 2016 in my Windows 10 pc, and I have some problem setting the data source on ODBC 32Bit.Regards,Sonny
I am running CF10 on a win2k8 r2 vm and trying to install HF18,I have the jar file in my hf-updates dir.when I try to run java -jar hotfix_018.jar from that directory I get a msg "Java" is not recognized as an internal or external command...if I try and run it from jre/bin and provide the path to the jar file I get "unable to access jar file"I have checked the permissions on the directories and I have full permissions on all directories and files.I know some will ask if tried running it from within administrator, I am having issues with administrator but that is a separate issueany suggestions on which direction I should go would be greatly appreciated.
I'm trying to read an Excel spreadsheet using CF spreadsheet and keep getting the error below.java.lang.ClassCastException: org.apache.poi.xssf.usermodel.XSSFRichTextString cannot be cast to org.apache.poi.hssf.usermodel.HSSFRichTextStringHere is the line of code that causes the error:<cfspreadsheet action="read" src = "#xfile#" sheetname="Pilot Instructions" name="pilot_sheet">This is CF 11 running in IIS. Any thoughts on why this error is being generated?ThanksDW
Hello, Can I get a free version of ColdFusion 11 for download? There is a developer version link on the web. Where I click it. It is said 30 days trail.
Found an article for SSO with Sharepoint 2003 and 2007 but not 2013. https://helpx.adobe.com/coldfusion/developing-applications/office-file-interoperability/sharepoint-integration/use-single-sign-on-to-access-coldfusion-applications-via-sharepo.htmlDoes anyone have a workaround for SharePoint 2013?
Dear friends, I am a Coldfusion developer, not a server side person. I installed CF9 on my PC for Coldfusion development few years ago, that is Jboss server environment. Can I still use the Jboss for Coldfusion 11?
I would love some feedback here from Adobe on whether or not this is a bug. If so, I will definitely report it but wanted to start here in the forums. Take a look at the cfscript code below: array = [ {key1: "myKey"} ]; idx = 1; tmp = array[idx]; writeDump( var=(array[1].key1 ?: ""), label="Prints 'myKey'" ); writeDump( var=(tmp.key1 ?: ""), label="Prints 'myKey'" ); writeDump( var=(array[idx].key1 ?: ""), label="Prints '[Empty String]'" ); The gist of what I am doing here is using the "elvis" operator to try and evaluate an object in realtime, and if the object cannot be evaluated, providing a default of an empty string. If you run this code, you will see that the first 2 methods of referencing array index 1 evaluate correctly and output my text but the 3rd does not. I realize that it would be better to check for the existence of a structure key explicitly but I am trying to use this approach for a massive refactor of some legacy code. It is stumping me as to why the 3rd method doe
Hello, all,I've got CF code that is being used with a SELECT tag (multiple attribute), and it seems as though the SELECT tag is ignoring the selected attribute for the child options.For example, I have code that will generate the following HTML: <select name="selectA" id="selectA" multiple> <option value="">ALL</option> <option value="Option 1" selected="selected">Option 1</option> <option value="Option 2">Option 2</option> <option value="Option 3" selected="selected">Option 3</option> </select> But when the page loads, none of the options are selected. Any suggestions? What am I missing, here?V/r,^_^
My test server is Windows 2003, IIS 6 and CF9.0.2 with SQL Server 2008.About 3 months ago, I got some pushback from security about the ownership of the directory I had installed CF on. So I had to change the ownership of the drive. Not a big deal.About 4 weeks ago, I started receiving a "Error while executing task 403 Forbidden" in the scheduler.log file every time I ran a job via the scheduler. So, I figured it had something to do with my recent change in ownership. I uninstalled and re-installed CF9. Still getting the same problem. Not a big deal I figure just a test server and I an due to upgrade in March, production is on Windows 2008, will upgrade to Windows 2012, CF11, etc. . . . . .Come today and I have a production problem and I need to run a test file via scheduler. I forgot that the scheduler is throwing "Error while executing task 403 Forbidden" when any job is running. I go out to search the Windows logs, and low and behold, s
Does anyone if it is possible to manually set the CGI.HTTP_REFERER? If so, how do I accomplish it?
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.