The official community for ColdFusion.
Recently active
Greetings All,I was just recently upgrading my servers and ran into some trouble. I had ColdFusion 8.0.1 Standard up and running just fine on Apache 2.2.11 on a 64-bit CentOS 5.1 server. I got a new server, install CentOS 5.3 64-bit and then OpenSSL, Apache 2.2.11 and then tried ColdFusion 8.At first CF8 wouldn't install because the httpd binary I build was 64-bit, something I had never had a problem with before. So I recompiled apache with export CFLAGS=-m32 first and that got me a 32-bit apache httpd and ColdFusion would install.Once I started the ColdFusion the apache connector failed. I remember this problem from ColdFusion 7, but I don't remember ever having this problem with 8. I've look through all of the 64-bit related information and nothing works for me. I continue to get stuck trying to compile the mod_jrun22.so by hand. Here is the output when I try to compile it:/Error running "/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22": exit code was 1Could not build Apache2 we
I have two variables date_end and Date_end_time. The form when being dumped is setting date_end to a {t 00:00:00} and not passing the date. When i look at the scope i see:DATE_END=01/01/2014DATE_END_TIME=but when i dump the form i get:DATE_END{t '00:00:00'}DATE_END_TIME[empty string]When i dump the form in application the variables are corect. Is there some funky coldfusion bs going on? like _required? this is annoying.
When we do a query.columnList on a table that contains a geometrydatatype column it errors with unsupported data type. This does notseem to be fixed in CF10 - Update 11. Have you heard of this, seenthis or have a solution to this issue?Super easy to reproduce, just create a table with a geom or geographycolumn, run a query Select TOP 1 * FROM TABLEWITHGEMO, whatever andthen do the queryname_columnList which normal returns column namesthat you can loop through (as you most likely know).
Coldfusion Builder 2 won't turn off Auto-Insertion of Matching Characters , even though nothing is checked in Typing Preferences. For example every time I type " or ' I get "" or '' Does anyone have this problem?
Small Cold Fusion shop and our setup has long been that we've each had our own CF server (development version) on our desktop that we developed against. We are being forced to move to a single server environment so I am researching best ways to do this. The first thing that jumped out was that we'd need multiple instances of the server so that each developer could hose/restart/etc their CF service. That obviously points to CF Enterprise and it's hefty price tag. After some research, it appears that the developer version WILL work the same way as the Enterprise version (multiple instances), with the same limitations as dev (localhost and one other IP address). This sounds like a much better solution, but I just wanted to confirm - is it safe to assume the ip restrictions are per instance? Seems it'd be silly to allow multiple instances, but still limit the ip's at the overall server level. We'll be looking for a setup where developer 1 (and thei
Hi,We seem to have run in to a problem with two CF instances having high CPU usage after 1-2 hours.We have three servers, two of which are back ends to a load balancer, the third is just on its own. They all have the default installation of CF 11 Enterprise running on W2012 R2 / IIS 8I noticed that CF installed on the two backend servers started using a lot of CPU (30-40%) after a couple of hours, then as time went on further so did the CPU usage. If left overnight it would be hitting 100% constantly.These are fresh installs and have no content being served except for the default web site in IIS. So this rules out dodgy code etc.All three servers have the same software installed on them and the same IIS configuration. I went through the CF 11 lockdown guide to see if this would make any difference, the issue occurs with or without the changes in this guide. I have changed the jre to a different version and this has made no difference. I have made changes recommended for the workers.pro
Has anyone ever had a problem with winmail.dat files while reading attachments from cfpop emails? Is there a way to parse these out and get the attachments (excel, word, pdf etc..) out of the email?
I have ColdFusion 10 Developer edition. It has update 10: version number is 10,10,10,284825. The server does not run scheduled tasks. If I choose "run" from the scheduled tasks window, it says "the scheduled task was completed successfully," but does not do anything. The task is supposed to create a log file. When I run the CFM file manually (by typing its location in the browser), it runs. What am I doing wrong? One more thing - the site uses https, and the certificate may be out of date. Could that prevent CF from reaching the page?
variable application is undefined
Has anyone had issues with cfspreadsheet where a sheet has formatting issues when the sheet is added as a additional sheet using the update action, while the same sheet looks fine when the sheet is the first or only sheet added using the write action?I am using CF 10.
Hi everyone. I'm trying to get 2 drop down menus to each have something selected when the form is submitted. I'm using javascript for this, but I can't get it to work. Basically, if one is blank and the other one isn't, I want an error to pop up saying they have to fill in the one that is blank and vice versa. What am I doing wrong? Here's what I have for the javascript and on the form below. My 2 drop down names are Mfg_Spec_Prod_Approval_Initials and Mfg_Spec_Prod_Approval_Rev. Thanks for anyone's help!Andy<SCRIPT LANGUAGE="JavaScript"> function verify() { var partNumber = ''; var ecoNumber = ''; var ProdInit; var ProdInitValue=''; &nbs
Hi,I'm just working on Migration CF10 -> CF11 and reallized that some figures are display like date.So check and the debugging ends on that:CF 10 :parseDateTime("2000") => Exception "2000 is an invalid date or time string."CF 11:parseDateTime("2000") => {ts '2000-01-01 00:00:00'}Sound really strange.Regards.More experimentation in CF11:parseDateTime("999") => Exception "999 is an invalid date or time string."parseDateTime("0999") => {ts '0998-12-27 00:00:00'}parseDateTime("1000") => {ts '0999-12-27 00:00:00'}parseDateTime("1582") => {ts '1581-12-22 00:00:00'}parseDateTime("1583") => {ts '1583-01-01 00:00:00'}...
Hello,We have an application running using ColdFusion 8,0,0 and are planni gto upgrade to ether ColdFusoin 10 or ColdFuson 11.I am less familiar with both vesions (10/11) so I wonder:Are there any compatibility issues (e.g. deprecated tags / functions) when moving from CF 8 to CF 11? Is ColdFusion 11 mature enough to migrate to from CF8?And also: what is the lifcycle of CF 11 vs CF 10?Any tips / pointers are welcome!
Hi,Please help, I m struck with this for the past 2 days.Basically i have big query and with cfoutput and group attribute; i m displaying hte results..It has 4 levels of grouping.Also, the grouping column will be different every time the user choose it.so I'm building an array to do it.Suppose the user choose only 3 columns, I'm manually adding the 4th column so that array has 4 values all the time.At time, i m getting this error, the column name is invalid.Your help is highly appreciated.<cfoutput query="mtburbycust" group="#lstSQLOrderBy[1]#"> <cfif currentRow EQ 1> <cfset rowColor2 = 'CECE9E'/> <cfelse> <cfif isdefined('Prevcolor')>&n
I would like to create a function for my clients to create a custom page URL similar tot what Wordpress can can do. So my client's can customize the page URL info for example http:/www.novospa.ca/guinot-skin-care-products/ Is this doable and how would I do it?
Is there a way to integrate Amazon to Cold Fusion so the persons products entered in the site will automatically be added to the amazon store as well?
Trying to roll this server into production but keep having errors popup on Event Viewer:After dealing with the issue of not being able to restart the CF service and applying the hf1100-3776060.jar hotfix - I continue to receive the following error====================The description for Event ID 3 from source ColdFusion 11 Application Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.If the event originated on another computer, the display information had to be saved with the event.The following information was included with the event: ColdFusion 11 Application Server3284the message resource is present but the message is not found in the string/message table=====================Any help will be greatly appreciated!Thank you!
I can't seem to add a datasource. I have a Microsoft Access database (typical mdb file), and I can't add it as a datasource. I keep getting an error.Unable to update the NT registry.Variable DRIVERPATH is undefined..
We use dynamic text on our websites.The dynamic text available in different languages is stored in structures in the Application scope. Each resource bundle has its own variable to store its variables. They can be called using the following format: #Application.StructName[Session.locale].Variable#The first part is the name of the structure variable. With brackets, the variable for the locale is passed in, specifying which part of the structure to use. The last part is the specific variable within the resource bundle to use. If we add new variables in the Application Scope will not be immediately seen. The application scope can easily be refreshed by calling any page in the website and adding “refresh” as a variable in the URL. This is the Application.cfc function to refresh the application scope:<cffunction name="onRequestStart"> <cfargument name="requestname" required=true /> <!-
Hello,does anybody know whats wrong with this basic code?Whatever I post to this API, I always get back the API itself.. Strange. Maybe someone could try this code?<cfhttp method="POST" url="https://sandbox-soap.billsafe.de/wsdl/V211" result="httpResponse" > <cfhttpparam type="header" name="content-type" value="text/xml" /> <cfhttpparam type="header" name="charset" value="utf-8" /> <cfhttpparam type="header" name="accept-encoding" value="no-compression" /> <cfhttpparam type="xml" value="anything" /></cfhttp>Normally I put SOAP-content in the last cfhttpparam-tag but the API doesnt care about what I'm posting so I think the problem is anywhere else.I tried to deal with the api using SOAP-UI, that wor´ks.Any Ideas?Thank youProblem is more detailed described here: SOAP-API is not talking to me
So I have decided to try CF11 because of an official outstanding CF10 bug.Once I installed CF11, I get an error when running code like this:<cfquery name="LOCAL.stat_questions" datasource="#APPLICATION.dsn#"> SELECT survey_questionID FROM tbl_survey_questions ;</cfquery><cfset LOCAL.this_statID = 1><cfquery name="LOCAL.subset" dbtype="query"> SELECT survey_questionID FROM [LOCAL].stat_questions WHERE survey_questionID = <cfqueryparam cfsqltype="cf_sql_numeric" value="#LOCAL.this_statID#"> ;</cfquery>The error I receive is: "Query Of Queries syntax error. Encountered ";. "If I remove the semi-colon... No error! Is this a bug, or was
All of a sudden on my server the call to a cfc webservice wsdl (in production) is not returning the variable names in the wsdl.Instead of the variable names in the function as defined by the cfarguments, it is returning variables named in0, in1, in2, in3. <wsdl:message name="getAccountInfoRequest"> <wsdl:part name="in0" type="xsd:string"/> <wsdl:part name="in1" type="xsd:string"/> <wsdl:part name="in2" type="xsd:string"/> <wsdl:part name="in3" type="xsd:string"/> </wsdl:message>the real variable names as defined in the CFC are EmailAddress, Token, ServiceUser and ServicePassword.Calling the same cfc wsdl on the same server in the development site returns the proper variable names.<wsdl:message name="getAccountInfoRequest"> <wsdl:part name="EmailAddress" type="xsd:string"
I started getting errors: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The MailSpool service is not available. This exception is usually caused by service startup failure. Check your server configuration. It started happening after installing newest windows updates. I cannot even acces CF administrator. Windows Server 2008 R2 Enterprise ColdFusion 9.0.1
I have a stored proc in Oracle. One of the input params is a defined type (see below). The error I get whenever I call the cfstoredproc is "expression is of wrong type ORA-06550". It's a formatted varchar, it's a table column. There's no CFPROCPARAM type that matches that.The type is a package-defined specific format (table column): EMAIL_ADDRESSES_TABLE.USER_ID%TYPE. The table column USER_ID is: USER_ID VARCHAR2(8 BYTE). The USER_ID is a 0-padded numeric, like '00001234'my call: <cfstoredproc procedure="PK_EMAIL.get_emails" datasource="#MYDSN#"> <cfprocparam type="in" cfsqltype="CF_SQL_VARCHAR" variable="p_user_id" value="#formattedUserId#"> <cfprocparam type="in" cfsqltype="CF_SQL_NUMERIC" variable="p_active_only" value="1"> <cfprocresult name="spResult"> </cfstoredproc>the stored proc function: FU
I am trying to show a cfchart within cfhtmltopdf tag. The chart shows correct on pdf, but when I mouse over the data, a pointer would show up and url is this page's relative path. Is there a way to turn off this url link?Thanks in advance.
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.