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:

[WebDNA] Screen Resolution - detection & redirect (2012) Problem (1997) EIMS Problems (1997) Extended [ConvertChars] (1997) request for string functions (1998) WebCat2 - [format thousands] (1997) How Many SKU's is enough? (1997) WebDNA-Talk Digest mode broken (1997) WebCat2_Mac RETURNs in .db (1997) select multiple 2 more cents (1997) Seeking NT Mail Server Experiences (1998) Search in 2 or more catalogs (1997) Calculating multiple shipping... (1997) Field lenght (1998) [OT] Dedicated Image Uploader/Server [/OT] (2003) Re:Item options w/ price adjustment (1997) Programmer Needed (1998) [WriteFile] problems (1997) How can I record purchases to a database? (1998) [TaxableTotal] - not working with AOL and IE (1997)