Re: CFerror and its

2001-01-12 Thread Joseph Thompson

Yes,  if you call a custom error page it will run CF tags for you.

http://cfhub.com/advanced/error_handling/index.cfm


> i thougght that one of the improvements in CF4.5 was the ability to run cf
> code in the the cferror tamplate pages... i may have missread that...
>
> thanks for everyone's help.
>
> andres
>
> -Original Message-
> From: Brandon Paolin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 10:15 AM
> To: CF-Talk
> Subject: Re: CFerror and its
>
>
> you can't execute cf code on error pages.
> what i do is put all the cfcode in hidden form variables, and onload
submit
> the form to another page that executes the cold fusion and emails me the
> error code.
>
> - Original Message -
> From: "Andres" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, January 12, 2001 9:56 AM
> Subject: CFerror and its
>
>
> > Hello all,
> > i have an application.cfm that calls a cf error tag like this:
> >
> >
> >  > name="myapp"
> > clientmanagement="Yes"
> > sessionmanagement="Yes"
> > setclientcookies="Yes"
> > sessiontimeout="#CreateTimeSpan(0, 0, mins_until_timeout, 0)#">
> >
> > 
> >
> > 
> >
> >
> > The problem is that when a validation error occurs, the error page
appears
> > fine, but the CF inside the error template is not executed... it shown
as
> if
> > it was a regular html page with all the cf showing.
> >
> > can someone tell me why this is happening and how i can correct the
> > problem??
> >
> >
> > thanks
> >
> > andres
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFerror and its

2001-01-12 Thread Stephenie

does this catch a request error?


--
Stephenie Hamilton
Senior ColdFusion Administrator
Express Technologies, Inc.
want CF_Freedom?
try CFXHosting.com
Winner of the 2000 ColdFusion Developer's Journal Best ColdFusion Web Host!!



-Original Message-
From: Rich Wild [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 10:47 AM
To: CF-Talk
Subject: RE: CFerror and its


Well I thought that you couldn't run cf code in the specified error template
too until my fellow UK CFUG compadres put me right.

You can.

Code in application.cfm:



code in error.cfm:

", Chr(13), "ALL")>
]*>", "", "All")>

Problem occured at #now()#

physical page: #error.template#\#error.querystring#

Problem:  #errmsg#


Works fine for me everytime!

---
Rich Wild
Senior Web Designer

---
e-mango.com ltd  Tel: 01202 587 400
Lansdowne Place  Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth   Mailto:[EMAIL PROTECTED]
BH8 8EW, UK  http://www.e-mango.com
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
---




> -Original Message-
> From: Andres [mailto:[EMAIL PROTECTED]]
> Sent: 12 January 2001 15:21
> To: CF-Talk
> Subject: RE: CFerror and its
>
>
> i thougght that one of the improvements in CF4.5 was the
> ability to run cf
> code in the the cferror tamplate pages... i may have missread that...
>
> thanks for everyone's help.
>
> andres
>
> -Original Message-
> From: Brandon Paolin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 10:15 AM
> To: CF-Talk
> Subject: Re: CFerror and its
>
>
> you can't execute cf code on error pages.
> what i do is put all the cfcode in hidden form variables, and
> onload submit
> the form to another page that executes the cold fusion and
> emails me the
> error code.
>
> ----- Original Message -
> From: "Andres" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, January 12, 2001 9:56 AM
> Subject: CFerror and its
>
>
> > Hello all,
> > i have an application.cfm that calls a cf error tag like this:
> >
> >
> >  > name="myapp"
> > clientmanagement="Yes"
> > sessionmanagement="Yes"
> > setclientcookies="Yes"
> > sessiontimeout="#CreateTimeSpan(0, 0, mins_until_timeout, 0)#">
> >
> >  mailto="[EMAIL PROTECTED]">
> >
> > 
> >
> >
> > The problem is that when a validation error occurs, the
> error page appears
> > fine, but the CF inside the error template is not
> executed... it shown as
> if
> > it was a regular html page with all the cf showing.
> >
> > can someone tell me why this is happening and how i can correct the
> > problem??
> >
> >
> > thanks
> >
> > andres
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFerror and its

2001-01-12 Thread Rich Wild

