Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
I have used CF for many years, but every action always takes place by hitting a submit button and loading the next page. I need to work on a project that involves having a slider and a toggle button that update a database in realtime (without reloading the page). I would also like the ability for elements on the page (like text values) to update in realtime based on what is in the database. Can someone please help me get started on how this sort of thing is done?
hi all!i want to access my http://localhost:8080/cfusion_dev/CFIDE/administrator/index.cfm from outside.i already configure my router to port forwading 8080 but still i cant access?i have windows server 2012 r2 operating system..guys can you give me a instruction how to fix this..thank you!regards,boygie
HiI'm trying to get Coldfusion Builder's ORM CFC Generator to build my cfcs but when I click the Generate button after setting my table relationships I get the following error:Error : Event handler exception.. coldfusion.runtime.CfJspPage$ParameterNotFoundException: The required parameter SESSION.ORMTABLES was not provided.I have an Application.cfc with sessionManagement=true, name is set, ormenabled is true and ormsettings specs a database.What am I missing?Thanks,Rich
HI Everyone, I am really hoping this is an easy question to answer because I have been searching everywhere and all I try is not working.I have a SQL query (created by Oracle DB) that creates multiple cfchartseries using date as the column item and a number for the value. My issue is there are null values for the value field but I need it to plot<cfchartseries label="LRF" scales= "x,y" > <cfloop query="qTrend"> <cfif qTrend.LRF gt 0> <cfchartdata item="#qTrend.report_date#" value="#qTrend.LRF#"> <cfelse> (i have tried: &nbs
Hi all,We are having the problem that the website on a CF9 Instance-server will not start.As far as I can see in the system-logs, the CF-engine as such starts fine, but we get no response from our application, and nothing in our application-logs.Background:We have some CF9-installations running on very old Windows servers. We are in the process of migrating to newer Windows-servers.One server is a one-website server (non-Instance). This application starts just fine on the new migrated-to server.The server that should run 5 websites on a CF Instance-server, will not start the application, but on the old server it runs just fine.Setup:We are having the IIS as a front-end, and forward to the different CF-web-sites based on different URLs.We have checked that *.cfm-documents are at top of the Documents-list, and that the Handler for '.cfm-files points to the correct dll (C:\JRun4\lib\wsconfig\jrun_iis6.dll).We are running the site on a Developer-license until we have verified that CF9 is o
Hello everyone! We have a few applications running on Cold Fusion 9 and running off of an Oracle 11g database. I'll be honest and say that I don't have much experience on the administration side of things as a database developer and don't use CF much, but the responsibility to support this has been thrown on my shoulders. Our DBA is upgrading our Oracle server to Oracle 12 C. She has already created the new Oracle 12c instance and has migrated our old database to the new database. I can telnet into the new 12c database from both my PC as well as the application server that has CF9 on it, so I know its up and running and there are no firewall issues. I can connect to the new server in SQL Developer just fine and have already tested read/write privileges.Everything on the database side has been mirrored from the old 11g server. When moving the CF applications to the new server, all I am doing is pointing the application to the new sever using CF administrator as the upgraded database ser
I'm on CF10.We need to develop a downtime process for data we maintain on our site. I know I can send the info to an email address on a regular basis, but we also need to plan for a catastrophic network failure where we can't access our email.Can CF send a report to a network printer? Then we could schedule it to print every X hours. This is more than we would need for this particular process.Thanks
I suspect it's a lot more simple that I'm making it.I want to add 48 hours to a date that is stored in a table. I first query the database (MS SQL), then insert the new date into a different field in the same table.I tried this:<cfset good_until_date = DateAdd('h', 48, good_date.cc_TIC_fridge_start)>The date that was in the database was: 2017-04-11 18:37:00.000 (this is the date I want to add 48 hour to)The new (wrong) date is from 6 days prior: 2017-04-05 17:52:00.000CF10I'm sure I've done something wrong. Any guidance is appreciated.Thanks!
Hi!We are searching for experienced Adobe ColdFusion developers. Here you can find what we can offer and our requests as well:We are looking for a software developer with ColdFusion knowledge. You are going to... develop a system for recruiting blood donors in the USbe helped by a whole team of testers and documentation specialistswork for a major company in the American blood and plasma donation industrycreate software that helps to save livestake part in further improving an application of a long and respected history You are required to have… Active knowledge of English5 years of ColdFusion experience at leastbasic level knowledge of MSSQL/ORACLE databaseCheck us out!An IT company with Outsource and R&DFrom a Start-Up, we became a stable firm employing more than 100 colleaguesWe have 4-5 colleagues work on the same project in one office We love working at Synthesis-Net because of…… great team (74% of our colleagues gave maximum points to “te
Previously, if you specified name on cfchart, it would supress display of the chart, save the chart to the variable specified in name, and then allow you to write that variable to a file.That no longer works. As far as I can the name parameter is now ignored, the chart is displayed regardless, and variable is never set.What's up with that? Was that parameter removed and not documented, or does it work differently in CF11? How can I get the previous behavior?
I have created a simple horizontal bar chart using cfchart by following code:<cfchart chartheight="300" chartwidth="400" showxgridlines="no" showygridlines="no" showborder="no" fontbold="no" fontitalic="no" show3d="no" rotated="no" sortxaxis="no" showlegend="no" showmarkers="no" format="png" scalefrom="0" scaleto="5" font="arial" fontsize="14" xoffset="290" ><cfchartseries type="horizontalbar" serieslabel="Ratings" seriescolor="yellow" > <cfchartdata item="Overall Average" value="4" > <cfchartdata item="Peer" value="5" > <cfchartdata item="Direct Report" value="3.7" > <cfchartdata item="Other" value="2.7" > <cfchartdata item="Manager" value="4.2" > <cfchartdata item="Self" value="3" ></cfchartseries></cfchart>Also, I'm chart is getting generated but if I'm loading the same image in a new tab then it's failing to load with 404
Installed CF 2016 32 bit version (developer edition) on a Windows Server 2012 R2 64 bit. When trying to invoke a 32 bit C++ CFX tag I receive the message "The CFX custom tag CFX_XXXXX was not found in the custom tag database". The CFX tags are located in the CF_Root\cfusion\CustomTags directory. The CFX are registered in the CF Administrator. File permissions allow CF to access the directory. I have exhausted my ideas of what could be wrong! I don't have the problem in CF 11 (same setup, just CF 11 instead of CF 2016). Does anyone have any ideas?
I'm posting this for others that may follow or are having performance issues with CF12, although this probably relates to CF11 too. I was having issues with my migration from CF10 to CF12, specifically around memory management. This is going from Java 7 to Java 8, so my JVM.config settings didn't carry over and the defaults were negatively affecting my apps performance. I'm not pushing Fusion-Reactor specifically, I don't get paid by them, but it’s one of the first tools I recommend to those running CF. You really have to monitor your app to know what it’s doing. One of the things I really like about this tool is the section that monitors Memory Spaces. This changes based on the type of GC you’re doing. My app performs best with -XX:+UseConcMarkSweepGC -XX:+UseParNewGC , so I have CMS Old Gen, Code Cache, Compressed Class Spaces, Metaspace, Par Eden Space and Par Survivor Space available in the tool. I tried -XX:+UseG1GC, but it was sporadic. I may revisit it later, but it just wasn’t
The site I manage is spit into four directories on our web server, and most of the code to get things running is leftover from CF6. As such, each of these folders contains an application.cfm file, but the only thing that file does is <cfinclude> our master file. (I can't have an application.cfm on root, because that would hit folders that belong to other people)I'm getting ready to do a complete facelift on all of our pages, so I think this would be the perfect time to update the code and bring it into the 21st century. One of our current problems is that we have header and footer includes in each file, and those includes get hosed sometimes when we do global search replaces. I'd like to use Application.cfc to bring the header and footer includes into the page (which I've successfully done before) and leave those includes off the page.My biggest challenge will be getting the new Application.cfc files to do the same thing our current master file does (I think I'll need
When you try to download the CFB 2016 Trial Edition nothing happens.Any ideas?
Hello,We have ColdFusion 11 installed and working on production Windows Server 2012 R2 server. Search Services and Solr were not initially installed. What would be the steps to add them now? Is there a simple way to do it on a running system?Your input and advice are appreciated!
The following codes take more then 12 hours to run for only more than 300,000 records in the table. How do I speed up the process? Is there another way to generate the json object and feed into the cfhttp in a faster manner? Thanks.---------------------------------------------------- <cfquery name="getData" datasource="#request.dsn#"> SELECT District, Route, DateTime, Site, TicketNumber, Tons, CommodityCode, GeneralCommodity, DateCreated FROM tSolidResourcesTonnages </cfquery> <cfif getData.recordcount gt 0> <cfloop query="getData">
First of all, I know nothing about Cold Fusion. Long ago our company had setup a few Cold Fusion web servers using Cold Fusion 8. Our Cold Fusion developer was downsized, but the web sites continued to be used. Well, now we need to upgrade those servers. What is the process for going from Cold Fusion 8 to 2016? We are planning on setting up fresh VMs and installing Cold Fusion 2016 from a fresh Windows install and just moving all the files over. Not knowing anything about Cold Fusion, will this work? These are pretty basic web pages for the most part. There are some forms. Any help to get me started in the right direction would be appreciated.
Hello, all,It seems that the performance issues haxtbh mentioned regarding reverse DNS lookup on CF11 is way worse than I expected, and apparently not a problem in CF10. OR, it could be a certain unwelcome 'bot'. Which brings me to another question.Instead of the CF method of reverse DNS (as it pertains to cgi.REMOTE_HOST), is there a way to get Apache to do the reverse DNS lookup and pass that along to CF?! ! ! OR ! ! !Is there a way to cache the reverse DNS value (cgi.REMOTE_HOST) so that it can be fed from memory?I suspect that it is the dreaded LegiStorm bot (legibot) that is causing our issue of our metrics query timing out ("The request has exceeded the allowable time limit Tag: CFQUERY "). The error email includes the agentstring "LegiStorm Bot (http://www.legistorm.com/legibot.html)".I think the bot is hitting our server hundreds of times a second (just a guess), causing our DNS lookup to do the same, and the target server is blocking the request after x numbe
I wanted to recently switch to apache and leave IIS out of my equation...having nothing to lose, I archived my web sites and removed IIS support, uninstalled CF 11, added apache 2.4, switch to CF 2016 (this is all local only, windows 10 box, fully OS patched) and that was an epic fail.So back to IIS and CF 11...epic fail again. I can, in both cases, get to the administrator AND the default IIS root (localhost/) but when I create a site in IIS, I get no errors, just a blank site.I have been looking everywhere over the weekend and everything always seems to blame WSConfig or some missing "stuff" in IIS...maybe no jakarta virtual directory, etc., etc...but none of those things seem to be wrong. WSConfig seems to operate...the configuration directories have the files, IIS sites (all of them by my choice) have cfide and jakarta virtual directories created in them pointing to the right directories...manual checks on mime types, handlers, isapi filters...everything looks as both I
Guys,Anyone know, how can I solve this stub objects problem, follows below:The ws is hosted in a Linux environment.When I put the ws address in the browser, works without problem.Tks,Fabiano Magno Pechibella
Hi-I am trying to crate an api that returns JSON from a set of queries in function main.cfc when I try to run this main.cfc I get this errorSecurity: The requested template has been denied access to D:/home/windsorparking.com/wwwroot/szh/szh/myapis/toJSON.cfc.The following is the internal exception message: access denied ("java.io.FilePermission" "D:/home/windsorparking.com/wwwroot/szh/szh/myapis/toJSON.cfc" "read") ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem.My Calling Program getfares.cfm<cfparam name="form.userid" default="4"><cfscript>obj = CreateObject("component","main");qFares = obj.getFares(argumentcollections = form);//mydata = obj.queryToJSON(qFares) ; //myjson = obj.structToJSON(mydata);if(!findnocase("[",qFares))mydata = "[" & replace(qFares,"/","","All") & "]";elsemydata = replace(qFares,"/","","All");</cfscript><cfprocessingdirective sup
Hello,I come here once again seeking help on a problem that I can't find any information about. I don't have much hope as the last few times I've posted here I have not even gotten a response, but I don't know where else to turn when nothing on web searching is relevant.I'm trying to get my company upgraded to CF2016 from CF9. I've gotten around a lot of problems so far, but I've ran into another one. One part of our software needs to use <cfexecute to run some commands on the server. Specifically, SVN commands for our deploy to production process. In CF9 we were able to run <cfexecute without any issues.In CF2016, when I try to execute a file I'm getting:An exception occurred when invoking an external process.The cause of this exception was that: java.security.AccessControlException: access denied ("java.io.FilePermission" "/coldfusion_apps/deployer/test.sh" "execute").As you can see here, I've created a simple test.sh file for testing purposes.&nbs
Hi We have ColdFusion set up on two servers through a netscaler. The IP Address presented back to the CF server is always that of the netscaler, which means we can't enable debugging on a certain IP address, as all users will get the debug messages.We've configured the Netscaler to present the Client IP in a separate header variable (Client-IP). Is there a way of telling ColdFusion to use this variable for the debugging IPs, rather than (I presume) REMOTE_ADDR ?Thanks
We have a fairly large site that's divided into distinct topics. The site runs off of a single database that contains some page details, like the contact person for that page, along with some other info.Since I don't want to query the entire database every time someone hits a page, I use a cached query, and I do one for each topic (since some topics get a lot of traffic, and some get almost none).What I have looks something like this:<cfset request.qname = request.topicname> (this topic name is set in application.cfc)<cfquery name="#request.qname#" datasource="myDSN" cachedwithin="#createtimespan(0,8,0,0)#">SELECT....FROM...WHERE topicid = <cfqueryparam value="#request.topic_id#" cfsqltype="cf_sql_numeric"> (this topic ID is set in application.cfc)</cfquery>That pulls the info for all pages in the topic and holds it for 8 hrs. Then for each subsequent page visit in that topic, I have this:<cfquery name="details" dbtype="query">SELECT ...FROM #request
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.