Quantcast
Browsing all 21760 articles
Browse latest View live

Re: Form question

IIF and DE aren't widely used these days in CF.   Are the form fieldnames the same as the query columns?  If so you could do something like: IF using the query  set stuData = yourQueryNameELSE  set...

View Article


Re: Coldfusion 10 how to manually config Apache 2.2

Hey I installed Coldfusion 10 on Ubuntu 13.04 running Apache but the coldfusion installer keeps asking for the directory where HTTPD.Conf file is located but there is none, infact there is no...

View Article


Re: Form question

If I don't use DE with the IIF, I get an error.  The reason I used the IIF is because I'm using <cfform> and<cfinput> (horrible, I know) so I can't have a <cfif> in there. But yes,...

View Article

Re: Form question

When you say that you are CFPARAming all the FORM data, what exactly are you using for the default values?  Seems like all you need to do is to do the query to get database values, and then a string of...

View Article

Image may be NSFW.
Clik here to view.

Re: Internet Explorer Cannot Display This Webpage

Sorry boss......... I worked a lot in this......... no luck am so tired............ immadiri koodara sambavam ini melalkku post cheyyarudu............

View Article


Sum times with NULL values in time end field

I have 2 rows in my SQL 2008 db with these 3 columns   Name | Time_In | Time_Out Here are the 2 rows  Jim |  2013-05-08 07:00:00.000 | NULLPat |  2013-05-08 06:00:00.000 | NULL Now I want to calculate...

View Article

Re: Form question

Thanks Reed. At the top of the page I have these: <cfparam name="FORM.fieldname" default=""> (for each field) And I'm using the built-in <cfinput> validation, which is why I'm using the...

View Article

& is not encoding correctly in ColdFusion

I am using "&amp" in a coldfusion variable and assigning this to another variable. And I dumped this variable but am not getting results as I expected instead it outputting as below. <cfset x =...

View Article


Re: & is not encoding correctly in ColdFusion

Why would you expect an ampersand instead of the HTML encoding?  You are dumping the value of the variable, which contains the encoded version.  Just as if you outputted the variable.  If you output...

View Article


How do I hide the new /jakarta/ virutal directory?

I recently installed CF10 standalone on IIS 7.5.  I notice a new /jakarta/ virtual folder on the root of all my web sites.  Most are public sites.  This seems like an obvious security issue since...

View Article

Re: How do I hide the new /jakarta/ virutal directory?

It is used by the CF10/tomcat IIS connector. I have found that if you block access to the virtual directory it will prevent CF from executing as well. You will find that the connector will block direct...

View Article

Re: Coldfusion 10 how to manually config Apache 2.2

You might want to create a symbolic link for httpd.conf to point to the apache2.conf

View Article

CF9 - Best way to compare LDAP data in .ldf file against database?

Hello, everyone.  I am tasked with creating a script that will take LDAP information from a .ldf file and compare each entry to a database, adding names that meet certain criteria.  What is the best...

View Article


Re: Form question

Yes, but be sure to put hash marks around the query.queryname:<cfparam name="form.lastname" default="#queryname.lastname#">

View Article

Re: How do I hide the new /jakarta/ virutal directory?

Well, at the very least, I can access /jakarta/readme.txt, but interestingly when I try to access /jakarta/isapi_redirect.log I get an error that it is rejected by URLScan.  Anyway, as the Webmaster...

View Article


neo-cron.xml corruption - anybody knows what might be causing it?

Hi, I'm currently researching on why my company's ColdFusion application's neo-cron.xml file occasionally gets wiped out. This issue only happens to certain clients, so we're suspecting that it's an...

View Article

Re: Form question

Yeah, with a few tweaks, that works really nice!! I had to param one of the form elements that was checkboxes, because it didn't like a null value, but that was a small change. Thanks Reed, it's way...

View Article


An exception occurred when instantiating a COM object

I have installed ColdFusion 9.1 on a 64-bit server running Windows 2008 R2.  I am using IIS 7.5. When I try to access the following URL http://localhost/myhousing/security/login_admin.cfm I get the...

View Article

Re: Error Executing Database Query.

So what you are saying is I should put my query params inside of the ('   ') and place comas between the query params?

View Article

Re: Error Executing Database Query.

Sorry for the delay.  Almost. INSERT into tableName(column1,column2,column3)VALUES(<cfqueryparam value="#value1#" cfsqltype="cf_sql_varchar">,                   <cfqueryparam value="#value2#"...

View Article
Browsing all 21760 articles
Browse latest View live