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:

WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) Limiting user access to .tmpl files (1997) Search in 2 or more catalogs (1997) Redirect (2000) Seeking NT Mail Server Experiences (1998) Bug or syntax error on my part? (1997) Windows 2.1b2 Append Bug? (1997) Replace context problem ... and answers (1997) Pricing (1998) feature request-- [epoch] (2004) Maybe Off Topic -- OS X/UNIX Shell Scripts? (2003) Error 551 (2000) Sku numbers (1997) RAM variables (1997) wierd [cart] action! (1997) [WebDNA] [OT] hello (2012) [movefile] (1999) Webstar 1.3.1 PPC (1997) [ot] Online Sales Tax (2005) Cart/Cookie question (2005)