Re: catching WebDNA error messages

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49365
interpreted = N
texte = Donovan,Thanks for that tip. Good thing to know about (I've inherited a system and I need to learn more about it...).This won't, however, work in my case. I am trying to use one template file that loads various includes based on a param in he url. The value of the param is actually the name of the include file, like this: about.tpl?page=service (includes service.inc) about.tpl?page=hours (includes hours.inc)Using [FormVariables ] I am able to catch errors like: about.tpl?pa about.tpl? etc.but I can not catch an error like: about.tpl?page=eligibilityxwith the above, I get the Error: template 'eStore/eligibilityx.inc' not foundDoes [Include ] have any feedback that I can check to see if it found the file it was supposed to include?-lucasOn Wednesday, April 9, 2003, at 11:02 AM, Donovan wrote:> You can edit the errormessages.db to do anything you want. (such as > redirect to a better error page) > > Donovan > > > Lucas Rockwell wrote: > >> Hi all, >> >> I would like to be able to catch WebDNA error messages and I have not >> found out how yet. Basically, when WebDNA produces an error, like: >> >> Error: template 'eStore/eligibilityx.inc' not >> found >> >> I want to catch it so it does not appear on the screen. Just turning >> them off is not acceptable (if that is even possible). I want to be >> able to check for an error and produce a message for the user. >> >> Does anyone know how to do this? >> >> Thanks! >> >> -lucas >> >> >> ------------------------------------------------------------- > > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [Solved? - with code] catching WebDNA error messages (Lucas Rockwell 2003)
  2. Re: [Solved? - with code] catching WebDNA error messages (Donovan 2003)
  3. [Solved - with code] catching WebDNA error messages (Lucas Rockwell 2003)
  4. Re: catching WebDNA error messages (Lucas Rockwell 2003)
  5. Re: catching WebDNA error messages (Pedro Rivera 2003)
  6. Re: catching WebDNA error messages (Lucas Rockwell 2003)
  7. Re: catching WebDNA error messages (Donovan 2003)
  8. catching WebDNA error messages (Lucas Rockwell 2003)
Donovan,Thanks for that tip. Good thing to know about (I've inherited a system and I need to learn more about it...).This won't, however, work in my case. I am trying to use one template file that loads various includes based on a param in he url. The value of the param is actually the name of the include file, like this: about.tpl?page=service (includes service.inc) about.tpl?page=hours (includes hours.inc)Using [FormVariables ] I am able to catch errors like: about.tpl?pa about.tpl? etc.but I can not catch an error like: about.tpl?page=eligibilityxwith the above, I get the Error: template 'eStore/eligibilityx.inc' not foundDoes [Include ] have any feedback that I can check to see if it found the file it was supposed to include?-lucasOn Wednesday, April 9, 2003, at 11:02 AM, Donovan wrote:> You can edit the errormessages.db to do anything you want. (such as > redirect to a better error page) > > Donovan > > > Lucas Rockwell wrote: > >> Hi all, >> >> I would like to be able to catch WebDNA error messages and I have not >> found out how yet. Basically, when WebDNA produces an error, like: >> >> Error: template 'eStore/eligibilityx.inc' not >> found >> >> I want to catch it so it does not appear on the screen. Just turning >> them off is not acceptable (if that is even possible). I want to be >> able to check for an error and produce a message for the user. >> >> Does anyone know how to do this? >> >> Thanks! >> >> -lucas >> >> >> ------------------------------------------------------------- > > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Lucas Rockwell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b13MacPlugIn - [showif][search][/showif] (1997) wierd... [Was] User Authentication (2003) MasterCounter - Does this work?? (1999) Promise of future help (1998) WebCat2b13MacPlugin - nested [xxx] contexts (1997) [WebDNA] UTF-8 encoding issues (2010) Nesting format tags (1997) Looking up two prices in database? (1997) Format date.... (2003) Macauth: Dates and No Scripting... (1997) File Uploads... (1997) Not really WebCat (1997) WebCat2b15MacPlugin - showing [math] (1997) PCS Frames (1997) Emailer (WebCat2) (1997) Sendmail problem (2002) SKU lookup (1997) Nesting Search Within Tag? (1997) [Sum] function? (1997) Summing fields (1997)