ok very silly mistake on my part. I was using the wrong directory name in
the code.
On Wed, Dec 5, 2012 at 10:15 PM, fun and learning
funandlrnn...@gmail.comwrote:
Hi All -
I am trying to ftp files using cfftp coldfusion tag. It worked fine until
this evening, and all of a sudden, the
I have an exception error handler - type=exception error=any
It mostly works... see http://www.austin-williams.com/_soft_error.cfm - this
a bad var name; works as it should and sends me a dump.
Now look here: http://www.austin-williams.com/_hard_error.cfm - this is bad
cftag name; shows
Hi folks,
My boss asked for my opinion on searching a large PDF document (50,000
pages) and being able to easily get to that location in the document if it
finds the matching result. Basically, our system outputs charitable
contribution receipts in one large PDF document which we then to send
ColdFusion can only route runtime errors to an error handler (your soft
error). Compile errors (such as invalid tag names) can't be interpreted
by ColdFusion and cause a hard error. Not much you can do about that.
-Carl V.
On 12/6/2012 8:39 AM, Robert Harrison wrote:
I have an exception
Search the HOF archives. I remember there is a thread about this topic. In
brief, error handlers only capture runtime exceptions. That is a compile error,
which happens before the code ever executes. So standard cfm error handlers
cannot capture it.
-Leigh
Thanks all. That's enough for my needs. I'm actually troubleshooting a related
problem, but had to understand this problem first.
Robert Harrison
Director of Interactive Services
Austin Williams
Advertising I Branding I Digital I Direct
125 Kennedy Drive, Suite 100 I Hauppauge, NY
Seems to me if it generates an error which looks like a ColdFusion error then
we should be able to display something other than that error. That is just a
common security practice to NOT have debug information go out to the public.
If ColdFusion isn't displaying the error, then what is Java?
IIRC I think site wide error handlers can catch it. However, compile errors in
prod applications is not the norm, since it would mean the code was never
tested.
-Leigh
--- On Thu, 12/6/12, DURETTE, STEVEN J sd1...@att.com wrote:
From: DURETTE, STEVEN J sd1...@att.com
Subject: RE: CFERROR
Seems to me if it generates an error which looks like a ColdFusion error then
we should be able to display something
other than that error. That is just a common security practice to NOT have
debug information go out to the public.
You can! This is why every application should include
Thank you all for the input. This was a simulation of the actual problem I'm
trying to address and your help gave me what I needed. What I'm really trying
to get fixed is server error that comes up in some situations; one of which is
the sample hard-error page I posted. I just needed to give
I agree about testing everything before, but I do know people who have been
hacked by files being uploaded and executed on their website. That is one way
that bad code can get there. I wouldn't be surprised if people didn't do it on
purpose just to get at the information that can be provided
Depending on which versions of CF you need to support, you could do either:
value = iif(structAppend( struct, { 'new_field' = 0 }, false ),
de(struct.new_field), 0);
or
value = structAppend( struct, { 'new_field' = 0 }, false ) ?
struct.new_field : 0;
As a side note, I though iif() was slow,
Yes, my tracing code shows the client hitting the cookie set page, and having
the cookie set with all caps.Then on the next page the entire
CGI.HTTP_COOKIE is being seen by the server as being lower case.
HTTP_COOKIE: cfid=296838408; cftoken=af55396400; thecookie=abcdefg
Note the
If code and the environment hasn't changed, then it would maybe point to
the client side of things.
Any commonlaity to browsers? Maybe a particular recent release of a browser
has a bug that is causing this.
~|
Order the Adobe
14 matches
Mail list logo