The official community for ColdFusion.
Recently active
I have a strange problem that has started happening with an application. The application uses a client variable to store the users account number. I am using a SQL database to store my client variables. This doesn't happen with every user, but it seems to be increasing. When the customer logs into the website, I write the client account number. In most cases, client data is stored in the data column in the CDATA table as it should, but for some users, the data is not in there. The cfid/cftoken combination is there in the cfid field, and the app name is there in the app field, but the data column is empty. The strange thing is...when I monitor the log in, the data shows up for about a second when the customer logs in, but then it is removed. Any idea what could cause this to happen?
Installed CF10 dev edition, wtih internal web server on my laptop and desktop. Both 64 bit win 7 and did the servery updates. Laptop sees css file, while the desktop does not - same code base.I have reinstalled CF10 on desktop, but it did not fix the problem.Any ideas?Thanks,Sam.
I've been using CFEclipse for years, looking at CF Builder as an alternative.I installed the trial, been using it for a couple of days and like it so far, but I can't figure out (and I spent way to much time trying) how to get the CFML toolbar to show. I'm probably missing something very basic.Can anyone please point me in a direction?Using CF Builder on OSX Mavericks.Thank you
I am trying to multiply each element of an array by a number (5)Is there an easy way to do it or need to write a function for that?
Hello there...I have a very hard job to do here in the office...Documentation in general...So my problem is this (and i think it's somewhat complicated, at least for me)I have to scan about a dozen of thousands of applications (style: form) and then i have to save and name them.THE PROBLEM:The name of PDF has to be a application field-number, with many characters.I want this number to be pdf's filename while i'm saving....Conclusion: Because of the outrageous number of papers that have to be scanned, i lookup for a solution that will help me from spending time on writing each PDF's filenameThank you very much for your time..I appreciate any help...
HelloI need to count the number of values selected in a form.Here is my form dump:I want to count the values circled in red.So the number I want in this case is 5.Any suggestions?
I need to use Coldfusion 10 to develop my software and sell to my customers. How do I purchase this special license wich gives me the right to distribute CF10 license?Tks,Dario Machado
Hello,I am using CFMX 9 and while playing with the settings in Sandbox Security now I cannot get access to CF Admin. I get the following error:Security: The requested template has been denied access to createobject.Please help....it's urgent
The web service is written to return:<?xml version="1.0" encoding="utf-8"?><UserContactInfo xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns=http://tempuri.org/><Firstname>Nelson</Firstname><Lastname>Broat</Lastname></UserContactInfo>But somehow Cold Fusion 9 is seeing it as XMLData is org.tempuri.UserContactInfo@16259b42which must be why we have the prolog error.<cfinvoke webservice=http://ouripaddress/folder/servicename.asmx?WSDL method="GetUserBio" returnvariable="XMLData" refreshwsdl="true"> <cfinvokeargument name="uuid" value="#authuser#"/></cfinvoke><cfdump var="XMLData is #XMLData# output="console" /><cfset trimXMLdata = trim(XMLData) /><cfset tmpXML = XMLParse(trimXMLData) />This webservice was written in .net and runs off a 64-bit computer running Windows 2008 Server R2Is there something special we need to do here? The above
I am hesitant to try to change the JVM Arguments. In the past ColdFusion has failed to restart for me when I changed them. Any advice would be welcome.
Good morning, Is there a method which would allow me to create a ColdFusion report with a 2 page layout? On the odd pages (the front side), this page would include the data relating to the report and on the even pages (the back side) would include a legend and would be the same on every even page.Thanks,- Chris
I am doing some research on converting from CF9 to CF10. I have installed CF10 Developer Edition on my workstation. For some reason I cannot connect to the Mail Server from CF 10 Admin Page (Connection Verification Failed from Mail Server Settings page). It is working fine with the same settings within CF 9-I have both CF9 and CF10 Dev Edition installed. Has anyone else run into this? I am not having issues connecting to dbases or other external sources, so I do not believe it's a network connectivity issue, however in mail.log I am getting the error below: "java.net.SocketException: Network is unreachable: Connect" Why would this be a problem with CF10 and not CF9?
Hey Folks. Is anyone out there running CF10 on WASCE? I'm trying to.. it deploys ok it seems, but seems like there are a couple of issues during the startup:11/05 11:07:22 INFO Starting Flex 1.5 CF EditionNov 5, 2013 11:07:22 AM Information [main] - Starting logging...Nov 5, 2013 11:07:22 AM Information [main] - Starting license...Nov 5, 2013 11:07:23 AM Information [main] - Evaluation Edition enabledNov 5, 2013 11:07:23 AM Information [main] - Starting crypto...Nov 5, 2013 11:07:23 AM Information [main] - Starting security...Nov 5, 2013 11:07:23 AM Error [main] - Unable to initialise Security service: java.lang.NoSuchMethodError: org.apache.log4j.Logger.<init>(Ljava/lang/String;)VNov 5, 2013 11:07:23 AM Information [main] - Starting scheduler...Nov 5, 2013 11:07:23 AM Information [main] - Starting WatchService...Nov 5, 2013 11:07:23 AM Error [main] - Unable to initialise WatchService service: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is
I am trying to insert or embed and image into cfmail from a database-stored path to an actual image. The actual JPEG image is stored in a folder called "images_personnel". The path to the image under the column titled photopath is stored in my database table as "/file/images_personnel/28.jpg". Displaying the image on the screen renders without a problem, embedding the same image as part of a cfloop query does not insert/embed the image into an email. All of the other output of the same cfloop displays and emails just fine. However none of the photos of each personelle show up. What an I doing wrong?My code is below:<cfquery name="Staffreport" datasource="master">Select staffreport.*, name.personnelid, name.email, name.last, name.noiid, stafflt, CONCAT(name.fname,' ',name.middle,' (',name.last,')') AS teammember, CONCAT(name.fname,' ',name.middle) AS teammember2, concat(name.photopath,'',name.photo)as hisphoto, stafflt.*, trim(concat(ltfname,' ',ltmiddle)) as LT from Staffreport,
Hi,When I installed CF10, I selected the option in the installer to install the documentation. However I cannot see any sign of it on my PC.Where does it put it? I realise I can access it online, but I have always found it much more efficient to have an offline copy running on my local server.Alternatively, is it possible to download the docs as a zip file and install them locally?Regards,Andrew.
I am using Coldfusion MX and trying to access a shared folder across the network for listing its contents using <cfdirectory>Even though the shared folder is accessible via normal windows actions (i.e., got to run and type \\server-name\folder-name, i am able to view the contents and access the folder contents) but unable to access via cfdirectory. Also DirectoryExists() method returns false. This is so weird.I have checked the share properties for the folder in that server. everything seems fine as i am able to access the shared folder via windows. Clueless as to why cfdirectory doesn't recognise this folder in remote server.Can someone help with this issue?
I guess EWS is the way to go since Adobe bailed on the CFexchange tags. I need to access my mail/calendars on a hosted exchange server. I'm using CF 9.0.1 with hotfix4 and Java 7. Here's the error I get;Error:Could not log in to the Exchange server. ________________________________________connection="exchangeConn"server="EXVMBX016-5.exch016.msoutlookonline.net"username="exch016\j_ttt"mailboxname="j@ttt.com"password="[removed]"Protocol="http"port="80"formbasedauthentication="TRUE"formbasedauthenticationURL="https://owa016.msoutlookonline.net/owa/auth/logon.aspx"Here's the code I copied from this forum;<cffunction name="EWSAddEvent" output="false" returntype="Boolean"> <!--- EWS added by vjl 2013/10/31 ---> <!--- CFExchange in CF server 9 or older will not talk with Exchange 2010 at all, it is promissed to be fixed in CF 10. &
I have over 2,000 emails in mySQL database with company names as well. Unfortunately, these subscribers do not enter the company name the same. So I came up with the idea to pull the company name from the right side of the @ symbol, ie: yourname@company.com. But try as I may, I have not been able to figure out how to do this. Can anyone help me out here?
I have an component called: Event.cfcLong story short, I init() it by issuing a command like:<cfset eventObject = new 'com.Event'() />This component has 2 properties: data (a structure) and name (a string).The init() method calls a private method:<cfset VARIABLES.setName( VARIABLES.getAttribute( 'event' ) ) />The setName() method is implicit, ColdFusion builds it based on the name attribute. I manually created the getAttribute() method which works with the data property. In the getAttribute() method, I have a command that reads:<cfset LOCAL.retVar = VARIABLES.data[ ARGUMENTS.attributeName ] />Well, CF keeps saying that 'data' does not exist in VARIABLES. But I thought that properties that were defined in a component were put into the VARIABLES scope. So how can this variable NOT exist when I have it defined at the top of the Event.cfc component as a <cfproperty>?
Hi AllHow to handle the multiple exceptions in the SOAP Response block as shown below currently i can the handle the description of the first exception by['soapenv:Envelope']['soapEnv:Body']['maintainUserResponse']['exception']['description']['XmlText']How to access both the exception description in the same manner ??
I'm in the process of re-writing a web app that someone else did a very poor job on, especially the database design.While examining the existing database, I ran into an "OutOfMemoryError: Java heap space" error, so I went into the CF Admin and bumped the setting from 512 up to 2048 (CF8 Developer Edition).Now I can't get CF to start up, and as such I can't get back into the CF Admin to change the setting back. Is there any way to fix this without reinstalling CF?
I recently started running CF10 on a totally clean Windows 2008 machine (VM) running IIS 7.5. I set everything up. On my old machine (non-vm) running CF9, Windows 2003, and IIS6 I never had trouble with the server monitor interface. Now, the interface will stop reporting every few mintues, and does not start tracking again unless I tab into one of the other windows and click some links then go back to the main interface. I have tried every web browser, and on multiple machines to make sure it's not a client issue, and it's not as far as I can tell.I even added my vote to the bug database here, which may or may not be related: https://bugbase.adobe.com/index.cfm?event=bug&id=3539667I do not use internal cache to store queries, nor do I want to. The ColdFusion application log file is no help because the rows are empty where they correspond to the times when the monitor UI stops tracking (see attached screen shot). ColdFusion-out.log does, however, provid
We are running CF10 on 64-bit Windows 2008 R2 (VMware) with IIS 7.5 and 8Gb of RAM. A pretty typical setup I would say. I am running a medium sized site and several smaller sites and an intranet, nothing too crazy. I have been doing some research this morning to make sure our setup is optimized, and I have a few questions.JVM heap is set to 2048 (min) and 4096 (max) with MaxPermSize=356m.Full JVM argument list looks like this if it matters:-server -XX:MaxPermSize=356m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186RandomI have read in multiple places that the min/max heap size should be EQUAL, and I have read that I should define a "PermSize" in addition to the "MaxPermSize".Can anyone confirm what is the best average ratio to use for all these settings given the system
In IE 7, the first tab's height is incorrectly rendered - it is the combined height of the up/down arrows in the scroll bar instead of the tab's content. The rest of the tabs are rendered correctly. I am using IE 8, and changed the Document Mode to: "IE 7 Standards." It renders fine in IE 8 or even Quirks mode.I'm not sure if CF 9.0.1 update created this problem. Can someone test this code on CF 9.0?Here's a very simple test case - copy/paste this to a new .cfm file and take a look on IE 7 (or IE 7 Standards mode in IE 😎<cfoutput><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><html style='height:100%;'><head> <title>CF Tabs Example</title></head><body></cfoutput><cfajaximport tags="cflayout-tab"><cflayout type="tab"> <cflayoutarea title="Tab 1"> &
I have recently updated from XP to Windows 7 and my edition of Adobe Photodeluxe 3 Home Edition will not load. I have successfully used Adobe for years and wish to continue using it with Windows 7. Can anybody help?
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.