RE: Template not found. Which template?

2000-10-19 Thread Peter Theobald

At 04:06 PM 9/22/00 +0100, Reynolds, Adam wrote:
[...]
Putting the !-- file name -- could be considered a security risk. stick to
cf comments (remap ctrl+shft+m in Studio to CF comments!)

CFML comments will be removed before going to the browser so they will be useless in 
identifying which template has been called. So that won't help at all.

 --
 From: Peter Theobald[SMTP:[EMAIL PROTECTED]]
 Sent: 22 September 2000 16:01
 To:   CF-Talk
 Subject:  RE: Template not found. Which template?
 
 Nice and simple!
 
 At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
 Peter - here's a clue to help you out:
 
 In each file you create, add an HTML comment line identifying the
 filename at the beginning and ending point of the file.  (!-- begin
 filename.cfm ---)  That way, when an error occurs, you can view the
 source and see which file was last processed before the error occured.
 
 ---mark
 
 
 --
 Mark Warrick
 Phone: (714) 547-5386
 Efax.com Fax: (801) 730-7289
 Personal Email: [EMAIL PROTECTED]
 Personal URL: http://www.warrick.net 
 Business Email: [EMAIL PROTECTED]
 Business URL: http://www.fusioneers.com
 ICQ: 346566
 --
 
 
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 22, 2000 12:05 AM
  To: CF-Talk
  Subject: RE: Template not found. Which template?
  
  
  How would it be clear if I click on a link that loaded a handler 
  template (index.cfm) that itself includes 30 other templates?
  
  I suppose I could put cftry and cfcatch around the entire 
  file and print more information myself. But the last time I tried 
  that the error information I found was exactly the same as what 
  CF printed by default. No more no less.
  
  At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
  Try cftry and cfcatch tags there is a way to put the stack 
  onto the page
  that will show the last page called, then it would be a matter of
 that.
  However if you clicked on a link or something then it would beclear
 that
  this template would be the culprit, basic QA would solve this fairly
  quickly:-)
  
  regards
  
  Andrew Scott
  ANZ eCommerce Centre
  * Ph 9273 0693  
  * [EMAIL PROTECTED]
  
  
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: 22 September 2000 16:30
  To: CF-Talk
  Subject: Template not found. Which template?
  
  
  I have a "FuseBox-like" structure with a lot of template files 
  including other template files.
  Now I get the error: Template not found. But WHICH template 
  isn't found?! It could be any one of about 30 templates!
  
  Why on Earth didn't Allaire print the NAME of the template you 
  are trying to include?
  How can I find out?
  
  
  
  -
  - -
  Peter Theobald, Chief Technology Officer
  LiquidStreaming http://www.liquidstreaming.com
  [EMAIL PROTECTED]
  Phone 1.212.545.1232 Fax 1.212.679.8032
  
  -
  ---
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
 f_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
 the body.
 
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body. 
 
 
 -
 --
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebarstsbodysts/cf_talk or send
 a message to [EMAIL PROTECTED] with 'unsubscribe' in the
 body. 
 
 
 --
 -
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 x204 Fax 1.212.679.8032
 
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To U

RE: Template not found. Which template?

2000-10-19 Thread Peter Theobald

That is not a CFML comment. CFML comments have THREE dashes. HTML comments have two 
dashes, and get sent to the browser.

At 03:11 PM 9/22/00 -0400, Peter Theobald wrote:
At 04:06 PM 9/22/00 +0100, Reynolds, Adam wrote:
[...]
Putting the !-- file name -- could be considered a security risk. stick to
cf comments (remap ctrl+shft+m in Studio to CF comments!)

CFML comments will be removed before going to the browser so they will be useless in 
identifying which template has been called. So that won't help at all.

 --
 From: Peter Theobald[SMTP:[EMAIL PROTECTED]]
 Sent: 22 September 2000 16:01
 To:   CF-Talk
 Subject:  RE: Template not found. Which template?
 
 Nice and simple!
 
 At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
 Peter - here's a clue to help you out:
 
 In each file you create, add an HTML comment line identifying the
 filename at the beginning and ending point of the file.  (!-- begin
 filename.cfm ---)  That way, when an error occurs, you can view the
 source and see which file was last processed before the error occured.
 
 ---mark
 
 
 --
 Mark Warrick
 Phone: (714) 547-5386
 Efax.com Fax: (801) 730-7289
 Personal Email: [EMAIL PROTECTED]
 Personal URL: http://www.warrick.net 
 Business Email: [EMAIL PROTECTED]
 Business URL: http://www.fusioneers.com
 ICQ: 346566
 --
 
 
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 22, 2000 12:05 AM
  To: CF-Talk
  Subject: RE: Template not found. Which template?
  
  
  How would it be clear if I click on a link that loaded a handler 
  template (index.cfm) that itself includes 30 other templates?
  
  I suppose I could put cftry and cfcatch around the entire 
  file and print more information myself. But the last time I tried 
  that the error information I found was exactly the same as what 
  CF printed by default. No more no less.
  
  At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
  Try cftry and cfcatch tags there is a way to put the stack 
  onto the page
  that will show the last page called, then it would be a matter of
 that.
  However if you clicked on a link or something then it would beclear
 that
  this template would be the culprit, basic QA would solve this fairly
  quickly:-)
  
  regards
  
  Andrew Scott
  ANZ eCommerce Centre
  * Ph 9273 0693  
  * [EMAIL PROTECTED]
  
  
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: 22 September 2000 16:30
  To: CF-Talk
  Subject: Template not found. Which template?
  
  
  I have a "FuseBox-like" structure with a lot of template files 
  including other template files.
  Now I get the error: Template not found. But WHICH template 
  isn't found?! It could be any one of about 30 templates!
  
  Why on Earth didn't Allaire print the NAME of the template you 
  are trying to include?
  How can I find out?
  
  
  
  -
  - -
  Peter Theobald, Chief Technology Officer
  LiquidStreaming http://www.liquidstreaming.com
  [EMAIL PROTECTED]
  Phone 1.212.545.1232 Fax 1.212.679.8032
  
  -
  ---
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
 f_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
 the body.
 
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body. 
 
 
 -
 --
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebarstsbodysts/cf_talk or send
 a message to [EMAIL PROTECTED] with 'unsubscribe' in the
 body. 
 
 
 --
 -
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.123

