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:
Hello??? (1997)
Looking for host (1999)
& Aftermath (1999)
TemplateCacheSize preference (1998)
customizing the color of user's pages (1997)
Was code to phantom spacing -- now BBEdit [!][/!] (2001)
php vs WebCatalog (2000)
WebCatalog on Solaris, installation problems (2000)
POST (1997)
[SHOWIF AND/OR] (1997)
Associative lookup style? (1997)
Mac GUI editors (1997)
test (2000)
[random] only for 1-100??? (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Protecting a folder (2000)
multi-paragraph fields (1997)
WebCat for mass emailings (1997)
[shownext] and descending order (1997)
os 8.5 (1999)