Re: WebCat2: Found Items syntax, etc.

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10298
interpreted = N
texte = >It works great for all the pages but the very first one returned, which >just says items [startAt] to shown: Is there no value for [startAt] on >the first search? And is that why it's not working? Once I clikc one of >the Show Items xx to xx links, it works fine (Items 26 to 50 shown...)Try putting startat=1 into the search form itself, so that [startat] actually has a value the first time thru.>2) Occasionally, the searches are returning an error like the following >(this is from the ErrorLog.db): > >03/21/97 23:47:12 search 198.069.210.022 Error: Error: expected >[/CONTEXT], but found [/FoundItems] [ShowNext]HREF=scholars.acgi$search?[SearchString]>Show Items [start] - >[end]

[/ShowNext]


HREF=scholars.acgi$showpage?template=gm.html Is it possible there are 0 items found at those times? Are you using b10? I've fixed a few bugs related to 0 found items (either in lineitems or founditems, or any other looping context), but there may be more.Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2: Found Items syntax, etc. (Grant Hulbert 1997)
>It works great for all the pages but the very first one returned, which >just says items [startAt] to shown: Is there no value for [startAt] on >the first search? And is that why it's not working? Once I clikc one of >the Show Items xx to xx links, it works fine (Items 26 to 50 shown...)Try putting startat=1 into the search form itself, so that [startat] actually has a value the first time thru.>2) Occasionally, the searches are returning an error like the following >(this is from the ErrorLog.db): > >03/21/97 23:47:12 search 198.069.210.022 Error: Error: expected >[/CONTEXT], but found [/FoundItems] [shownext]HREF=scholars.acgi$search?[SearchString]>Show Items [start] - >[end]

[/ShowNext]


HREF=scholars.acgi$showpage?template=gm.html Is it possible there are 0 items found at those times? Are you using b10? I've fixed a few bugs related to 0 found items (either in lineitems or founditems, or any other looping context), but there may be more.Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Follow-Up to: Removing [showif] makes a big difference in speed (1997) Orderfile context problem (1998) Navigator Parsing (1997) Perl programmer needed (2002) How true is this? (1999) [OT] (waaaay OT) further off topic than before (2004) Occasional crashes with $remove (1997) Setting up shop (1997) Sort Issue? (2000) Extended [ConvertChars] (1997) Document Contains No Data! (1997) [WebDNA] sort parameters in search (2015) Re:Transfer of data from Invoice to thank you templates (1998) Problems getting parameters passed into email. (1997) WebCat & WebTen (1997) UPS Shipping Formula in WebCat (ot) (1999) Version f1 status (1997) [WebDNA] switch / case value=% BUG? (2020) new cart IDs being assigned somehow (1997) Emailer help needed (1998)