RE: Template not found. Which template?

2000-10-19 Thread Peter Theobald

Why are we getting September messages coming through again?

At 03:11 PM 9/22/00 -0400, Peter Theobald wrote:
At 04:06 PM 9/22/00 +0100, Reynolds, Adam wrote:
[...]
Putting the !-- file name -- could be considered a security risk. stick to
cf comments (remap ctrl+shft+m in Studio to CF comments!)

CFML comments will be removed before going to the browser so they will be useless in 
identifying which template has been called. So that won't help at all.

 --
 From: Peter Theobald[SMTP:[EMAIL PROTECTED]]
 Sent: 22 September 2000 16:01
 To:   CF-Talk
 Subject:  RE: Template not found. Which template?
 
 Nice and simple!
 
 At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
 Peter - here's a clue to help you out:
 
 In each file you create, add an HTML comment line identifying the
 filename at the beginning and ending point of the file.  (!-- begin
 filename.cfm ---)  That way, when an error occurs, you can view the
 source and see which file was last processed before the error occured.
 
 ---mark
 
 
 --
 Mark Warrick
 Phone: (714) 547-5386
 Efax.com Fax: (801) 730-7289
 Personal Email: [EMAIL PROTECTED]
 Personal URL: http://www.warrick.net 
 Business Email: [EMAIL PROTECTED]
 Business URL: http://www.fusioneers.com
 ICQ: 346566
 --
 
 
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 22, 2000 12:05 AM
  To: CF-Talk
  Subject: RE: Template not found. Which template?
  
  
  How would it be clear if I click on a link that loaded a handler 
  template (index.cfm) that itself includes 30 other templates?
  
  I suppose I could put cftry and cfcatch around the entire 
  file and print more information myself. But the last time I tried 
  that the error information I found was exactly the same as what 
  CF printed by default. No more no less.
  
  At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
  Try cftry and cfcatch tags there is a way to put the stack 
  onto the page
  that will show the last page called, then it would be a matter of
 that.
  However if you clicked on a link or something then it would beclear
 that
  this template would be the culprit, basic QA would solve this fairly
  quickly:-)
  
  regards
  
  Andrew Scott
  ANZ eCommerce Centre
  * Ph 9273 0693  
  * [EMAIL PROTECTED]
  
  
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: 22 September 2000 16:30
  To: CF-Talk
  Subject: Template not found. Which template?
  
  
  I have a "FuseBox-like" structure with a lot of template files 
  including other template files.
  Now I get the error: Template not found. But WHICH template 
  isn't found?! It could be any one of about 30 templates!
  
  Why on Earth didn't Allaire print the NAME of the template you 
  are trying to include?
  How can I find out?
  
  
  
  -
  - -
  Peter Theobald, Chief Technology Officer
  LiquidStreaming http://www.liquidstreaming.com
  [EMAIL PROTECTED]
  Phone 1.212.545.1232 Fax 1.212.679.8032
  
  -
  ---
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
 f_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
 the body.
 
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body. 
 
 
 -
 --
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebarstsbodysts/cf_talk or send
 a message to [EMAIL PROTECTED] with 'unsubscribe' in the
 body. 
 
 
 --
 -
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 x204 Fax 1.21

RE: Template not found. Which template?

2000-10-19 Thread Warrick, Mark

That's not a CFML comment.  It's an HTML comment.

This will show up in the code:

!-- test --

This will not:

!--- test ---

