I believe the issue here, is that when you have the status code option set in
ColdFusion, ColdFusion uses an H TTP status of 200, even for error pages.
If you don't have that option, ColdFusion sends out status codes of 500 or
whatever with there's an eeror. IIS does intercept those.
Forget
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Mon, Apr 6, 2015 at 4:52 AM, Charles Sheehan-Miles
char...@sheehanmiles.net wrote:
I had this recently... The problem wasn't Coldfusion at all, it was IIS.
Even locally I couldn't get debugging
I had this recently... The problem wasn't Coldfusion at all, it was IIS. Even
locally I couldn't get debugging. Check website settings and make sure
friendly error messages or whatever it turned off (sorry I'm not at a
computer so can't remember the exact terminology)
Sent from my iPhone
On
I have a problem I wanted to run by the list. Iâm recently back in the
coldfusion world after a several year hiatus. Iâm in the process of trying
to access the methods of a .net component, at this point as a proof of concept.
Once I can do something with it Iâll actually start building
Still no dice. Im banging my head against the wall on this one. I know Ive
got the right path
I opened it up with cffile and dump it to the screen and
its there. I dont have an asp application using it, going to try that next.
If I can get it to work there, at least it will give me some
That was my first thought too. But the documentation is pretty clear that its
looking for the file path, and the dump shows this:
OpenDesign(java.lang.String, short)
On Mar 25, 2015, at 9:23 AM, Bobby bo...@acoderslife.com wrote:
I gave the benefit of the doubt but that is also my
at 10:33 AM, Charles Sheehan-Miles
char...@sheehanmiles.net wrote:
Still no dice. IâÂÂm banging my head against the wall on this one. I know
IâÂÂve got the right path⦠I opened it up with cffile and dump it to
the
screen and itâÂÂs there. I donâÂÂt have an asp application
Will... CKEditor is the new name/new design for FCKeditor.
Terry, I'm using CKEditor in one of my apps. On the whole, I like it a LOT
better than the original. It was pretty easy to integrate for me, because I
use a function call to create text areas in my app, so I just modified the
function
is even worse.
This leads me to think there may be some extra locking being forced by the
jdbc driver, or I'm just doing something really wrong. I am not wrapping
this in cftransaction at this point. Has anyone encountered anything like
this?
--
---
Charles Sheehan-Miles
cfdirectory action=list
loop through the list
cffile delete based on list contents
On Mon, Nov 9, 2009 at 11:07 AM, Damo Drumm damien.dr...@quinn-group.comwrote:
Hi
Im trying to delete all the contents within a folder using coldfusion, but
its deleting the actual folder each time
The
You can't do a redirect .. or any client output... in onsessionend() ...
because that runs when the session is over.
Maybe something like this:
cffunction name=onrequeststart blah blah
cfif not IsDefined(session.whatever)
cflocation url=/login...
/cfif
What I do in that instance is
You might consider restoring a copy of a recent backup, then comparing
against known records that shouldn't have changed (for example comment
records)
On Wed, Oct 21, 2009 at 4:04 PM, Mosh Teitelbaum
mosh.teitelb...@evoch.comwrote:
Andy:
Unfortunately, I don't have the SQL Injection code.
I think I'd encrypt the stuff, then put it into the body of the email.
cfsavecontent variable=stuff
encrypt your stuff in here
/cfsavecontent
cfmail to=whoe...@...
#stuff#
/cfmail
On Wed, Oct 14, 2009 at 12:36 PM, Brian Yager brian.yager@mda.milwrote:
I work as a government
I've never allowed ftp access to my apps, but I do allow file uploads of
images and such through file managers built into the app
session scope includes a #session.homedir# value unique to each user.. when
they upload a file (i use cffm) it lands in their home directory, and can
then be
Before I start attempting to reinvent the wheel, is anyone aware if there is
an open source CFC wrapper for ALICE bots? I've spent some time googling
and checking RIAForge, but no luck thus far.
~|
Want to reach the ColdFusion
Actually kind of in-between. It's not just search engines... it's the page
that _linked_ to your current location. If someone types in the address,
there won't be a referrer... but they could have a referrer from some other
location other than a search engine.
This is from RFC 2616:
14.36
I have a similar issue where i'm outputting from Coldfusion to another
system through an html page that only outputs the query results, and the
receiving system can't handle empty values. I loop through the query and
substitute for blanks (in my case I'm using an underscore, but could just as
cfquery
declare @newid int
select @newid = max(id) from Members
if @newid is null
begin
set @newid=1
end
else
begin
set @[EMAIL PROTECTED]
end
INSERT INTO Members ...
/CFQUERY
On Oct 11, 2007, at 9:37 PM, Mark Mandel wrote:
Charles,
What makes you think that a Thread doesn't end when the code stops
processing?
Mark
It shows up sitting in the server monitor until I actually restart
Coldfusion, which is not something I want to do when it goes to
production.
So here's a question. I execute a cfthread on application startup,
and it finishes its work. There is no terminate because the page
context it was called from is long gone, and I've just discovered
that a thread can't terminate itself. it leaves the thread running,
basically forever.
I've figured what I was doing wrong, so my corrected question is: is
there any way to terminate a running thread that was launched by a
PREVIOUS page request?
~|
Get involved in the latest ColdFusion discussions, product
With XP Pro at least (I'm not sure about the other versions) you can
use IIS' built in smtp server.
--
Charles Sheehan-Miles | http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
Sparse, clean narrative... Pay attention to this new
the thing in memory in the
first place. Ah, well.
--
Charles Sheehan-Miles | http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
Sparse, clean narrative... Pay attention to this new book... --
Pulitzer
Prize winning journalist John
Unfortunately, I'm on a very tight self-imposed deadline, so I've
dropped it for the time being and I'm skipping the cf8 ajax
functions. I'll revisit in the next version.
I did try moving the relevant CFCs to the request scope. Didn't do
the trick. Even those I invoked the CFC fresh on
Jaime interesting question, and yes, the CFC in this case is
stored in the session scope.
Andrew ... for a lot of reasons, I chose to have the view layer
implemented in a CFC. The application is set up such that a user
creates their own templates, and then uses keywords inside those
the first
time. Anyone run into anything like this?
--
Charles Sheehan-Miles | http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
Sparse, clean narrative... Pay attention to this new book... --
Pulitzer
Prize winning journalist John
Mobile: 0404 998 273
-Original Message-
From: Charles Sheehan-Miles [mailto:[EMAIL PROTECTED]
Sent: Monday, 10 September 2007 12:07 PM
To: CF-Talk
Subject: Odd behavior when using cfform inside a CFC
Hi all,
Here's my situation, and its a bit odd. I've reproduced it under
If this question has been asked before, my apologies, I've been
googling around and haven't really seen what I'm looking for.
What I'm thinking about is this. The app I'm working on has a pile
of maintenance routines and other routine tasks that have to run
pretty much on an ongoing basis.
:
I would just bind the grid to a JavaScript function using the cfajaxproxy.
That JavaScript can trigger anything you want, including a page redirection.
On 8/9/07, Charles Sheehan-Miles [EMAIL PROTECTED] wrote:
All,
Just really getting started with CF8, so if this question is too basic
Interestingly, not all the search engines pay attention to robots.txt.
Library of Congress uses Archive.org, and they were throwing a lot of errors
on my site by pulling up pages without url parameters, even though those
pages were in my robots.txt. I finally got a hold of someone there and they
Hi all,
Anyone dealt with selectOnLoad in CFGRID -- in the docs, it's there, plain
as day, but when I try to use it, I get this:
Attribute validation error for tag CFGRID.The tag does not allow the
attribute(s) SELECTONLOAD.
This is CF8
--
Charles Sheehan-Miles | http://www.sheehanmiles.com
--
Charles Sheehan-Miles | http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
...Sparse, clean narrative... Pay attention to this new book... -- Pulitzer
Prize winning journalist John Hanchette, Niagara Falls Reporter
This novel ...may be prophetic...It will disturb you
},{cfgridsortdirection},#rscurrentweb.orgid#)
cfgridcolumn name=Edit
href=/admin/membermanage.cfm?page=modifymemberid= hrefkey=MemberID
cfgridcolumn name=MemberID header=MemberID
cfgridcolumn name=Email header=Email /cfgrid
/cfform
--
Charles Sheehan-Miles | http://www.sheehanmiles.com
Author
, Charles Sheehan-MIles [EMAIL PROTECTED] wrote:
I'm struggling with the same problem, and have not found a solution. Here's
the situation:
CF8
IE7
Flash forms don't display at all in IE7, they look fine in all other
browsers. The same exact code works fine on a CF 7.0.2 server
name=MyForm format=flash width=500 height=500
cfinput type=text name=MyText/
cfinput type=submit name=MySubmit value=Save
/cfform
--
Charles Sheehan-Miles | http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
Sparse, clean narrative... Pay attention to this new book
is the most effective to get up to speed on quickly?
Is there anything that's already encapsulated in cfcs?
Thanks,
Charles
--
Charles Sheehan-Miles
http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
http://www.amazon.com/gp/product/0979411424?tag=sheehanmiles-20
binding capabilities.
Rey...
Charles Sheehan-Miles wrote:
Hello all,
So this is a request for opinions. I'm way behind the curve in that
I've
done nothing in terms of Ajax or flex.
I'm looking for opinions in terms of what would be the quickest and
easiest
to get up to speed on. I
/FORM
--
Charles Sheehan-Miles
http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
http://www.amazon.com/gp/product/0979411424?tag=sheehanmiles-20
~|
Upgrade to Adobe ColdFusion MX7
The most
AM, Charles Sheehan-Miles [EMAIL PROTECTED]
wrote:
Hello all,
Quick question, I'm wondering if anyone has ever encountered this.
I have a page that submits a form back to itself. I'm testing for the
contents by doing a simple cfdump for the form scope. When I submit the
form, the page
Yeah, it is. Actually, it's going to the right page, but I found that for
some reason its doing a GET instead of a POST
I looked through the archives and found some folks who've had the same
problem but only with IE7. I'm hitting this on all browsers.
On 6/12/07 12:10 PM, koen darling [EMAIL
Hmm. Yeah -- tried that. Tried to explicitly set the encoding type.
I just went through the IIS logs, and they show the request as a POST. So
it's somewhere in the processing in the Coldfusion side. I'm banging my
head into the wall at this point.
On 6/12/07 1:09 PM, Josh Nathanson [EMAIL
GET or POST?
--
Charles Sheehan-Miles
http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
http://www.amazon.com/gp/product/0979411424?tag=sheehanmiles-20
~|
ColdFusion MX7 and Flex 2
Build sales
Hmm. I'm using CFMX.
I'm getting it consistently on this particular form, but what's strange is
the form used to work -- I first observed the problem yesterday, and it has
been absolutely consistent since then.
I'm not sure what you mean about the form resubmitting itself. It's pretty
basic:
.
--
Charles Sheehan-Miles
http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
http://www.amazon.com/gp/product/0979411424?tag=sheehanmiles-20
~|
ColdFusion 8 beta â Build next generation applications
.
Dean
You may be right about that -- I do use a custom 404 redirect. What I don't
get is why some forms work and some don't. I'm going to do some playing
with it and see if I can pin it down.
--
Charles Sheehan-Miles
http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
http
... Not so friendly urls.
Ok, but how ist the correct template finally called by the function?
--
Charles Sheehan-Miles
http://www.sheehanmiles.com
Author of Republic: A Novel of America's Future
http://www.amazon.com/gp/product/0979411424?tag=sheehanmiles-20
the appropriate template or function
based on the contents of the page variable
Ok, but how does it call it, how does it recognizes that it was called
with method=POST and how will it call the page using the appropriate method?
--
Charles Sheehan-Miles
http://www.sheehanmiles.com
Author
Are you using CrystalTech, or is anyone else on the list? I'm curious about
performance/reliability. Currently I'm leasing dedicated servers, which is
pretty godawful expensive for the number of sites I'm maintaining. I run
about 12 sites, all of which use the same code (the particular website
Speaking of stylesheet editors.
Are there any good open source coldfusion implementations? I've been
looking to replicate the functionality of this movable type generator:
http://styles.movalog.com/generator/
On 12/6/06 9:11 AM, Claude Schneegans [EMAIL PROTECTED] wrote:
Has anybody every
Homesite
http://www.bradsoft.com
Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility
-Original Message-
From: Charles Sheehan-MIles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 06, 2006 9:53 AM
Not to mention MySpace, which is approaching being the most heavily
trafficked site on the web. Alexa lists them (as of today) as #4, right
after Yahoo, MSN and Google.
On 11/30/06 8:28 PM, Sandra Clark [EMAIL PROTECTED] wrote:
Add to the list
National Cancer Institute.
Centers for
Ray's entry was the basis of what I used as well, with one addition. I set
up so that users can specify a friendly url for any given article or page
those are then added to a table. So before it goes to the url parser,
I do a database lookup:
http://site.com/donate.htm actually =
Hi Doug,
I have a zip code locator built into the CMS I'm working on. Feel free to
grab the code: http://activecharity.riaforge.org -- unzip the file and find
the file /members/profilesearch.cfm.
A more or less working version of it is here:
Also take a look at:
http://www.webmonkey.com/webmonkey/05/32/index4a.html?tw=programming
I based my zip code search right out of this article.
On 11/22/06 8:19 AM, Charles Sheehan-MIles [EMAIL PROTECTED] wrote:
Hi Doug,
I have a zip code locator built into the CMS I'm working on. Feel
I have a page which allows the user to select a custom query and download a
CSV. The relevant code is:
cfsetting enablecfoutputonly=yes
CFHEADER NAME=Content-Disposition VALUE=attachment;
filename=#session.MM_Username##LSTimeFormat(Now(),'hhmmmss')#.csv
CFCONTENT TYPE=application/excel
I just slapped myself on my forehead, thank you.
This worked fine:
cfoutput query=rsList
cfloop index=thisfield list=#fieldlist#
cfif IsDate(evaluate(#thisfield#))
#lsdateformat(evaluate(#thisfield#), mm/dd/)#
cfelse
#evaluate(#thisfield#)#
/cfif,
/cfloop#CHR(13)#
/cfoutput
On
I think so. When you do the order by, should it be something like this
(assuming you are ordering by the ...adversements.city column)?
ORDER BY #APPLICATION.DBPRE#Advertisements.#ARGUMENTS.SORTYBY#
#ARGUMENTS.SORTDIRECTION#
O
On 11/21/06 9:37 PM, Doug Brown [EMAIL PROTECTED] wrote:
I have a
Hi all,
I'm trying to get the Apache 2 Jrun connector to compile on an intel mac.
The coldfusion install is working fine (I can access the administrator on
localhost:8500).
Has anyone had any luck with this? I was able to compile the 1.3 connector
fine, but 2.0 dies saying it can't find a bunch
Check this function:
Epochtimetodate
http://www.cflib.org/library.cfm?ID=13
On 11/16/06 6:53 PM, Michael Wright [EMAIL PROTECTED] wrote:
I've googled this but can't find what I'm looking for. I have a MySQL db
that has several date fields storing the date as a Unix timestamp and I need
I've googled and found nothing.
Anyone aware of any open source CF projects for a mailing list manager
(similar to PHPList)?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion
Sheehan-Miles
Associate Director
Veterans for America
http://www.veteransforamerica.org
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered
Hello all,
I¹ve been given a sudden requirement to implement a new application for our
organization which will:
1. Plot given data points on a map
2. Allow the user to click on a map, pick up the geocoordinates and pass
them to another form.
I¹m wondering if there are any open-source coldfusion
Never mind my previous email found at least two useful ones, which I¹ll
link here if they are helpful to others:
CFGoogleMaps haven¹t explored this one in any detail yet
http://coldfusionpodcast.com/page.cfm/cfgooglemaps.
And
Using Google Maps as a Form Input Field
Hi all,
I¹m brand new to CF7 and persistent CFCs and the like, and I¹m seeking
advice. Here¹s the lowdown:
I have a content management application that has about the thousand
templates, all badly written spaghetti code, etc., which I¹m in the process
of cleaning up. I¹ve put together a
I'm using for most purposes, but all the pages where its used on our
back-end, there's also an option to edit html only, because some of our
pages are more complex or have odd image positioning and tinyMCE seems to
occasionally just screw with the html. I'm not sure why and I don't know
enough
Thanks, I'll check that one out.
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 5:29 AM
To: CF-Talk
Subject: Re: Option Explicit - CF?
On Thursday 21 September 2006 00:50, Charles Sheehan-Miles wrote:
Is there a CF variant of Option
Hello all,
Is there a CF variant of Option Explicit, that REQUIRES variables to be
declared inside your component before using them? Something that would
cause an undeclared variable to crash the page instead of executing it?
Thanks,
Charles
Question -- was cfmail processing a lot of mail at the time and do you have
an smtp server on that box? Or something else that was opening a lot of
network connections? I ran into a similar issue a while back and it turned
out the root cause was that my server had exceeded an OS built in limit of
I'm wondering if anyone can make any recommendations on a good book on Model
Glue, as well as some of the other popular frameworks. I've never worked
with any of them and I'm thinking about taking the plunge.
On 9/13/06 9:19 AM, Tom McNeer [EMAIL PROTECTED] wrote:
I'll throw in another vote
Microsoft recently successfully sued several resellers were selling machines
without fully licensed copies of Windows. Don't know much about the
details, but it seems to be mostly resellers they are going after.
On 9/12/06 11:44 AM, Jim Wright [EMAIL PROTECTED] wrote:
I think this seller is
All,
Occasionally, when I have very heavy usage on my server, I get jrun memory
errors and then the whole thing crashes. So, since my box has 4 gb ram,
most of which is unused, I went to set the jvm memory settings in ColdFusion
administrator to a higher value. Problem is, CF won¹t start if I
.
That doesn't really answer your question though...
Which value are you increasing-- minimum or maximum JVM heap size?
Can you check your logs to se why CF isn't starting?
~Brad
-Original Message-
From: Charles Sheehan-Miles [mailto:[EMAIL PROTECTED]
Sent: Monday, September
Hello all,
Up until recently, I¹ve been using a setup to email me any exception
reports, with cfdumps of all of the interesting scopes. It¹s helpful, but
as I rework my app I¹ve building in a bug tracking function. Right now, when
the onError method in application.cfc is called, it:
1. checks
Hello all,
I¹ve noticed some off behavior, wondering if anyone has run into anything
similar. When calling a page from my testing site, after some changes, I
noticed that on every page request, it started taking a VERY long time to
process (at least 2 second) and cpu utilization on the system
If I start to get annoying with questions just pound me on the head.
I have application.cfc, with the following beginning:
cfcomponent output=false
!--- App Start ---
cffunction name=onApplicationStart returntype=boolean output=false
cfquery name=rsOrganization datasource=hosting
I'm not sure I get you. Are you saying that when you run /index.cfm,
variables aren't set, but when you do /index.cfm?kill=1, they are? How
are you testing to see if the variables are there?
On 8/25/06, Charles Sheehan-Miles [EMAIL PROTECTED] wrote:
Yes, that's exactly it. I'm doing a cfdump
Charles Sheehan-Miles wrote:
I have application.cfc, with the following beginning:
cfcomponent output=false
!--- App Start ---
cffunction name=onApplicationStart returntype=boolean
output=false
cfquery name=rsOrganization datasource=hosting
select top 1 * from
this.whatever = soemthing
cffunction name=
Teddy
On 8/25/06, Charles Sheehan-Miles [EMAIL PROTECTED]
wrote:
That was it. I was under the mistaken belief that I could not run the query
outside the framework of any of the functions. I redid it and put all the
application init stuff before
Hi all,
I¹m a relatively new coldfusion programmer (if I can call myself that) and
I¹ve been working on an application for about two years now which hosts
multiple websites under the same code base. The particular website is
determined by the host header name, and it works, so far as it goes.
Never having used application.cfc, I have a question.
In the past (in development only) when I wanted to completely kill my app, I
had a url switch which would clear all scopes (including application) on my
box. Based on some of the feedback I got earlier today, I downloaded the
development
.
BTW, if your sending out that much mail, I hope you have a dedicated SMTP
server and are not using the SMTP on IIS.
Russ
-Original Message-
From: Charles Sheehan-Miles [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Date: Wed, 19 Apr 2006 23:19:13 -0400
Subject: Re: Evaluate
I'm going to have to do some serious thinking about this. Performance on
the mailer is a lot slower than I'd like, and I suspect its because I'm
using evaluate. Here's what happens:
1) Customer saves their message content, which might look something like:
Dear #firstname# #lastname#:
Blah
Sometimes I send out emails through my system which dynamically generate the
content from variables:
example:
Last year you gave $#lsnumberformat(lastyear, 9.99)# to support our work.
This year we hope you'll give $#lsnumberformat(lastyear*2, 9.99)#.
My mailer routine uses evaluate against the
With the main app I'm working on, the first thing in application.cfm is a
query to match the host header name against the correct website in the
database, then everything else is determined from there, including the
application name -- so I'm hosting multiple websites/customers off the same
code
You could try (on the calling page) writing a session variable for the
current page, then call that variable instead of cgi.http_referrer
-Original Message-
From: Coldfusion [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 9:18 PM
To: CF-Talk
Subject: RE: cgi.HTTP_REFERER
Why
This is kind of like asking to make sure your computer is plugged in (so
you've probably already checked this) but it will be empty if you didn't
actually have a referrer (as in, you browse directly to the page).
On 3/29/06 10:38 PM, Ian Skinner [EMAIL PROTECTED] wrote:
cfif cgi.HTTP_REFERER
86 matches
Mail list logo