Well I thought that you couldn't run cf code in the specified error template
too until my fellow UK CFUG compadres put me right.

You can.

Code in application.cfm:



code in error.cfm:

", Chr(13), "ALL")>
]*>", "", "All")>

Problem occured at #now()#

physical page: #error.template#\#error.querystring#

Problem:  #errmsg#


Works fine for me everytime! 

---
Rich Wild
Senior Web Designer

---
e-mango.com ltd  Tel: 01202 587 400
Lansdowne Place  Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth   Mailto:[EMAIL PROTECTED]
BH8 8EW, UK  http://www.e-mango.com
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
---




> -Original Message-
> From: Andres [mailto:[EMAIL PROTECTED]]
> Sent: 12 January 2001 15:21
> To: CF-Talk
> Subject: RE: CFerror and its
> 
> 
> i thougght that one of the improvements in CF4.5 was the 
> ability to run cf
> code in the the cferror tamplate pages... i may have missread that...
> 
> thanks for everyone's help.
> 
> andres
> 
> -Original Message-
> From: Brandon Paolin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 10:15 AM
> To: CF-Talk
> Subject: Re: CFerror and its
> 
> 
> you can't execute cf code on error pages.
> what i do is put all the cfcode in hidden form variables, and 
> onload submit
> the form to another page that executes the cold fusion and 
> emails me the
> error code.
> 
> - Original Message -
> From: "Andres" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, January 12, 2001 9:56 AM
> Subject: CFerror and its
> 
> 
> > Hello all,
> > i have an application.cfm that calls a cf error tag like this:
> >
> >
> >  > name="myapp"
> > clientmanagement="Yes"
> > sessionmanagement="Yes"
> > setclientcookies="Yes"
> > sessiontimeout="#CreateTimeSpan(0, 0, mins_until_timeout, 0)#">
> >
> >  mailto="[EMAIL PROTECTED]">
> >
> > 
> >
> >
> > The problem is that when a validation error occurs, the 
> error page appears
> > fine, but the CF inside the error template is not 
> executed... it shown as
> if
> > it was a regular html page with all the cf showing.
> >
> > can someone tell me why this is happening and how i can correct the
> > problem??
> >
> >
> > thanks
> >
> > andres
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFerror and its

2001-01-12 Thread Jeff Sarsoun

type="exception" allows you to use cfml on the corresponding template.
"Monitor" is the default and catch all if your exception template has a cfml
error.  In 4.0 cfml was not allowed on error templates due to the
possibility of an infinite loop. i.e.. error page errors so it calls the
error page with the error.  Now cferror has a tree it follows.

-Original Message-
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 9:57 AM
To: CF-Talk
Subject: CFerror and its


Hello all,
i have an application.cfm that calls a cf error tag like this:









The problem is that when a validation error occurs, the error page appears
fine, but the CF inside the error template is not executed... it shown as if
it was a regular html page with all the cf showing.

can someone tell me why this is happening and how i can correct the
problem??


thanks

andres
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFerror and its

2001-01-12 Thread Joe Sheble aka Wizaerd


Actually starting with 4.5 you can execute CF code in a template specified 
by the  tag, but only if you use the TYPE="Exception" and 
EXCEPTION="Any" in your tag.  Such as:



Or you can specify in your CF Administrator default templates for this for 
a site wide error trap, and still be able to use CF code in your error 
handling template.

At 10:14 AM 1/12/01 -0500, you wrote:
>you can't execute cf code on error pages.
>what i do is put all the cfcode in hidden form variables, and onload submit
>the form to another page that executes the cold fusion and emails me the
>error code.
>
>- Original Message -
>From: "Andres" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Friday, January 12, 2001 9:56 AM
>Subject: CFerror and its
>
>
> > Hello all,
> > i have an application.cfm that calls a cf error tag like this:
> >
> >
> >  > name="myapp"
> > clientmanagement="Yes"
> > sessionmanagement="Yes"
> > setclientcookies="Yes"
> > sessiontimeout="#CreateTimeSpan(0, 0, mins_until_timeout, 0)#">
> >
> > 
> >
> > 
> >
> >
> > The problem is that when a validation error occurs, the error page appears
> > fine, but the CF inside the error template is not executed... it shown as
>if
> > it was a regular html page with all the cf showing.
> >
> > can someone tell me why this is happening and how i can correct the
> > problem??
> >
> >
> > thanks
> >
> > andres
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFerror and its