---mark
--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 22, 2000 12:11 PM
 To: CF-Talk
 Subject: RE: Template not found. Which template?
 
 
 At 04:06 PM 9/22/00 +0100, Reynolds, Adam wrote:
 [...]
 Putting the !-- file name -- could be considered a security 
 risk. stick to
 cf comments (remap ctrl+shft+m in Studio to CF comments!)
 
 CFML comments will be removed before going to the browser so they 
 will be useless in identifying which template has been called. So 
 that won't help at all.
 
  --
  From: Peter Theobald[SMTP:[EMAIL PROTECTED]]
  Sent: 22 September 2000 16:01
  To:   CF-Talk
  Subject:  RE: Template not found. Which template?
  
  Nice and simple!
  
  At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
  Peter - here's a clue to help you out:
  
  In each file you create, add an HTML comment line identifying the
  filename at the beginning and ending point of the file.  (!-- begin
  filename.cfm ---)  That way, when an error occurs, you can view the
  source and see which file was last processed before the error occured.
  
  ---mark
  
  
  --
  Mark Warrick
  Phone: (714) 547-5386
  Efax.com Fax: (801) 730-7289
  Personal Email: [EMAIL PROTECTED]
  Personal URL: http://www.warrick.net 
  Business Email: [EMAIL PROTECTED]
  Business URL: http://www.fusioneers.com
  ICQ: 346566
  --
  
  
   -Original Message-
   From: Peter Theobald [mailto:[EMAIL PROTECTED]]
   Sent: Friday, September 22, 2000 12:05 AM
   To: CF-Talk
   Subject: RE: Template not found. Which template?
   
   
   How would it be clear if I click on a link that loaded a handler 
   template (index.cfm) that itself includes 30 other templates?
   
   I suppose I could put cftry and cfcatch around the entire 
   file and print more information myself. But the last time I tried 
   that the error information I found was exactly the same as what 
   CF printed by default. No more no less.
   
   At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
   Try cftry and cfcatch tags there is a way to put the stack 
   onto the page
   that will show the last page called, then it would be a matter of
  that.
   However if you clicked on a link or something then it would beclear
  that
   this template would be the culprit, basic QA would solve 
 this fairly
   quickly:-)
   
   regards
   
   Andrew Scott
   ANZ eCommerce Centre
   * Ph 9273 0693  
   * [EMAIL PROTECTED]
   
   
   -Original Message-
   From: Peter Theobald [mailto:[EMAIL PROTECTED]]
   Sent: 22 September 2000 16:30
   To: CF-Talk
   Subject: Template not found. Which template?
   
   
   I have a "FuseBox-like" structure with a lot of template files 
   including other template files.
   Now I get the error: Template not found. But WHICH template 
   isn't found?! It could be any one of about 30 templates!
   
   Why on Earth didn't Allaire print the NAME of the template you 
   are trying to include?
   How can I find out?
   
   
   
   -
   - -
   Peter Theobald, Chief Technology Officer
   LiquidStreaming http://www.liquidstreaming.com
   [EMAIL PROTECTED]
   Phone 1.212.545.1232 Fax 1.212.679.8032
   
   -
   ---
   --
   Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
   To Unsubscribe visit
   http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
  f_talk or
  send a message to [EMAIL PROTECTED] with 
 'unsubscribe'
  in
  the body.
  
 
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
  send a message to [EMAIL PROTECTED] with 
 'unsubscribe' in
  the body. 
  
  
  
 -
  --
  Peter Theobald, Chief Technology Officer
  LiquidStreaming http://www.liquidstreaming.com
  [EMAIL PROTECTED]
  Phone 1.212.545.1232 Fax 1.212.679.8032
  
  
 -
  -
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  
http://www.houseoffusion.com

RE: Template not found. Which template?

2000-10-02 Thread Dave Watts

 You could AND SHOULD secure NON-Fusebox sub-templates with 
 something like the following:
 
 cfif http_referrer does not contain "#server_name#"
   
   cfabort
 
 /cfif

If you're concerned about security, you can't rely on HTTP_REFERER, which is
provided by the browser. Any data from the browser is subject to tampering.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Template not found. Which template?

2000-09-24 Thread Peter Theobald

Knowing what you write and what was last displayed doesn't help much if you have 
called several ACTION-only templates that have no display.

I'll try that error catcher though...

At 01:54 PM 9/23/00 +1000, Andrew Scott wrote:
It comes down to knowing what you write, and what was last displayed on the
screen

However I find this method to work very well:-) It displays a list of the
current stack and it should display the last file called/opened and thing
its a matter of taking the matter from there:-)



CFCATCH TYPE="Template"
!--- the message to display ---
H3You've Thrown a Database BError/B/H3
CFOUTPUT
!--- and the diagnostic message from the ColdFusion server ---
P#CFCATCH.message#/P
PCaught an exception, type = #CFCATCH.TYPE# /P
PThe contents of the tag stack are:/P
CFLOOP index=i from=1 to = #ArrayLen(CFCATCH.TAGCONTEXT)#
  CFSET sCurrent = #CFCATCH.TAGCONTEXT[i]#
  BR#i# #sCurrent["ID"]#
(#sCurrent["LINE"]#,#sCurrent["COLUMN"]#) #sCurrent["TEMPLATE"]#
/CFLOOP
/CFOUTPUT
/CFCATCH


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Friday, 22 September 2000 5:05 PM
To: CF-Talk
Subject: RE: Template not found. Which template?


How would it be clear if I click on a link that loaded a handler template
(index.cfm) that itself includes 30 other templates?

I suppose I could put cftry and cfcatch around the entire file and print
more information myself. But the last time I tried that the error
information I found was exactly the same as what CF printed by default. No
more no less.

At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
Try cftry and cfcatch tags there is a way to put the stack onto the
page
that will show the last page called, then it would be a matter of that.
However if you clicked on a link or something then it would beclear that
this template would be the culprit, basic QA would solve this fairly
quickly:-)

regards

Andrew Scott
ANZ eCommerce Centre
* Ph 9273 0693
* [EMAIL PROTECTED]


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: 22 September 2000 16:30
To: CF-Talk
Subject: Template not found. Which template?


I have a "FuseBox-like" structure with a lot of template files including
other template files.
Now I get the error: Template not found. But WHICH template isn't found?!
It could be any one of about 30 templates!

Why on Earth didn't Allaire print the NAME of the template you are trying
to include?
How can I find out?



-- 
-
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

---
-
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
---
---
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.679.8032

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Template not found. Which template?

2000-09-23 Thread Andrew Scott

Doesn't work very well its sorted alphabetical and doesn't give the order
they were called:-)

