Questions
Recently active
Does anyone know of an online editor that will work within the cflayout/cflayoutarea function. I used ActivEdit for years, but clients are wanting something more cross browser friendly, and ActivEdit works great with IE, but not so well with other browsers. I have tried using CKEditor which comes with ColdFusion which you would think should work with a ColdFusion function, but that's not true. The navigation nor content shows up and CKEditor. If I remove the cflayout elements, CKEditor will work fine, although the image upload and placement function is very clunky.It is frustrating that the only response I get from Adobe's support people is that both CKEditor and the code for cflayout come from third party providers so it's not really their problem. I think that is so wrong as we pay a good amount of money for a product that is supposed to make coding easier and more efficient. Thus, they should fully test these so called 3rd party products to make sure they work and if not either fix
I need to capture an entire URL and send it in the body of an email, using CFMAIL. I'm looking at my CGI variables using CFDUMP, but can't seem to get the entire URL string, including the http:// or https://. Help?
I turned on IIS and reinstalled CF10. Things worked fine, but suddenly yesterday I ran into the problem that the returned pages would not contain jpgs and css file information was not loaded either. 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.I added a number of users to the file's security page, but nothing worked.Has anyone run into this sort of problem? I want to put this message out there before I uninstall IIS and CF10 and then reinstall.Running CF10, Windows7 Professional 32bit, IIS
How can search for mutiple fields (criterias)? my code below returns nothing?Form.cfm:<form action="search.cfm" method="post">Name:<input type="text" name="name" />Desc:<input type="text" name="desc" /><input type="submit" name="submit" value="Search" /></form>search.cfm<cfset searchTerm = "#form.name#,#form.desc#"><cfsearch name="searchResults" collection="mycollection" criteria="#searchTerm#"> <cfdump var="#searchResults#">thanks
I have a list of names and I want the user to click on the name and it will reveal the DIV and load the appropriate data into it. How can I do this and can I do it withouth the page refreshing?
In production time zone has changed from CST to EST.But after this change some functionalities are not working as expected.I need to make sure that the time zone change has reflected in CF server to check whether functionalities are working. Can any one know how I can verify that the time zone has changed from CST to EST. Through CF admin side or some log files??Your help is well appreciated.
Hello all,I have an area of a website that users log into. Upon logging in, they are given a certain access level based off criteria in the datasource. For regular users, the sessiontimeout in my application.cfm file looks like this: <cfapplication name="MemberSession" sessionmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,20,0)#">. Is there a way, based off the criteria in the datasource that assigns access levels (ALevel), to make the sessiontimeout longer for certain "privileged" users? I tried the code below, but CF returned an error.<cfif Session.ALevel neq 'SEC' or Session.ALevel neq 'EXSEC'><cfapplication name="MemberSession" sessionmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,20,0)#"><cfelse><cfapplication name="MemberSession" sessionmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,90,0)#"></cfif>Thank you!
I have a project where there are about a dozen paper items that have a half dozen fields that will come from a database. The paper document is pretty much a standard word file type document with each page filled with words. Does anyone have suggestions on how to present such a document in an an html table? It will be turned into a PDF document using the <cfdocument>. Thanks!
Hi everybody - kinda new here. I was hired at a web design company last year and have recently taken to learning ColdFusion - so I'm not 100% on the syntax. I always need help with if statements, so I'm hoping you guys will be willing to spread some knowledge.Anyway to put this in context:What I'm working on is a Calendar that allows you to register to attend an event, such as a corporate dinner, holiday party, or some such nonsense. It also processes ticket purchases through a 3rd party such as PayPal, and would look something like this when put on a web-page.Here's the code that creates that display.<table class="registerTablePrices" cellspacing=5> <cfloop query="registration_types"> <cfif registration_types.esl_price gte 0> <tr> <td class="formlabel" nowrap>#registration_types.estName#:</td> &n
I have 5 CFSELECT for Department, Manager, supervisor, Group Leader and EmployeesI want to every CFSELECT list narrow down for an upper CFSELECT.For example, once user select Department then all Manager, Supervisor, Group Leader and Employee list will be narrow down by departmentand same for manager and supervisor and so on.I can use iframe or jQuery to do every level, but it needs to call iframe or jQuery or 5 levels.I would like to know are there any better way to handle this situation,Your help and information is great appreciated,Regards,Iccsi,
I want to assign a value to my controls from my query result.It works for CFINPUT TEXT, but it does not work for SELECTI would like to know are there any way tp assign my dropdown list value base on the questy result.I have CFSTOREPROC like following: <cfstoredproc procedure="MySP"> <cfprocparam value = "#form.IDNumber#" CFSQLTYPE = "cf_sql_integer"> <cfprocresult name="spResult" resultset="1"> </cfstoredproc><CFINPUT type="text" id="txtIDNumber" value="#spResult.IDNumber#" /> I am able to siign the value to a CF INPUT TEXT like above code,<select id="lstNumber" value="#spResult.lstNumber#"></select>but it does not assign the value from my query result for SELECT input.Are there any way to assign a value to SELECT control from query result?I tried to use JavaScript which works if I pass a number, but it does not work if I pass a query result,Your help is great appreciated,Regards,Iccsi,
Hi EveryoneI am a IT technician/Sysadmin with my company and have been tasked to help sort out this long running problem.I do not know much about programming (nothing really) but know more or less what coldfusion does and how the process flows from the client to the server and back.The problem we face is that at certain times of the day some reports pulled via CF takes very long, it can even hang the clients browser, and computer in some cases.There is an ODBC connection to our iSeries server and one to our Helpdesk's SQL db.This is what I have done so far to troubleshoot:1.Ran wireshark on my PC with a filter to only show activity for the server IP, then ran a query to CF.Didnt see much, except for some "Zero Window" messages going back and forth between my PC and the server as soon as the report popped up in my browser, after googling it I understand that it has to do with the network card buffer or CPU load on client or server.As soon as I save the document it stops doing the
Hello, Question 1: I have a CF 9.0.1 installation that is missing a number of security hotfixes (based on a vulnerability scan). The list of missing security hotfixes is below. Must I start at the beginning and apply each hotfix one by one? If I apply the newest one (July 2013) will that automatically include the updates for all previous hotfixes? The information online is rather vague. It states that newer updates "may" contain some of the older ones. It does not state definitely whether or not all previous hotfixes are included in the newly released ones.Missing Security Hotfixes:APSB13-19 July 2013 - Not InstalledAPSB13-13 May 2013 - Not InstalledAPSB13-10 Apr 2013 - Not InstalledAPSB13-03 Jan 2013 - Not InstalledAPSB12-26 Dec 2012 - Not InstalledAPSB12-21 Sept 2012 - Not InstalledAPSB12-15 June 2012 - Not InstalledAPSB12-06 March 2012 - Not InstalledAPSB11-29 December 2011 - Not InstalledAPSB11-14 June 2011 - Not InstalledAPSB11-04 February 2011
I set up a trap to log the requests to the website. It appears that the request initiated by the AJAX call is never getting to the CF engine. The webtools for Safari indicate that the AJAX request is going to the server, there’s a redirection to Shib (to validate authentication?), and that’s when Safari returns an error. As soon as this returns the alert set to fire on an error is triggered.
Last couple of months I have been getting a lot of hits from a Synapse bot. I think whoever coded it must have made an error, as some of the links are truncated to url/.../index.cfm. (oddly Bing bot seems to have picked up a couple of these).I say 'bot', but this UA comes from a wide range of IP addresses from all over the globe;I am suspicious. and I don't think it is a site coding error as it is only triggered with a 'synapse' UA.Here is the odd thing. On the test server - in theory identical to the production server - this generates a 404 error, as you would expect. However, on the production server - theoretically identical, same version of CF (CF9), same config/admin setup, etc - it generates and exception error. This is more annoying than anything else as it is filling the error log, and setting off unnecessary alarms. I guess I could write some code in the error.cfm to redirect to 404 if the URL has '...' in it, but would like to underst
We have a number of CF9.01 installs and we're discussing our plans for applying Hotfix 4 as well as the latest Security hotfix. We know this includes support for Java 1.7, but we want to confirm that all the latest HF's available will continue to work with java 1.6.0_41 until our users/sites are ready for the Java change.Thanks.
Hello CF Superheroes,I'm playing around with CFCs and I've run into a situation where I would like to start calling methods from some CFCs from within another CFC (nesting). My first instinct was to simply instance the CFCs from within the parent level CFC but I'm not sure ColdFusion would like it if I nest CFCs like that. I've read about some people getting the dreaded "null null" error at times.I'm aware of the "extends" property from within the <cfcomponent> tag but the problem is that you wind up having to instance all of the extended CFCs in the calling CFM template anyway. It seems like it would just be easier to call the CFCs from within the CFCs that need to be "extended".For example, here's what I'm thinking of doing:In my main template index.cfm:<cfobject component="MasterCFC" name="cfcs.master"><cfset temp = masterCFC.myFunction()>Then within master.cfc:<cfcomponent> <!--- get my su
The following query works fine as long as there is a value in the subID field, which is at the end of the inner join statement. If the subID is blank then no data is output, even though it is there. Try as I may, I can not get the right solution in the where statement to get the data to show without the subID. What am I missing?<cfquery name="getInfo" datasource="#application.database#">select page_id, pageName, pages.content, pages.cat_id, pages.seo_title,pages.seo_desc,pages.seo_words,pages.h1_title,pages.pic,pages.brochure,pages.video,catagories.catagory,subcat.subID,subcat.sub_categoryfrom (pages INNER JOIN catagories ON pages.cat_id = catagories.cat_id) INNER JOIN subcat ON pages.subID = subcat.subIDwhere pages.page_id = #page_id#</cfquery>
I have a server REDHAT, install coldfusion 10, i need know how many user non-concurrents, can use one license.
Is it any way to check, if a web application is already running on clients computer. In other words how to prevent users to opens second instance of the same running application??
I've searched and searched and can't seem to find documentation showing the specific differences between the Standard and Entperise ediions of CF 10. Can anyone point to documentation on the differences in CFMAIL for standard vs. enterprise, and more generally, is there any detailed document available showing specifics for the different versions? I know in the past there was a "Buyers' Guide" that showed technical differences between the two, but all I've found for CF 10 is the general list of features.Thanks in advance for any help.
Hello,I adopted a CF 9 web-application and we're receiving the Internal 500 Error on a submit from a form that has line items for a RMA.The server originally only had Cumulative Hot Fix 1 on it and I thought if I installed Cumulative Hot Fix 4, I would be able to adjust the postParametersLimit variable in the neo-runtime.xml. So, I tried doing this, and I've tried setting the number to an extremely large number (last try was 40000), and I'm still getting this error. I've tried putting a <cfabort> on the first line on the cfm file that is being called, but I'm still getting the 500 error.As I mentioned, it's a RMA form and if the RMA has a few lines say up to 20 or 25 it will work.I've tried increasing the following all at the same time:postParameterSize to 1000 MBMax size of post data 1000MBRequest throttle Memory 768MBMaximum JVM Heap Size - 1024 MBEnable HTTP Status Codes - uncheckedHere's some extra backgroun on this situation. This is all that happened befor
I have two tables:The first table’s primary key is sireIDIt holds the picture of the multiple sires, their name, the owner’s name and a brief descriptionThe second table holds the trial scores of the individual dogs, joined by the sireID from table one.I tried using a join to output the dog’s info and it’s scores :<cfquery name="getDetailsQuery1" datasource="#application.database#">select *from siresorder by sireID</cfquery><cfquery name="getDetailsQuery2" datasource="#application.database#">select *from scoreswhere sireID = #getDetailsQuery1.sireID#</cfquery><CFQUERY NAME="getDetails" datasource="#application.database#">SELECT * FROM getDetailsQuery1UNIONSELECT * FROM getDetailsQuery2ORDER BY sireID</CFQUERY>I get an error message:[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot find the input table or query 'getDetailsQuery1'. Make sure it exists and that its name is
Working on a form to input numeric data. I am using <cfform> and the <cfinput> tags. To help the user with data entry issues I want to show the user the comma format when their data entry goes beyond 3 digits. This should be simple but I can't get this to work. What is correct way to make this happen? On the SQL end it's going into either a DECIMAL(10.2) or an INT. Thanks!
i have a cfwindow that works fine in ie10 but when i went to test it in other browsers (not that i wanted to ) but it didnt work at all , i did get this errorcfajax.js, line 90 character 1here is my code.....<cfajaximport tags="cfwindow">....ColdFusion.Window.create( win, 'spare parts desc', splink, { height:h, width:700, modal:true, closable:true, draggable:true, resizable:true, center:true, initshow:true, y:tempY } &nbs
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.