Re: WebCat2b15MacPlugin - showing [math]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10771
interpreted = N
texte = >>It's interesting that no error >>messages were displayed, however. Maybe an error like this kills >>everything that's supposed to be displayed further down the page, >>including error messages? > >The error message gets stuffed into the [math] context, which can't >understand all that human-readable text. Currently the math context >just bails with no output whatsoever if there's an error. I guess this will happen when someone tries to create a sum of all the values in a database field, but one of those values happens to be an alphabetical entry, right? If so, is there any way to simply ignore the non-numeric values instead of just bailing? >I guess it should display something, but I was trying to get sneaky >in those cases where people divide by zero (or something else >equally bad): I thought it would be better to display nothing at >all, so your web pages wouldn't fill up with weird stuff your >visitors don't want to read. I think you're right about not displaying a bunch of junk. As long as we know the default behavior of WebCat2 in this situation, we can actually look for math syntax pronlems as soon as we realize there's no error message but there's an obvious math error.Are there any other situations you can think of where might errors occur but there would be no error messages displayed?Sincerely, Ken Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2b15MacPlugin - showing [math] (Grant Hulbert 1997)
  2. Re: WebCat2b15MacPlugin - showing [math] (Kenneth Grome 1997)
  3. Re: WebCat2b15MacPlugin - showing [math] (Grant Hulbert 1997)
  4. Re: WebCat2b15MacPlugin - showing [math] (Kenneth Grome 1997)
  5. Re: WebCat2b15MacPlugin - showing [math] (Grant Hulbert 1997)
  6. Re: WebCat2b15MacPlugin - showing [math] (Kenneth Grome 1997)
  7. Re: WebCat2b15MacPlugin - showing [math] (Grant Hulbert 1997)
  8. Re: WebCat2b15MacPlugin - showing [math] (Kenneth Grome 1997)
  9. Re: WebCat2b15MacPlugin - showing [math] (Grant Hulbert 1997)
  10. WebCat2b15MacPlugin - showing [math] (Kenneth Grome 1997)
>>It's interesting that no error >>messages were displayed, however. Maybe an error like this kills >>everything that's supposed to be displayed further down the page, >>including error messages? > >The error message gets stuffed into the [math] context, which can't >understand all that human-readable text. Currently the math context >just bails with no output whatsoever if there's an error. I guess this will happen when someone tries to create a sum of all the values in a database field, but one of those values happens to be an alphabetical entry, right? If so, is there any way to simply ignore the non-numeric values instead of just bailing? >I guess it should display something, but I was trying to get sneaky >in those cases where people divide by zero (or something else >equally bad): I thought it would be better to display nothing at >all, so your web pages wouldn't fill up with weird stuff your >visitors don't want to read. I think you're right about not displaying a bunch of junk. As long as we know the default behavior of WebCat2 in this situation, we can actually look for math syntax pronlems as soon as we realize there's no error message but there's an obvious math error.Are there any other situations you can think of where might errors occur but there would be no error messages displayed?Sincerely, Ken Kenneth Grome

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:

Pithy questions on webcommerce & siteedit (1997) problem with dates, NT version (1997) Multiple catalog databases and showcart (1997) Limiting user access to .tmpl files (1997) Problem with broken images (2004) [cart] not being interpreted inside [founditems] (1997) 2.0Beta Command Ref (can't find this instruction) (1997) [WebDNA] Goodbye SM spam (2008) Calculating times in a different zone ... (2003) Root Folder problems cont. (1998) Cookie Problems (2000) ShowNext for method=POST (1997) WebStar Questions ... (2000) Newbie - Search question (1998) WebCat 3.04-3.07 plug-in dying on server.... (2000) Mobile Phone "mailto:" (2008) new cart IDs being assigned somehow (1997) 2.0Beta Command Ref (can't find this instruction) (1997) WebStar 4.2 issues (2000) Sendmail (1999)