-Original Message-
From: Reynolds, Adam [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 23 September 2000 1:06 AM
To: CF-Talk
Subject: RE: Template not found. Which template?


Or go into your server settings go to debug and set the:
 ...Detail view - shows the time to process the page broken down
by all the individual pages that were used to compose the final page. (You
must restart ColdFusion Server in order for changes to this setting to take
effect.)

option.

Putting the !-- file name -- could be considered a security risk. stick to
cf comments (remap ctrl+shft+m in Studio to CF comments!)

 --
 From: Peter Theobald[SMTP:[EMAIL PROTECTED]]
 Sent: 22 September 2000 16:01
 To:   CF-Talk
 Subject:  RE: Template not found. Which template?

 Nice and simple!

 At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
 Peter - here's a clue to help you out:
 
 In each file you create, add an HTML comment line identifying the
 filename at the beginning and ending point of the file.  (!-- begin
 filename.cfm ---)  That way, when an error occurs, you can view the
 source and see which file was last processed before the error occured.
 
 ---mark
 
 
 --
 Mark Warrick
 Phone: (714) 547-5386
 Efax.com Fax: (801) 730-7289
 Personal Email: [EMAIL PROTECTED]
 Personal URL: http://www.warrick.net
 Business Email: [EMAIL PROTECTED]
 Business URL: http://www.fusioneers.com
 ICQ: 346566
 --
 
 
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 22, 2000 12:05 AM
  To: CF-Talk
  Subject: RE: Template not found. Which template?
 
 
  How would it be clear if I click on a link that loaded a handler
  template (index.cfm) that itself includes 30 other templates?
 
  I suppose I could put cftry and cfcatch around the entire
  file and print more information myself. But the last time I tried
  that the error information I found was exactly the same as what
  CF printed by default. No more no less.
 
  At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
  Try cftry and cfcatch tags there is a way to put the stack
  onto the page
  that will show the last page called, then it would be a matter of
 that.
  However if you clicked on a link or something then it would beclear
 that
  this template would be the culprit, basic QA would solve this fairly
  quickly:-)
  
  regards
  
  Andrew Scott
  ANZ eCommerce Centre
  * Ph 9273 0693
  * [EMAIL PROTECTED]
  
  
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: 22 September 2000 16:30
  To: CF-Talk
  Subject: Template not found. Which template?
  
  
  I have a "FuseBox-like" structure with a lot of template files
  including other template files.
  Now I get the error: Template not found. But WHICH template
  isn't found?! It could be any one of about 30 templates!
  
  Why on Earth didn't Allaire print the NAME of the template you
  are trying to include?
  How can I find out?
  
  
  
  -
  - -
  Peter Theobald, Chief Technology Officer
  LiquidStreaming http://www.liquidstreaming.com
  [EMAIL PROTECTED]
  Phone 1.212.545.1232 Fax 1.212.679.8032
  
  -
  ---
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
 f_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
 the body.
 
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 
 -
 --
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebarstsbodysts/cf_talk or send
 a message to [EMAIL PROTECTED] with 'unsubscribe' in

RE: Template not found. Which template?

2000-09-23 Thread Andrew Scott

It comes down to knowing what you write, and what was last displayed on the
screen

However I find this method to work very well:-) It displays a list of the
current stack and it should display the last file called/opened and thing
its a matter of taking the matter from there:-)



CFCATCH TYPE="Template"
!--- the message to display ---
H3You've Thrown a Database BError/B/H3
CFOUTPUT
!--- and the diagnostic message from the ColdFusion server ---
P#CFCATCH.message#/P
PCaught an exception, type = #CFCATCH.TYPE# /P
PThe contents of the tag stack are:/P
CFLOOP index=i from=1 to = #ArrayLen(CFCATCH.TAGCONTEXT)#
  CFSET sCurrent = #CFCATCH.TAGCONTEXT[i]#
  BR#i# #sCurrent["ID"]#
(#sCurrent["LINE"]#,#sCurrent["COLUMN"]#) #sCurrent["TEMPLATE"]#
/CFLOOP
/CFOUTPUT
/CFCATCH


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Friday, 22 September 2000 5:05 PM
To: CF-Talk
Subject: RE: Template not found. Which template?


How would it be clear if I click on a link that loaded a handler template
(index.cfm) that itself includes 30 other templates?

I suppose I could put cftry and cfcatch around the entire file and print
more information myself. But the last time I tried that the error
information I found was exactly the same as what CF printed by default. No
more no less.

At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
Try cftry and cfcatch tags there is a way to put the stack onto the
page
that will show the last page called, then it would be a matter of that.
However if you clicked on a link or something then it would beclear that
this template would be the culprit, basic QA would solve this fairly
quickly:-)

regards

Andrew Scott
ANZ eCommerce Centre
* Ph 9273 0693
* [EMAIL PROTECTED]


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: 22 September 2000 16:30
To: CF-Talk
Subject: Template not found. Which template?


I have a "FuseBox-like" structure with a lot of template files including
other template files.
Now I get the error: Template not found. But WHICH template isn't found?!
It could be any one of about 30 templates!

Why on Earth didn't Allaire print the NAME of the template you are trying
to include?
How can I find out?



-- 
-
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

---
-
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
---
---
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Template not found. Which template?

2000-09-23 Thread Mark Warrick

The "security risk" Adam pointed out is true, however you should be securing your 
sub-templates anyway and thus the supposed security risk would be a moot point.

