Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE]
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 22085
interpreted = N
texte = WebCat 3.03b1 PI, MACI put this code on a template (tests.html) by itself[FORMVARIABLES][ORDERFILE file=/6][/ORDERFILE][/FORMVARIABLES]When I hit the page submitting *no* variables, this appeared in theErrorLog.txt:showpage 192.009.204.068 /tests.htmlThe same thing happened when I used[FORMVARIABLES name=trick&exact=T][ORDERFILE file=/6][/ORDERFILE][/FORMVARIABLES]It does not happen without the [ORDERFILE] context.So, it looks like when WebCat executes a [FORMVARIABLES] loop (that has 0loops) containing an [ORDERFILE], an error appears.This is very similar to the error generated when there is an [ORDERFILE] ina [FOUNDITEMS] with zero items found (which I reported a while back andhasn't yet been fixed).MichaelMichael Winston *By e-mail!: michaelw@dhorse.comSenior Web Developer *By web!: http://www.dhorse.com/Dark Horse Comics, Inc. *By fax!: 503/654/9440
Associated Messages, from the most recent to the oldest:
WebCat 3.03b1 PI, MACI put this code on a template (tests.html) by itself
[formvariables][ORDERFILE file=/6][/ORDERFILE][/FORMVARIABLES]When I hit the page submitting *no* variables, this appeared in theErrorLog.txt:showpage 192.009.204.068 /tests.htmlThe same thing happened when I used[FORMVARIABLES name=trick&exact=T][ORDERFILE file=/6][/ORDERFILE][/FORMVARIABLES]It does not happen without the
[orderfile] context.So, it looks like when WebCat executes a
[formvariables] loop (that has 0loops) containing an
[orderfile], an error appears.This is very similar to the error generated when there is an
[orderfile] ina
[founditems] with zero items found (which I reported a while back andhasn't yet been fixed).MichaelMichael Winston *By e-mail!: michaelw@dhorse.comSenior Web Developer *By web!: http://www.dhorse.com/Dark Horse Comics, Inc. *By fax!: 503/654/9440
Michael Winston
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:
Resetting a Formvariable (2000)
Problem (1997)
Giving out error pages (1997)
Signal Raised Error (Part II) (1997)
[WebDNA] WebDNA 7 running on new 32-bit Debian 6 server (2011)
Two prices in shoppingcart? (1997)
Date or time comparisons have bugs ... (1998)
Rendering out a page (1997)
RE: WebCat: Access denied, but why? - The solution. (1997)
Username for Admin Group (1997)
Server slowing down. (1997)
converted seed value? (1998)
help on HMAC_SHA1 or ROMCARD gateway (2004)
RE: WebCatalog2 for NT Beta Request (1997)
Carts in Admin folder? (1999)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
multi-paragraph fields (1997)
upgrading (1997)
Web Catalog vs. ICAT (1997)
Templates on Unix & CGI on Mac? (1997)