2001-01-12 Thread Andres

i thougght that one of the improvements in CF4.5 was the ability to run cf
code in the the cferror tamplate pages... i may have missread that...

thanks for everyone's help.

andres

-Original Message-
From: Brandon Paolin [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 10:15 AM
To: CF-Talk
Subject: Re: CFerror and its


you can't execute cf code on error pages.
what i do is put all the cfcode in hidden form variables, and onload submit
the form to another page that executes the cold fusion and emails me the
error code.

- Original Message -
From: "Andres" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 9:56 AM
Subject: CFerror and its


> Hello all,
> i have an application.cfm that calls a cf error tag like this:
>
>
>  name="myapp"
> clientmanagement="Yes"
> sessionmanagement="Yes"
> setclientcookies="Yes"
> sessiontimeout="#CreateTimeSpan(0, 0, mins_until_timeout, 0)#">
>
> 
>
> 
>
>
> The problem is that when a validation error occurs, the error page appears
> fine, but the CF inside the error template is not executed... it shown as
if
> it was a regular html page with all the cf showing.
>
> can someone tell me why this is happening and how i can correct the
> problem??
>
>
> thanks
>
> andres
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFerror and its

2001-01-12 Thread Sean Daniels

> The problem is that when a validation error occurs, the error page appears
> fine, but the CF inside the error template is not executed... it
> shown as if
> it was a regular html page with all the cf showing.
>
> can someone tell me why this is happening and how i can correct the
> problem??

It is not possible to get CF to parse CF code in the cferror page. As an
alternative, I suggest looking into , . This is a much more
sophisticated method of error-handling that does allow for CF processing to
take place.

Good luck.

- Sean
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFerror and its

2001-01-12 Thread Zachary Bedell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Check out the docs for CFError.  CF code doesn't execute in the page
specified for a CFError tag.  It's assumed that if you're already in
an error situation, running more code might not be the best idea.  I
dunno how valid that is, but that's what the docs say...

There's a limited set of replacement values you can use in the error
page.  Like I said  Read The Fine Manual to find out more...

Best regards,
Zac Bedell

> -Original Message-
> From: Andres [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 9:57 AM
> To: CF-Talk
> Subject: CFerror and its
> 
> The problem is that when a validation error occurs, the error 
> page appears fine, but the CF inside the error template is 
> not executed... it shown as if it was a regular html page 
> with all the cf showing.
> 
> can someone tell me why this is happening and how i can correct the
> problem??

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
Comment: Please use PGP!

iQA/AwUBOl8gMKvhLS1aWPxeEQKvDACgmfkauxVTu0bOeQaPMBcg52A1R1QAnRG5
4jEST6vDxLyNgWSHuVx35bpI
=1GCC
-END PGP SIGNATURE-

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFerror and its

2001-01-12 Thread Brandon Paolin

you can't execute cf code on error pages.
what i do is put all the cfcode in hidden form variables, and onload submit
the form to another page that executes the cold fusion and emails me the
error code.

- Original Message -
From: "Andres" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 9:56 AM
Subject: CFerror and its


> Hello all,
> i have an application.cfm that calls a cf error tag like this:
>
>
>  name="myapp"
> clientmanagement="Yes"
> sessionmanagement="Yes"
> setclientcookies="Yes"
> sessiontimeout="#CreateTimeSpan(0, 0, mins_until_timeout, 0)#">
>
> 
>
> 
>
>
> The problem is that when a validation error occurs, the error page appears
> fine, but the CF inside the error template is not executed... it shown as
if
> it was a regular html page with all the cf showing.
>
> can someone tell me why this is happening and how i can correct the
> problem??
>
>
> thanks
>
> andres
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFerror and its

2001-01-12 Thread Andres

Hello all,
i have an application.cfm that calls a cf error tag like this:









The problem is that when a validation error occurs, the error page appears
fine, but the CF inside the error template is not executed... it shown as if
it was a regular html page with all the cf showing.

can someone tell me why this is happening and how i can correct the
problem??


thanks

andres

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists