Re: Date search bug
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17657
interpreted = N
texte = This is what creates the popup menu (and crashes WebSTAR):
I removed the &accdatetype=date and it works fine. The weird thing is, on thenext page I have:[search db=offshorelog.db&eqaccdatedata=[popup]&accdatetype=date&deaccdatesort=1&deacctimesort=2&max=500]and that works fine. That's why I'm thinking that the bug is in the creationof a popup menu on the fly from a search involving dates.In any case, your suggestion is a good one, as usual, and I think I've alreadyfigured out a way to do that.Kenneth Grome wrote:> > >> [accdate] should not interfere with [date] as far as the search routines are concerned. This problem was fixed in 2.0 quite a while ago. How big is your database? Try taking out the summ=T - depending on the size of the database, this could require additional RAM.> > >I discovered that the same syntax works fine when not enclosed in the
> >tag, because that syntax appears on the very next page. Is it possible that> >something strange is happening when WebCat tries to build a form popup from a> >summarized series of dates?> > What does your code look like that creates the popup menu?> > If you have to, write some special code that creates an include file -- once a day -- with that popup code in it, thenuse [include] to put that code into your search page. I do this on my sites whenever I can, it saves a lot of unnecessary searching because the popup is not dynamically created every time, it's only recreated once a day.> > Sincerely,> Ken Grome> 808-737-6499> WebDNA Solutions> mailto:ken@webdna.net> http://www.webdna.net-- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (732) 469-2567 ** 429 St. Giles Court * FAX: (732) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873 * WWW: http://www.altimac.com ***************************************************************
Associated Messages, from the most recent to the oldest:
This is what creates the popup menu (and crashes WebSTAR):I removed the &accdatetype=date and it works fine. The weird thing is, on thenext page I have:[search db=offshorelog.db&eqaccdatedata=[popup]&accdatetype=date&deaccdatesort=1&deacctimesort=2&max=500]and that works fine. That's why I'm thinking that the bug is in the creationof a popup menu on the fly from a search involving dates.In any case, your suggestion is a good one, as usual, and I think I've alreadyfigured out a way to do that.Kenneth Grome wrote:> > >> [accdate] should not interfere with [date] as far as the search routines are concerned. This problem was fixed in 2.0 quite a while ago. How big is your database? Try taking out the summ=T - depending on the size of the database, this could require additional RAM.> > >I discovered that the same syntax works fine when not enclosed in the > >tag, because that syntax appears on the very next page. Is it possible that> >something strange is happening when WebCat tries to build a form popup from a> >summarized series of dates?> > What does your code look like that creates the popup menu?> > If you have to, write some special code that creates an include file -- once a day -- with that popup code in it, thenuse [include] to put that code into your search page. I do this on my sites whenever I can, it saves a lot of unnecessary searching because the popup is not dynamically created every time, it's only recreated once a day.> > Sincerely,> Ken Grome> 808-737-6499> WebDNA Solutions> mailto:ken@webdna.net> http://www.webdna.net-- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (732) 469-2567 ** 429 St. Giles Court * FAX: (732) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873 * WWW: http://www.altimac.com ***************************************************************
Gil Poulsen
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:
webcat NT (1998)
WebCat2: Items xx to xx shown, etc. (1997)
Help name our technology! I found it (1997)
PROBLEM (1997)
Tcp connect (2002)
File not found error message (1998)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
Shopping Cart Page (1997)
Location of Browser Info.txt file (1997)
[HIDEIF] inside [FOUNDITEM] (1997)
Math (1997)
Page Breaks (1999)
Extended [ConvertChars] (1997)
mass mailing (1998)
Secure Sever and showcart errors (1997)
using showpage and showcart commands (1996)
New Mac Emailer... (1997)
WebCatalog can't find database (1997)
WebCat2: Master Counter snippet (1997)
Getting Crazy (1998)