This is another reason why you SHOULD use the fusebox model.  You can secure all your 
sub-templates with the following code which you would place in your application.cfm 
file (oh God, I can hear it now from the Fusebox zealots (don't use an application 
file!!!))

Anyway, despite what the specs say, this works to secure your sub-templates in the 
Fusebox model:

cfif script_name does not contain "index.cfm"

cfabort 

/cfif

You could AND SHOULD secure NON-Fusebox sub-templates with something like the 
following:

cfif http_referrer does not contain "#server_name#"

cfabort

/cfif

--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


 -Original Message-
 From: Dan O'Keefe [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 22, 2000 2:03 PM
 To: CF-Talk
 Subject: RE: Template not found. Which template?
 
 
 Has anyone noticed if this option lists the templates in the 
 order they were
 called?
 
 --
 Dan O'Keefe
 TriPoint Technologies
 [EMAIL PROTECTED]
 954.675.3115
 
 
 
 |-Original Message-
 |From: Reynolds, Adam [mailto:[EMAIL PROTECTED]]
 |Sent: Friday, September 22, 2000 10:06 AM
 |To: CF-Talk
 |Subject: RE: Template not found. Which template?
 |
 |
 |Or go into your server settings go to debug and set the:
 | ... Detail view - shows the time to process the page broken down
 |by all the individual pages that were used to compose the final 
 page. (You
 |must restart ColdFusion Server in order for changes to this 
 setting to take
 |effect.)
 |
 |option.
 |
 |Putting the !-- file name -- could be considered a security
 |risk. stick to
 |cf comments (remap ctrl+shft+m in Studio to CF comments!)
 |
 | --
 | From:  Peter Theobald[SMTP:[EMAIL PROTECTED]]
 | Sent:  22 September 2000 16:01
 | To:    CF-Talk
 | Subject:   RE: Template not found. Which template?
 |
 | Nice and simple!
 |
 | At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
 | Peter - here's a clue to help you out:
 | 
 | In each file you create, add an HTML comment line identifying the
 | filename at the beginning and ending point of the file.  (!-- begin
 | filename.cfm ---)  That way, when an error occurs, you can view the
 | source and see which file was last processed before the error occured.
 | 
 | ---mark
 | 
 | 
 | --
 | Mark Warrick
 | Phone: (714) 547-5386
 | Efax.com Fax: (801) 730-7289
 | Personal Email: [EMAIL PROTECTED]
 | Personal URL: http://www.warrick.net
 | Business Email: [EMAIL PROTECTED]
 | Business URL: http://www.fusioneers.com
 | ICQ: 346566
 | --
 | 
 | 
 |  -Original Message-
 |  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 |  Sent: Friday, September 22, 2000 12:05 AM
 |  To: CF-Talk
 |  Subject: RE: Template not found. Which template?
 | 
 | 
 |  How would it be clear if I click on a link that loaded a handler
 |  template (index.cfm) that itself includes 30 other templates?
 | 
 |  I suppose I could put cftry and cfcatch around the entire
 |  file and print more information myself. But the last time I tried
 |  that the error information I found was exactly the same as what
 |  CF printed by default. No more no less.
 | 
 |  At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
 |  Try cftry and cfcatch tags there is a way to put the stack
 |  onto the page
 |  that will show the last page called, then it would be a matter of
 | that.
 |  However if you clicked on a link or something then it would beclear
 | that
 |  this template would be the culprit, basic QA would solve 
 this fairly
 |  quickly:-)
 |  
 |  regards
 |  
 |  Andrew Scott
 |  ANZ eCommerce Centre
 |  * Ph 9273 0693
 |  * [EMAIL PROTECTED]
 |  
 |  
 |  -Original Message-
 |  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 |  Sent: 22 September 2000 16:30
 |  To: CF-Talk
 |  Subject: Template not found. Which template?
 |  
 |  
 |  I have a "FuseBox-like" structure with a lot of template files
 |  including other template files.
 |  Now I get the error: Template not found. But WHICH template
 |  isn't found?! It could be any one of about 30 templates!
 |  
 |  Why on Earth didn't Allaire print the NAME of the template you
 |  are trying to include?
 |  How can I find out?
 |  
 |  
 |  
 |  -
 |  - -
 |  Peter Theobald, Chief Tec

Re: Template not found. Which template?

2000-09-22 Thread Chris Lott

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Try cftry and cfcatch tags there is a way to put the stack onto
the page
  that will show the last page called

Isn't this fixed in the latest 4.5.1 service pack? I seem to recall
that error information now indicates the template being called if the
error was in an included file... or maybe I was just happily
dreaming...

c
- --
Chris Lott

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8 for message encryption and authentication: USE PGP!
Comment: PGP KeyID: 0x51046CFD

iQA/AwUBOcr/YNaLYehRBGz9EQI2aQCcDh58YCsi5FunkkEZACY++VhyCcwAnjM7
husxWHNEka51rLm2lmqdyH9h
=0jzk
-END PGP SIGNATURE-


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Template not found. Which template?

2000-09-22 Thread Peter Theobald

How would it be clear if I click on a link that loaded a handler template (index.cfm) 
that itself includes 30 other templates?

I suppose I could put cftry and cfcatch around the entire file and print more 
information myself. But the last time I tried that the error information I found was 
exactly the same as what CF printed by default. No more no less.

At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
Try cftry and cfcatch tags there is a way to put the stack onto the page
that will show the last page called, then it would be a matter of that.
However if you clicked on a link or something then it would beclear that
this template would be the culprit, basic QA would solve this fairly
quickly:-)

