The official community for ColdFusion.
Recently active
My old code would print a certificate for a user once they pass a test stored in an Access Database. Once the provider upgrade to CF10 the cf_pdf changes to cfpdf and then that is where i get lost. This code no longer works and I do not know where to start to make this work. Any suggestion would be helpful. Once I change the tags to cfpdf, then I get more errors such as DDX which is new to me.--------------------<cfif GetAuthUser() is not ""> <cfquery datasource="GetHelpNow" name="Get"> SELECT * FROM Users WHERE user_id = #GetAuthUser()# </cfquery> <cf
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7fa9.html
I'm in the process of converting my personal website from PHP to CF9 (I wanted CF10, but apparently CF10/Linux is hard to come by), and when importing my existing blog posts into the new database, I've wound up with unexpected date stamps for the posts.A post from November of last year has turned into August of some 5-digit year. I'm assuming this is a unix time thing, and since I'll be using #now()# for future posts, I'll need to convert the existing posts to use the new format.I'm thinking I can just do an update query, but I have no idea how to turn the existing timestamps into something that DateFormat() will be able to format correctly. Any advice?
I set up the following SELECT * test on a table with a huge number of rows, just to make sure the query would run over 1 second:<cfquery name="test" datasource="#ds#" timeout="1"> SELECT * FROM request_stats</cfquery>The debugging info indicates that the query took 2539ms, but instead of throwing an error the query ran & returned results. Maybe I am not understanding how the timeout attribute should work? The CF docs indicate that "Because the timeout attribute only affects the maximum time for each suboperation of a query, the cumulative time may exceed its value" -- but does a simple query like this one have suboperations? I'm using CF9.
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c6e.html
Hello, everyone.According to the CFML Ref for CFFILE/UPLOAD, "The browser uses the file extension to determine file type."We all know that this isn't the most secure way of determining a file mimetype. Has anyone discovered or invented a way to have CF Server actually look at the code of the file being uploaded to determine the mimetype?Thanks,^_^
We have recently upgraded to CF10 on a new server install of Windows Server Web 2007 32 bit IIS 7.Our Google checkout callback section has stopped working and it seems to be a CFHTTP problem. The cfhttp outgoing/GET calls work fine, it's just incomming/POST calls that don't work. We have replicated this with the following code. <cfsavecontent variable="strXML"><?xml version="1.0" encoding="UTF-8"?><new-order-notification xmlns="http://checkout.google.com/schema/2" serial-number="725311029182564-00001-7">...</new-order-notification></cfsavecontent><cfhttp url="http://zzz.cfm" method="POST" result="objGet"><cfhttpparam type="XML" value="#strXML.Trim()#"/></cfhttp >Posting to external services like our bank and UPS work, even over SSL. So I don't think it's a certificate issue especially as it fails with both https and http.In the HTTP log we get what you expect when using GET to an external server, and works on our internal server"Informati
I've installed ColdFusion 10 on my Windows VPS, running IIS 7.5. The VPS is managed through Plesk 11.Everything works great if I'm just trying to access an HTML file as shown here: http://broncotime.info. However, if I try to access a .cfm page, I get a login screen that prompts for my User Name and Password, see http://broncotime.info/index.cfm If I hit cancel while logged in locally on the server, I'll see the error message:HTTP Error 401.3 - UnauthorizedYou do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.Error Code: 0x80070005Physical Path: C:\Inetpub\vhosts\econsummit.secureserver.net\broncotime.info\index.cfm From everything I've read, including the on-page 'likely causes', it's an issue where the user doesn't have the correct permissions. However, I've updated all the files within C:\Inetpub\vhosts\econsummit.secureserver.net\broncotime.info\ and c:\ColdFu
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7995.html
in the mail server setings CF10 will not let me submit domain\username in the user name field and shows domainusername without the backslash.
Im using CF MX7 for my website. And since this version doesn't support cfimage tag, I looked for other helpful CF commands to resize photos. Then I found this imagecfc object. It somehow helped but not for long. Since it constantly giving out of memory errors to users, I decided to abandon it. Now here's the problem. Some users (not all) uploading photos in my site were still able to resize photos although I have removed that CF component to my code. How did that happen?Please help. And do you have any suggestion to how to resize photos in MX7?
I'm trying to get a form with three connected <cfselect> statements. The code works in all browsers except IE. Does anyone have any suggestions.When it runs in IE I get the following error.bind: Bind failed, element not found: specGroupIDbind: Bind failed, element not found: specCategoryIDCFSELECT Code:<cfform name="specCategories" id="specCategories"> <ol> <li> <label for="categoryID">Category</label> <cfselect name="categoryID" id="specCategoryID" &n
i am a little confused with CF10 as far as how to configure the CFAdmin such that it displays error messages in the browser. Is it possible to display error messages in the browser to specific IP addresses, but show all other users standard error handling messages?
I'm using CF 8 and have a simple script that uses cfexecute to invoke a FoxPro executable that resides on the server. The server is a Windows 7 machine, and when I call the script from the browser I can see the process running in Task Manager but it is hung and doesn't do anything. I have to manually kill it. No errors are being generated that I am aware of - no errors reported in the Event Viewer or in Process Monitor. Coldfusion is running the process under the System account, so I think it should have plenty of privileges. The cfexecute statement is: <cfexecute name = "C:\Temp\Simple.exe" arguments = "" outputfile="c:\temp\Simple.log" timeout = "30"> </cfexecute>Any help will be appreciated.
Hi,The Server monitor in ColdFusion 10 is showing the Cached query count as 12212 (and rising) even though the Maximum number of cached queries is set at 9000, how can I stop the actual Cached Query count from exceeding this limit and just exponentially growing?Many thanks,Chris
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c6e.html
I just installed cf10, in developer mode with the stand alone server, on my window7 machine. I can access the admminstrator/index.cfm or homepage.cfm from CF and they view fine. When I access one of my previously generated index.cfm page, none of my external css stylesheet settings work. Infact I tried adding the css setting directly and linked an image directly, nothing is showing. This is my path: C:\ColdFusion10\cfusion\wwwroot\CFIDE\HTML\clarkmedia\index.cfmWhat am I doing wrong?
I'm working in my dev environment on my macbook pro. It is setup like this:CF 10 and sql server running on parallels 8. I run cf builder on OS X along with Cornerstone for Subversion control All my web files are located on my mac os x hard drive. My web app has several forms in which you can upload files. I can not seem to figure out the right path to put in the destination field for cffile. I have tried /path/to/location/ format but it does not work. Any ideas?Thanks in advance.
Two machines, both fresh ColdFusion installs. Set up a Gateway Instance named cfflexgw. Point it to a working CFC and the local cfg file. When I send a simple message to the gateway, I get the following error:Unable to find the Flex adapter for destination ColdFusionGateway in the RMI registry on localhost:1099. Multiserver 9.0.2. Using the base cfusion instance, and I did not alter any of the xml config files yet. This code worked on 9.0.1 (and is still working) in OSX 10.7. I also tried a stripped down CFC and message. Any help yoiu can provide is appreciated! Remoting is working fine BTW, just not sending message from CF via the ColdFusionGateway.Thanks,Nic
Hi.I've created a simple class in Scala and packed it into a .jar file. I have no problems loading it into ColdFusion and running its methods.Here is a copy of cfdump of the created object:object of example.HelloWorldClass Nameexample.HelloWorldMethodsMethodReturn TypeCountry()example.HelloWorld$Country$cn()example.HelloWorld$CountrycountriesList()scala.collection.immutable.ListcountriesMap()scala.collection.immutable.MapgetCountryByCode(java.lang.String)scala.Optionja()example.HelloWorld$Countryru()example.HelloWorld$Countryus()example.HelloWorld$CountryBut I have problems with isInstanceOf function with this object. If I run:HelloWorldApp = CreateObject("java","example.HelloWorld");writeOutput(isInstanceOf(HelloWorldApp,"example.HelloWorld"));I get false as a result, but it should be true, right? The class does get loaded properly by CreateObject function.Is there a workaround? The cfdump tag somehow manages to get the proper type of the object which it displays in the Class Name fie
I install CF 10 on my Win 7 64 bits Home edition which works fine for a while.I just got the error message while I want to access it "Service Temporary Unavailable!The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.32 () I tried to reboot computer, but get same error message.I would like to know how to find the problem and to fix the issue.Your help and information is great appreciated,Regards,iccsi
I have a new Windows 7 Ultimate x 64 dev machine. I installed IIS with the .NET Extensibility, ASP.NET, CGI, ISAPI Extensions, and ISAPI Filters checked. Then installed CF10 64 bit and ran the Webserver Configuration Tool telling it to install All websites and allow 32 bit. I ran the mandatory manual update, then the automatic ones.I create an index.cfm in the default website and can hit it via localhost/index.cfm. Things seem good. I then create a folder called "greg" and an index.cfm in there. I can hit it via localhost/greg/index.cfm. I have a domain pointed to my location and forwarded port 80 to this server. From outside I can hit greg.mydomain.com and I get the index.cfm GREAT! But if I specifically go to greg.mydomain.com/index.cfm I get a 404 error. I CAN however hit the index.html in that dir like this greg.mydomain.com/index.html.What does this mean?
This thing work? Trying to configure a connection with Apache and keep getting that mod_jrun22.so connector problem that seems like people run into. Wondering what the latest is with this?
I've been trying to get a longer summary from Solr in CF10.In CF9, I had to stick with Verity due to the very short solr summary length. Now I don't have that choice.I'm very happy with Solr's speed, but need a longer summary.The doc shows several attributes that would seem to make a difference ( contextPassages, contextBytes ) but they don't seem to have any affect.FWIW, I also tried contextHighlightBegin and contextHighlightEnd, and they didn't seem to work either.Am I doing something wrong? Has anyone made these to work?Your helpful reply is appreciated!- Don
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.