Questions
Recently active
I've loved setting scopes in the following manner:<cfset structAppend( VARIABLES, { 'variableName' = 'value', 'variableName2' = 'anotherValue', 'variable' = 'yetAnotherValue'}, true ) />It allows me to set variables in 1 command using structure notation, and keeping the command in an easy to digest look. But a problem I've run into is that I cannot do this with the LOCAL scope and also maintain the best practice of using the 'var' keyword to ensure the variables exist only for the duration of the function call. For example, this currently fails:<cfset structAppend( var LOCAL, { 'variable1' = 'value1', 'variable2' = 'v
Hi,It would seem that CF builder2 doesnt have any code assisting for cfscripting.?Surely ive missed something here.If this is the case then im wondering whats going on as DM CC is clearly trying to discourage you from using it for coldfusion (by stripping out previous CF tools).CF builder has no code assist for cfscript..i like to use cfscript in my components as I like the way it resembles other languages im familiar with, eg javascript, c# etc.Im wondering now, why bother, just use the TAGS ank keep life simple?
We have a ColdFusion 10 Standard server out in production on an IIS 7.5 Windows 2008 R2 Datacenter virtualized environment. Randomly throughout the week, requesting our page will result in a blank white page (viewing source shows absolutely nothing). I remoted into our server and noted that coldfusion.exe was taking up 730MB. I don't track these things so I don't know if that's a lot or not. And usually restarting the service takes 15-20 seconds. This time it took 20 seconds to stop the service and about 30 to start it.I am not familiar with which logs to check in order to provide some useful information, but if anyone has an idea of where to send me looking, it would be greatly appreciated.
how do i download typeviewer.dll file for COM object error exception..where do i get the file?
Coldfusion 10 kicks out the users from the application while request happen. Users again has to login back and work.I migrated coldfusion application server from cf7 to cf10. Before migration there were no issue like this.Any body has an idea why this is happening and how to fix this issue?
I am looking at using cfdbinfo tag that can introspect a Linked SQL Server Setup.The server setup is as follows:Coldfusion as a datasource cftest that points to SQL Server ASQL Server A has an established link to SQL Server BI can query using cfquery information from server B by goingSelect * from SERVERB.Database.dbo.tableHowever, this tag setup does not return the name of the table<cfdbinfo type="columns" name="test" table="table" />This errors out as the table does not exists.Any Advice?
I have a database query that returns a book titile and list it ... however some of the books will have a category to them and I want to list the category and then the books titles under that ... Do I need to create an array or can I do it in a cfloop.SampleBookTitle 1BookTitle 2Category BookTitle 1 BookTItle 2Booktitle 3
I see hotfixes for version 9 and 10, but how can I fix this vulnerability in Cold Fusion version 8.0.1?
I'm using Solr CF9 and I'm trying to index documents in a folder with various extentions (Mostly the normal stuff .doc, .pdf etc...) I'm running into a problem when trying to index a .aspx web form in the extensions list. It won't work... I also tried using .* to see if that would pick up the file. Nope that doesn't work either.... It seems like it just doen't like this .aspx file. Sooo my question is.... Am I doing something wrong or is there a way to include this into my cfindex????Thanx
I'll try to keep this simple.1. I have a new page where there are four cfcalendars. For example, I select a date on each of them and submit.2. All four dates get recorded in the database.3. I go to the edit page that these four cfcalendars reside on.4. I don't edit the dates, but may change something else, such as user information.5. I submit the edit page and one of the dates will update and disappear from the database.6. If I edit again, another one may disappear.This is quite strange and I can not figure out why it is happening. It is as though if the cfcalendar is not edited, it doesn't pass the existing date for that cfcalendar.Thanks for your help. BCo.
The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request The C:/inetpub/wwwroot/Clients/org.onlineaha/REL-20130506/website/wwwroot/../../docs/certificate_templates/prodnum_70-2304-Archived.pdf file specified in the cfpdfform tag either does not exist or is not accessible by this tag. Resources: Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.Check the ColdFusion documentation to verify that you are using the correct syntax.Search the Knowledge Base to find a solution to your problem.Browser Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0Remote Address 76.221.89.202Referrer http://www.on
Everything was OK with multiple instances of Tomcat and CF10 (big deployment of CF here over 15 years) But I ran the Mandatory Update on the first of the new instances of Tomcat/CF10 and Tomcat cannot complete its startup and CF10 is dead in the water. It gets to this line and hangs.Oct 14, 2013 2:48:03 PM org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web application archive C:\Apache\330_CFMX1\webapps\cfusion.war"and stops....I set the Tomcat logging to debug level. Here is the output from the (1) -------------COMMON-DAEMONS LOG----------------[2013-10-14 14:48:02] [debug] ( prunsrv.c:1679) [ 1096] Commons Daemon procrun log initialized[2013-10-14 14:48:02] [info] ( prunsrv.c:1683) [ 1096] Commons Daemon procrun (1.0.15.0 64-bit) started[2013-10-14 14:48:02] [info] ( prunsrv.c:1596) [ 1096] Running '330_CFMX1' Service...[2013-10-14 14:48:02] [debug] ( prunsrv.c:1374) [ 3476] Inside ServiceMain...[2013-10-14 14:48:02] [debug] ( prunsrv.c:844 )
Do I first need to upgrade to 9.0.1 and then to 9.0.2 or can I go directly from 9.0.0 to 9.0.2? Or is 9.0.2 a fresh install?Thanks,Dave
Imagine I have 2 objects. A 'user' object, responsible for handling user functionality, and a 'security' object, responsible for handling authorization and authentication.I would like to hear pros and cons to my current belief of the following.I have a method in the security object called 'canAccess'. You can pass it 2 optional arguments, a userID and a pageID. If no userID is passed, it infers the current user object's ID (which is tied to the session scope), and if no pageID is provided, it infers the current request object's page ID (which is tied to the request scope)At first, I thought this might be a security risk, because code could pass a userID that did not belong to them, even though all this method does is determine if the user provided has Access rights to the page provided.I've been thinking about this for quite some time, and my current belief is that this is OK as LONG as the method is not set for remote access (and it is not). My application supp
what dose embedded scale ratio mean
I am currently working on a web application written in CF running on IIS7 and CF10 server. We need to replace our login page where our users supply username and password w/ CAC login. The goial being for users to be prompted to enter thier 6 digit PIN assciated w/ their CAC to login to the application as opposed to the username and password thery are currently using. If anyone has any suggestions on how to accomplish it would be much appreciated.
Hi all,We are using Amazon CloudSearch service for our site search. We created a front end which uses jquery to communicate with the server to display search results.The problem we are running into is with creating and updating data on the backend. We have been creating new domains and uploading whole data sets manually from spreadsheets which is obviously not going to work for us long term.The cloud search uses has an API that we can send JSON to for updating the items. I have created the nested json like this (the query name and data has been changed to protect the innocent):<cfscript> variables.dataFields = {}; variables.dataFields['id'] = " #getsdata.id#"; variables.dataFields['lang'] = "en"; variables.dataFields['type'] = "add"; variables.
I'm creating a cascading select drop dwon with ColdFusion ajax from Ben Forta:http://forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-2-Related-SelectsBut it is not entirely working. The first drop down works and shows the countries in a drop down but the second drop down doesn't show the related States!I did some googling and found out that this is a problem of CF8 (?) because I'm using Application.cfcTo get around this, I found Ray Camden's blog that said the following:There is a way around it. Sean Corfield has a nice little work around that involves adding the following code to your onRequestStart (not onRequest, but onRequestStart):1<cfif listlast(arguments.thePage,".") is "cfc">2<cfset StructDelete(this, "onRequest") />3<cfset StructDelete(variables,"onRequest")/>4</cfif> I already put this code on my OnRequest function in my Application.cfc but I don't quite understand what is .thePage actually mean??I replaced argument.thePage with argument.Na
Hello, I know this is a frequent issue, but I could not find any solution to my current problem, as this seems to mainly occurs on CF8 and IE.I have the following issue for any browser and on two servers, one running CF8, and the other CF10 (both under IIS)Symptom : when cfid and cftoken are not written explicitly in the URL, we loose the session on our back office tool (new session.cfid and session.cftoken are generated, client variables are lost, but your session is still active on the server, you can check it by going to previous page and continue browsing on your previous session).There is a roundabout : passing in all forms and links the session variables. This is what we have done for years. The matter is... our application now sends mail with direct url links to specific pages, and in these links, we do not have the session Ids, of course. So each time we follow one of these links, we have to re-log, despite our ongoing session.The funny thing is that it happens on ~40% of
Is there a way to apply an Access Control List to ORM components? Or maybe another methodology to limit record access depending on the users role(s)? I couldn't find anything on the Web about this. Thanks!FYI, this is also posted in the Advanced forum but I think it'll be more visible here..
i want to add some text and hyperlink(button) in carousel component images.so that we can redirect through by clicking hyperlink not not image..i tried it but it was not working.do u guys have any solution for this?
When saving a word doc as pdf the TOC changes all the page numbers to 2? Any help would be gratefully received.G
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS89BB5273-80BA-4c55-9862-4D9D0ADA062B.html
Hi, We have recently undergone the process of installing ColdFusion 10 Standard on our new server, and were looking to test performance across the two. Within the ColdFusion Administrator, Server Monitoring>Settings and Server Monitoring>Server Monitor, I receive the message, "This feature is not available in this edition of the ColdFusion server.Under System Information the version is listed as 10.0.11.285437 and up to date. The server itself is running Windows Server 2008 R2.This was the original article to configure server monitoring. However I then ended up with another article, which involved editing neo-monitoring.xml (linked in previous), which did not appear to do anything.If someone can shed some light on why I am getting this error, as it says the standard version only limits use of the monitoring API, that would be much appreciated.Thanks, Scott
We are using the Apache httpclient 4.1.2 to post to an external server, using SSL. The post works fine when running it from the Java JRE , but when the code runs under a JRUN/Colfusion instance that uses the same Java JRE the error message returned is:javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128).......When debugging the connect using the -Djavax.net.debug=all setting, the error message shown internally is:java.lang.RuntimeException: Could not generate secret Is there some weird ColdFUsion setting we need to undo to make this work? We installed the cert from the other server in the /rje/lib/sercurity/cacerts file but that did not make a difference. Why does standalone java work and not Jrun?The JDK version is 1.6.0_24-b07Coldfusion: 9,0,1,
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.