regards

Andrew Scott
ANZ eCommerce Centre
* Ph 9273 0693  
* [EMAIL PROTECTED]


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: 22 September 2000 16:30
To: CF-Talk
Subject: Template not found. Which template?


I have a "FuseBox-like" structure with a lot of template files including other 
template files.
Now I get the error: Template not found. But WHICH template isn't found?! It could be 
any one of about 30 templates!

Why on Earth didn't Allaire print the NAME of the template you are trying to include?
How can I find out?



-- -
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Template not found. Which template?

2000-09-22 Thread Peter Theobald

Is that service pack available for Linux?
Ill check. I may not have it...

At 10:42 PM 9/21/00 -0800, Chris Lott wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Try cftry and cfcatch tags there is a way to put the stack onto
the page
  that will show the last page called

Isn't this fixed in the latest 4.5.1 service pack? I seem to recall
that error information now indicates the template being called if the
error was in an included file... or maybe I was just happily
dreaming...

c
- --
Chris Lott

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8 for message encryption and authentication: USE PGP!
Comment: PGP KeyID: 0x51046CFD

iQA/AwUBOcr/YNaLYehRBGz9EQI2aQCcDh58YCsi5FunkkEZACY++VhyCcwAnjM7
husxWHNEka51rLm2lmqdyH9h
=0jzk
-END PGP SIGNATURE-


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Template not found. Which template?

2000-09-22 Thread Mark Warrick

Peter - here's a clue to help you out:

In each file you create, add an HTML comment line identifying the filename at the 
beginning and ending point of the file.  (!-- begin filename.cfm ---)  That way, 
when an error occurs, you can view the source and see which file was last processed 
before the error occured.

---mark


--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 22, 2000 12:05 AM
 To: CF-Talk
 Subject: RE: Template not found. Which template?
 
 
 How would it be clear if I click on a link that loaded a handler 
 template (index.cfm) that itself includes 30 other templates?
 
 I suppose I could put cftry and cfcatch around the entire 
 file and print more information myself. But the last time I tried 
 that the error information I found was exactly the same as what 
 CF printed by default. No more no less.
 
 At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
 Try cftry and cfcatch tags there is a way to put the stack 
 onto the page
 that will show the last page called, then it would be a matter of that.
 However if you clicked on a link or something then it would beclear that
 this template would be the culprit, basic QA would solve this fairly
 quickly:-)
 
 regards
 
 Andrew Scott
 ANZ eCommerce Centre
 * Ph 9273 0693  
 * [EMAIL PROTECTED]
 
 
 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: 22 September 2000 16:30
 To: CF-Talk
 Subject: Template not found. Which template?
 
 
 I have a "FuseBox-like" structure with a lot of template files 
 including other template files.
 Now I get the error: Template not found. But WHICH template 
 isn't found?! It could be any one of about 30 templates!
 
 Why on Earth didn't Allaire print the NAME of the template you 
 are trying to include?
 How can I find out?
 
 
 
 -
 - -
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032
 
 -
 ---
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
f_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRstsbodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Template not found. Which template?

2000-09-22 Thread Peter Theobald

Nice and simple!

At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
Peter - here's a clue to help you out:

In each file you create, add an HTML comment line identifying the filename at the 
beginning and ending point of the file.  (!-- begin filename.cfm ---)  That way, 
when an error occurs, you can view the source and see which file was last processed 
before the error occured.

---mark


--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 22, 2000 12:05 AM
 To: CF-Talk
 Subject: RE: Template not found. Which template?
 
 
 How would it be clear if I click on a link that loaded a handler 
 template (index.cfm) that itself includes 30 other templates?
 
 I suppose I could put cftry and cfcatch around the entire 
 file and print more information myself. But the last time I tried 
 that the error information I found was exactly the same as what 
 CF printed by default. No more no less.
 
 At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
 Try cftry and cfcatch tags there is a way to put the stack 
 onto the page
 that will show the last page called, then it would be a matter of that.
 However if you clicked on a link or something then it would beclear that
 this template would be the culprit, basic QA would solve this fairly
 quickly:-)
 
 regards
 
 Andrew Scott
 ANZ eCommerce Centre
 * Ph 9273 0693  
 * [EMAIL PROTECTED]
 
 
 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: 22 September 2000 16:30
 To: CF-Talk
 Subject: Template not found. Which template?
 
 
 I have a "FuseBox-like" structure with a lot of template files 
 including other template files.
 Now I get the error: Template not found. But WHICH template 
 isn't found?! It could be any one of about 30 templates!
 
 Why on Earth didn't Allaire print the NAME of the template you 
 are trying to include?
 How can I find out?
 
 
 
 -
 - -
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032
 
 -
 ---
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
f_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarstsbodysts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.679.8032

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Template not found. Which template?

2000-09-22 Thread Reynolds, Adam

Or go into your server settings go to debug and set the:
 ...Detail view - shows the time to process the page broken down
by all the individual pages that were used to compose the final page. (You
must restart ColdFusion Server in order for changes to this setting to take
effect.)

option.

