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:

price carry over (1997) Local redirects ... (2005) Thanks Grant (1997) Nesting format tags (1997) Lookup Notfound (1998) name-value pairs (2006) Stop the madness. (1997) Summing fields (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Displaying photo attached to first record (1997) Quick Question About Sorting (1997) Problems with [Applescript] (1997) Problem displaying search result (1997) Error 551 (2000) shipCost (1998) Table code broken? (2004) [OT] Local San Diego SIGs (2003) FoundItems Question (1998) More Applescript (1997) OT: 128 bit Encryption (2003)