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:

WebCat2 - Getting to the browser's username/password data (1997) Crazy dates (was: sorting dates) (1999) Part Html part WebDNA (1997) 2.0 Info (1997) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) Running _every_ page through WebCat ? (1997) Browser Caching (2003) Thanks ! (1997) RE: Formulas.db + Users.db (1997) Weird bug, or is there something amiss? (1997) [convertchars] on potential malicious input even in a link? (2000) b12 cannot limit records returned and more. (1997) Can't load tmpl files (1997) Include (1998) Document Contains No Data! (1997) ShowNext Command (1997) Checking two required fields (1998) Problems with [Applescript] (1997) Less than or equal to........ (1997) Mac Scheduling (1998)