Putting the !-- file name -- could be considered a security risk. stick to
cf comments (remap ctrl+shft+m in Studio to CF comments!)

 --
 From: Peter Theobald[SMTP:[EMAIL PROTECTED]]
 Sent: 22 September 2000 16:01
 To:   CF-Talk
 Subject:  RE: Template not found. Which template?
 
 Nice and simple!
 
 At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
 Peter - here's a clue to help you out:
 
 In each file you create, add an HTML comment line identifying the
 filename at the beginning and ending point of the file.  (!-- begin
 filename.cfm ---)  That way, when an error occurs, you can view the
 source and see which file was last processed before the error occured.
 
 ---mark
 
 
 --
 Mark Warrick
 Phone: (714) 547-5386
 Efax.com Fax: (801) 730-7289
 Personal Email: [EMAIL PROTECTED]
 Personal URL: http://www.warrick.net 
 Business Email: [EMAIL PROTECTED]
 Business URL: http://www.fusioneers.com
 ICQ: 346566
 --
 
 
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 22, 2000 12:05 AM
  To: CF-Talk
  Subject: RE: Template not found. Which template?
  
  
  How would it be clear if I click on a link that loaded a handler 
  template (index.cfm) that itself includes 30 other templates?
  
  I suppose I could put cftry and cfcatch around the entire 
  file and print more information myself. But the last time I tried 
  that the error information I found was exactly the same as what 
  CF printed by default. No more no less.
  
  At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
  Try cftry and cfcatch tags there is a way to put the stack 
  onto the page
  that will show the last page called, then it would be a matter of
 that.
  However if you clicked on a link or something then it would beclear
 that
  this template would be the culprit, basic QA would solve this fairly
  quickly:-)
  
  regards
  
  Andrew Scott
  ANZ eCommerce Centre
  * Ph 9273 0693  
  * [EMAIL PROTECTED]
  
  
  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: 22 September 2000 16:30
  To: CF-Talk
  Subject: Template not found. Which template?
  
  
  I have a "FuseBox-like" structure with a lot of template files 
  including other template files.
  Now I get the error: Template not found. But WHICH template 
  isn't found?! It could be any one of about 30 templates!
  
  Why on Earth didn't Allaire print the NAME of the template you 
  are trying to include?
  How can I find out?
  
  
  
  -
  - -
  Peter Theobald, Chief Technology Officer
  LiquidStreaming http://www.liquidstreaming.com
  [EMAIL PROTECTED]
  Phone 1.212.545.1232 Fax 1.212.679.8032
  
  -
  ---
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
 f_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
 the body.
 
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body. 
 
 
 -
 --
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebarstsbodysts/cf_talk or send
 a message to [EMAIL PROTECTED] with 'unsubscribe' in the
 body. 
 
 
 --
 -
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 x204 Fax 1.21

RE: Template not found. Which template?

2000-09-22 Thread Larry Juncker

Use the HTML comment line !--  -- not the CF Comment line !---  ---

It makes a big difference in that you can not see a CF comment line.

Larry Juncker
Senior Cold Fusion Programmer
Heartland Internet

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 10:01 AM
To: CF-Talk
Subject: RE: Template not found. Which template?


Nice and simple!

At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
Peter - here's a clue to help you out:

In each file you create, add an HTML comment line identifying the filename
at the beginning and ending point of the file.  (!-- begin
filename.cfm ---)  That way, when an error occurs, you can view the source
and see which file was last processed before the error occured.

---mark


--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 22, 2000 12:05 AM
 To: CF-Talk
 Subject: RE: Template not found. Which template?


 How would it be clear if I click on a link that loaded a handler
 template (index.cfm) that itself includes 30 other templates?

 I suppose I could put cftry and cfcatch around the entire
 file and print more information myself. But the last time I tried
 that the error information I found was exactly the same as what
 CF printed by default. No more no less.

 At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
 Try cftry and cfcatch tags there is a way to put the stack
 onto the page
 that will show the last page called, then it would be a matter of that.
 However if you clicked on a link or something then it would beclear that
 this template would be the culprit, basic QA would solve this fairly
 quickly:-)
 
 regards
 
 Andrew Scott
 ANZ eCommerce Centre
 * Ph 9273 0693
 * [EMAIL PROTECTED]
 
 
 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: 22 September 2000 16:30
 To: CF-Talk
 Subject: Template not found. Which template?
 
 
 I have a "FuseBox-like" structure with a lot of template files
 including other template files.
 Now I get the error: Template not found. But WHICH template
 isn't found?! It could be any one of about 30 templates!
 
 Why on Earth didn't Allaire print the NAME of the template you
 are trying to include?
 How can I find out?
 
 
 
 -
 - -
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032
 
 -
 ---
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
f_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

---
---
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

---
---
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebarstsbodysts/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.679.8032


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseof

RE: Template not found. Which template?

2000-09-22 Thread Dan O'Keefe

Has anyone noticed if this option lists the templates in the order they were
called?

--
Dan O'Keefe
TriPoint Technologies
[EMAIL PROTECTED]
954.675.3115



