The official community for ColdFusion.
Recently active
It's been awhile since I've done any CF and I'm baffled by the results I'm getting. I want to select all the records where the date is greater than or equal to today. This is with CF8 and an Access database. There are records for 9/25 thru 9/30. I can't get the record for today to show. <cfset dateToday = createODBCDate(Now()) /><cfoutput>DateToday: #DateFormat(dateToday,'yyyy-mm-dd')#</cfoutput><br /><br /><cfquery datasource="survey" name="test"> SELECT * FROM Images WHERE StartDate >= <cfqueryparam value="#DateToday#" cfsqltype="cf_sql_timestamp" /></cfquery><cfoutput query="test">#startdate#<br /></cfoutput>DateToday: 2013-09-26Results: 2013-09-27 00:00:00.0 2013-09-29 00:00:00.0 2013-09-28 00:00:00.0 2013-09-30 00:00:00.0Furthermo
Hi all,New serveur on W7. CF9 installed.Every day, need to kill JVM process saturing up to 1,5Go to liberate memory.How come that it does not come down. How to tune it in order to fit my trafic needs ?Thanks for your help,
Hi everyone. I have what I think is a simple query (see below) that pulls date information from a table. As you can see from the query, I want it to pull dates for anything greater than and equal to today's date and anything less than and equal to a date one week from today's date. This works, however, CF does not output any events on today's date; it begins outputting tomorrow's events. Can someone point me in the right direction as how to fix this so dates for today are output as well? Thanks!
I am considering migrating a ColdFusion 9 application from SunOS 5.10 Generic_148888-04 sun4u sparc SUNW,Sun-Fire-V890 to ColdFusion 10 running Red Hat Linux on commodity PC hardware in a Cloud server farm. Does anyone have any experience with this or something similar that they could share? Documentation would be much appreciated.
I need put some information on the report footer which data from other tables then the main report.It seems that report builder only accept one query, are there any way to let my report footer data to link another table or data source,Because they are differrnt structure, it will be difficult to put in same table structure.If I hard code the report footer then I need update the report cfr file every time the data change.Your help and information is great appreciated,Regards,Iccsi,
Back in June I installed the CF Builder trial on my work machine. 2 days later I had to uninstall it due to our software compliance policies. I *maybe* used it twice, and have been using our standard Eclipse (Juno) with CFEclipse plugin IDE. We are planning on migrating away from DW and will either stick with Eclipse/CFEclipse or move to CF Builder, if we can trial it!Fast forward to last week. All the issues have been taken care of, I'm free to install CF Builder and evaluate it for possible purchase by my team. I download latest trial install, go through installation, and am promptly told at first activation of the new install my trial period has expired!Yes, I did install it over 60 days ago, but I almost immediately uninstalled it once I was notified it was a no-no and did not use it.
translating word perf.w60from: wordperfect documentTo: word 4.05.0.5.1
Hello,So i have this fusebox3 application and i want to create friendly url's.. However i want to have a solution that works on both sides, on my development machine i have a local coldfusion installed with the internal server,on my prod envirionment it uses iis.. I was playing with the idea of adding a sort of FriendlyUrlServlet in the Jrun/cf chain so it can translate it into a correct path to processdid anyone tried this already? if this is possible ofcourse..or i could overload the 404.jsp page which should translate and redirect it to the correct page but i can't seem to find how to do it using the internal server.. or if somebody has a correct translation htaccess defenition for fusebox3?any other working idea's?ty
I have following code to use cffile upload a file.I am able to upload the file from client machine to server machine.The only thing is after upload file, browser refresh my screen using url string without paramer like http://www.myserver.com/myapp.cfmbut my original url ishttp://www.myserver.com/myapp.cfm?MyParam=1because it change url string, the browser data refresh, no more their and it does not recognize paramter either that I can not save information to database.I would like to know if there is any configuration need to do or coding to make file upload keep on the same screen or I have to have a separate form to upload the file.Your help and information is great appreciated,Regards,Iccsi,client side code:<cfinput type="file" name="fleAttachment" id="filAttachment" > <cfinput type="submit" name="btnAttach" id="btnAttache" value="upload"> <cfif isdefined("MyUpload")> file uploaded!
I have followign code to have my dropdown list, it seems that it does not refresh the list until re start the application.I have a create new button beside the list to let user create new records if it does not exsit.The create new record works, but the list does not refresh until next time to restart application.I would like to know is it possible to refresh cfquery on the select control when user add new record.Your help and information is great appreciated,Regards,Iccsi,<select name="Mylst" id="Mylst" > <cfoutput query="MySP"> <option value="#MySP.MyID#" <cfif (isDefined("form.MyID") AND form.MyID EQ MySP.MyID) >selected="selected"</cfif>>#MySP.MyName#</option> </cfoutput> </select>
In my continued attempts at learning ColdFusion, I've stumbled upon an area of components which has me asking more questions than the book is answering, so I am looking for clarification if possible. (Please correct me if I'm wrong)A component has a VARIABLES scope. This scope is private to the component and its methods. It also has a THIS scope, which contains variables which can be accessed by other components. Each method within the component has a LOCAL scope, which are variables that are seen by that method only. Hopefully I'm on the right track.I just got into a lesson on Accessors. So, these are get___() and set___() methods which are created once we put the accessors="true" attribute on our component. And they look at properties that are defined to determine which accessors to create. So, I've tested and I can call a component from another location, like: REQUEST.coms.response.getPropertyName() and sure enough, it returns the value.&nbs
Hi everyone,FYICf Job in Sydney Australia.http://nswhealth.erecruit.com.au/ViewPosition.aspx?Id=151494RegardsKen
I created simple Coldfusion forms for online use that have been working for a long time with no problems. Suddenly I have been getting blank Coldfusion forms through email along with the valid Coldfusion forms. They are coming in like spam. I noticed that javascript which I didn't have in my form is being added in the head tags after I have uploaded the form to the server. When the valid Coldfusion forms come through email they contain only a portion of the page which is the form field with information entered by the user. The valid forms contain no logo/graphics, etc. When I receive the forms that are blank contain, they contain the whole web page logo/graphics, etc. I have enclosed 2 images of the script that has been injected into the head tags on one of the forms. Does Coldfusion add javascript to the head tags after you upload forms to the server as I have never noticed this before?
Hi,Both of 1 and 2 are basically the same and should be working, but # 1 is not working. Can someone please tell me why # is not working?<cfset variables.objq = createObject("component","cfc.query").init(compID=request.compID)>1. NOT WORKED. <cfselect name="custName" id="custName" multiple="false" bind="cfc:variables.objq.getCustName()" bindonload="true" value="t_bpid"display="name"/> 2. WOKRED <cfselect name="custName" id="custName" multiple="false" bind="cfc:cfc.getCustName(compID=request.compID)" bindonload="true" value="t_bpid"display="name"/>Thanks
Can I run Adobe Flahs Media Ver 5.0 on VM servers?
Using CF to create a PDF via <cfdocument> and finding that the font sizes within the header do not scale properly. I've researched the web for hacks or solutions and cannot find any. Has anyone been able to make the headers in CFDOCUMENT work? I've adj the topmargin size and the font will adj once you get to 3 inches or greater but then there is huge white space at the top of the document.if anyone has any suggestions, would appreciate the feedback.
I have a cf9 app that just has a few ajax calls. They are from a prev/next button and if a person just sits and presses the next button for 20 minutes they get timed-out because our 20 minute session timeout setting. What can I do to reset the cf session timeout when they click on the "next" button?$(document).ready(function() { $("#PaymentPlanTrackingListNextButton").live ('click', function() { $.get('payment_plans_tracking_list.cfm', { PaymentPlanTrackingAdvisor:$("#PaymentPlanTrackingAdvisor").val(), PaymentPlanTrackingDueDateStart:$("#PaymentPlanTrackingDueDateStart").val(), PaymentPlanTrackingDueDateEnd:$("#PaymentPlanTrackingDueDateEnd").val(), PaymentPlanTrackingListCurrentPage:parseInt($("#PaymentPlanTrackingListCurrentPage").val()) + 1 }, // Sends to div id=PaymentPlanTrackingList&n
Hello,I have a customer using Coldfusion 9. Our ODBC driver is not working with Coldfusion and I was wondering what version of ODBC standard is used with this product.Thank you.
After clicking the CF10 installer, the installer window remains gray. Only the button "Next" is blue. But it is not possible to click the button. The install procedure stops at this point.The installing of CF10 with the same DMG file on my iMac (also OS X 10.8) was successfull before.My Macbook hat 8GB RAM an 5GB free disk space.What can I try?Jens
Hi,Our CF10 (Windows 2012, IIS8) has a number of scheduled tasks, but all are running 1 hour early. Our clock is set to GMT, and the tasks run GMT-1. The time settings in Windows are set correctly for our location - UTC London with daylight saving time.Why is CF10 getting the time wrong? Does it take into account daylight saving?Thanks,Mark
Hi, am trying to change the user account for coldfusion server which is running on my server and it's currently running as a "local user" but i want to change to an administrator user account. when i change the user i get an error from Jrun like this:Server Error500 - Internal server error.There is a problem with the resource you are looking for, and it cannot be displayed.500java.lang.NullPointerException at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)----------------------------------------------------anyone knows how i can solve this issue?
CF10, Update 11, RedHat Enterprise Linux 6.4, 64bit, Apache 2.2.15 (as bundled w/RHEL6.4).I notice the Adobe-modified mod_jk is still based on the older 1.2.32 mod_jk connector. I noticed the source for this is also available now, and a trivial 5min attempt to apply the diff to the "pure" 1.2.37 has failed. I haven't really gone bit by bit through it all, although I suspect it wouldn't be too bad. It appears most of the changes are well labelled: /* Below code changes are incorporated by Adobe Systems IncorporatedGiven the slew of changes in the mod_jk ChangeLog from 1.2.32 to 1.2.37, I'd feel better if I could switch to that. But since the Adobe modifications (one of which is to support the "max_reuse_connections" in workers.properties) along w/our internal policy of using vendor-stuff for vendor-software, prevents me from simply attempting 1.2.37(pure) or 1.2.37-manually-patched-by-me.Anyways, long story short, was wondering if/when Adobe might come out w/a 1.
I am udating jcr:title property through java servlet POST node.setProperty("jcr:title", request.getParameter("title")); the request contains some special character like éé but when i see the jcr:content of the page its converted into éé any idea how to update jcr:title with special character.Please help me to solve the problem.Thanks,Harsh
Looking for solutions on buffering , and latency issues with Adobe 1.5 and windows 7....HELP PLEASE
I work in an 'enterprise' environment. Lots and lots of subdomains, with many of them running ColdFusion apps and none of them coordinating. We've run into a problem where app1.foo.bar.com sets CF cookies (CFTOKEN/CFID) on the bar.com domain and app2.foo.bar.com sets cookies on the foo.bar.com domain. The app teams insist on using cookies instead of putting CFTOKEN/CFID in the URL.As a result, when the browser sends a GET to app2.foo.bar.com, it sends both sets of CF cookies.Sometimes app2's CF server uses the right set of cookies. Sometimes it uses the wrong set of cookies. When it uses the wrong cookies, it loses session state.It seems to me like the only fix is to get app1 to set its CF cookies on app1.foo.bar.com domain and app2 to set its CF cookies on app2.foo.bar.com domain. But that only works until somebody starts up a new app on app3.bar.com and sets its CF cookies on bar.com domain.What can a CF application do to defend itself from another
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.