|-Original Message-
|From: Reynolds, Adam [mailto:[EMAIL PROTECTED]]
|Sent: Friday, September 22, 2000 10:06 AM
|To: CF-Talk
|Subject: RE: Template not found. Which template?
|
|
|Or go into your server settings go to debug and set the:
| ...   Detail view - shows the time to process the page broken down
|by all the individual pages that were used to compose the final page. (You
|must restart ColdFusion Server in order for changes to this setting to take
|effect.)
|
|option.
|
|Putting the !-- file name -- could be considered a security
|risk. stick to
|cf comments (remap ctrl+shft+m in Studio to CF comments!)
|
| --
| From:Peter Theobald[SMTP:[EMAIL PROTECTED]]
| Sent:22 September 2000 16:01
| To:  CF-Talk
| Subject: RE: Template not found. Which template?
|
| Nice and simple!
|
| At 12:30 AM 9/22/00 -0700, Mark Warrick wrote:
| Peter - here's a clue to help you out:
| 
| In each file you create, add an HTML comment line identifying the
| filename at the beginning and ending point of the file.  (!-- begin
| filename.cfm ---)  That way, when an error occurs, you can view the
| source and see which file was last processed before the error occured.
| 
| ---mark
| 
| 
| --
| Mark Warrick
| Phone: (714) 547-5386
| Efax.com Fax: (801) 730-7289
| Personal Email: [EMAIL PROTECTED]
| Personal URL: http://www.warrick.net
| Business Email: [EMAIL PROTECTED]
| Business URL: http://www.fusioneers.com
| ICQ: 346566
| --
| 
| 
|  -Original Message-
|  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
|  Sent: Friday, September 22, 2000 12:05 AM
|  To: CF-Talk
|  Subject: RE: Template not found. Which template?
| 
| 
|  How would it be clear if I click on a link that loaded a handler
|  template (index.cfm) that itself includes 30 other templates?
| 
|  I suppose I could put cftry and cfcatch around the entire
|  file and print more information myself. But the last time I tried
|  that the error information I found was exactly the same as what
|  CF printed by default. No more no less.
| 
|  At 05:08 PM 9/22/00 +1100, Scott, Andrew wrote:
|  Try cftry and cfcatch tags there is a way to put the stack
|  onto the page
|  that will show the last page called, then it would be a matter of
| that.
|  However if you clicked on a link or something then it would beclear
| that
|  this template would be the culprit, basic QA would solve this fairly
|  quickly:-)
|  
|  regards
|  
|  Andrew Scott
|  ANZ eCommerce Centre
|  * Ph 9273 0693
|  * [EMAIL PROTECTED]
|  
|  
|  -Original Message-
|  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
|  Sent: 22 September 2000 16:30
|  To: CF-Talk
|  Subject: Template not found. Which template?
|  
|  
|  I have a "FuseBox-like" structure with a lot of template files
|  including other template files.
|  Now I get the error: Template not found. But WHICH template
|  isn't found?! It could be any one of about 30 templates!
|  
|  Why on Earth didn't Allaire print the NAME of the template you
|  are trying to include?
|  How can I find out?
|  
|  
|  
|  -
|  - -
|  Peter Theobald, Chief Technology Officer
|  LiquidStreaming http://www.liquidstreaming.com
|  [EMAIL PROTECTED]
|  Phone 1.212.545.1232 Fax 1.212.679.8032
|  
|  -
|  ---
|  --
|  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
|  To Unsubscribe visit
|  http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
| f_talk or
| send a message to [EMAIL PROTECTED] with 'unsubscribe'
| in
| the body.
|
|
| --
| Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
| To Unsubscribe visit
|
|http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
| send a message to [EMAIL PROTECTED] with 'unsubscribe' in
| the body.
| 
| 
|
|-
| --
| Peter Theobald, Chief Technology Officer
| LiquidStreaming http://www.liquidstreaming.com
| [EMAIL PROTECTED]
| Phone 1.212.545.1232 Fax 1.212.679.8032
| 
|
|-
| -
| Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
| To Unsubscribe visit
|
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 -
 -
 Archives: http://www.mail-archive.c

Re: Template not found. Which template?

2000-09-22 Thread Chris Lott

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

4.5.1 sp1 does this. Here is an example from an error message:

The last successfully parsed CFML construct was a CFOUTPTU tag occupying
document position (3:1) to (3:9). 

The specific sequence of files included or processed is:

D:\WEBROOT\COURSEWARE\C256F00\GRADEBOOK\INDEX.CFM  
  D:\WEBROOT\COURSEWARE\C256F00\GRADEBOOK\DSP_GRADEBOOK.CFM 
CFInclude

c

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8 for message encryption and authentication: USE PGP!
Comment: KeyID: 0x51046CFD

iQA/AwUBOcuhQ9aLYehRBGz9EQLIDgCg+q50/okqz4G9Uy05C1DtyzDD7agAoKGu
ekDwEqWaisR1md5e/35HUY/P
=y6uy
-END PGP SIGNATURE-


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Template not found. Which template?

2000-09-21 Thread Scott, Andrew

Try cftry and cfcatch tags there is a way to put the stack onto the page
that will show the last page called, then it would be a matter of that.
However if you clicked on a link or something then it would beclear that
this template would be the culprit, basic QA would solve this fairly
quickly:-)

regards

Andrew Scott
ANZ eCommerce Centre
* Ph 9273 0693  
* [EMAIL PROTECTED]


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: 22 September 2000 16:30
To: CF-Talk
Subject: Template not found. Which template?


html
font size=3I have a quot;FuseBox-likequot; structure with a lot of
template files including other template files.br
Now I get the error: Template not found. But WHICH template isn't found?!
It could be any one of about 30 templates!br
br
Why on Earth didn't Allaire print the NAME of the template you are trying
to include?br
How can I find out?br
br
/fontbr

br
-font
size=3-
-br
Peter Theobald, Chief Technology Officerbr
LiquidStreaming
a href="http://www.liquidstreaming.com/"
eudora="autourl"http://www.liquidstreaming.com/abr
[EMAIL PROTECTED]br
Phone 1.212.545.1232 Fax 1.212.679.8032br
/font/html


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.