Re: [WebDNA] why this error when using [shownext] with a [table]?
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102547
interpreted = N
texte = yes, this is:WebDNA - Commerce Edition is running asunix-Linux Intel RedHat Apache Module version 6.0a(sorry I wasn't clear about that)the [table] has been working fine for many days. I only just today added the [shownext] and now getting this odd result.I am wondering if anyone besides me has even tried to use [shownext] with a [table].???Meanwhile I got Gary Krockover's [ShowNext] replacement (see the User Contributed Notes for [shownext]) running fine but I miss the automagically placed shownext links appearing above and below the [founditems] loop.. .And anyway if this is a bug, or a feature, or my lame code.. ? I want to know what.Thanks for your input!-GovindaOn May 11, 2009, at 7:45 PM, Stuart Tremain wrote:> Do you have v5?>> [Table] was released in v5.>>> From the docs :> [table name=products&fields=SKU,NAME,DESC]> 1001 Red Widget A small red widget> 1002 Blue Widget A small blue widget> 1003 Green Widget A small green widget> [/table]>> [search table=products&neSKUdata=[blank]]> Found [numfound] items in the products table.>> [founditems]> [SKU] - [DESC]>> [/founditems]> [/search]>>>>>>>>> Regards>> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>> On 12/05/2009, at 10:35 AM, Govinda wrote:>>> I am using [shownext] in what I believe to be the correct fashion >> (haven't used it for years, but I used it many times totally >> successfully back in WebDNA version 3 days.)>>>> BUT>>>> now I am trying to use it with a [table..] and I am getting this >> error. (NONE of my results page's code is being returned.. just >> this one single line):>>>> "Error: the 'search' command requires that you specify a db">>>> I tried renaming the table's name to something shorter, or with the >> extension ".db", but it makes no difference.>>>> I inspect the URL (by-product of my [shownext method=get] links... >> and see it looks right but is more than 256 chars. Don't know if >> that is the issue. I kinda doubt it. Anyway then I realize I have >> never constructed shownext *forms*. How do I get what used to pass >> automagically in "&[SearchString]" into hidden form inputs? Or do >> I have to just construct each search param from scratch in hidden >> inputs? (I liked the convenience of [SearchString].>>>> Is there some odd reason the [shownext] get method should fail when >> the search and results page are secure (https://...)?>>>> Or does anyone have any other insight why this might be failing?>>>> -Govinda>
Associated Messages, from the most recent to the oldest:
yes, this is:WebDNA - Commerce Edition is running asunix-Linux Intel RedHat Apache Module version 6.0a(sorry I wasn't clear about that)the
[table] has been working fine for many days. I only just today added the
[shownext] and now getting this odd result.I am wondering if anyone besides me has even tried to use
[shownext] with a
[table].???Meanwhile I got Gary Krockover's
[shownext] replacement (see the User Contributed Notes for
[shownext]) running fine but I miss the automagically placed shownext links appearing above and below the
[founditems] loop.. .And anyway if this is a bug, or a feature, or my lame code.. ? I want to know what.Thanks for your input!-GovindaOn May 11, 2009, at 7:45 PM, Stuart Tremain wrote:> Do you have v5?>>
[table] was released in v5.>>> From the docs :> [table name=products&fields=SKU,NAME,DESC]> 1001 Red Widget A small red widget> 1002 Blue Widget A small blue widget> 1003 Green Widget A small green widget> [/table]>> [search table=products&neSKUdata=[blank]]> Found [numfound] items in the products table.>>
[founditems]> [SKU] - [DESC]>> [/founditems]> [/search]>>>>>>>>> Regards>> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>> On 12/05/2009, at 10:35 AM, Govinda wrote:>>> I am using
[shownext] in what I believe to be the correct fashion >> (haven't used it for years, but I used it many times totally >> successfully back in WebDNA version 3 days.)>>>> BUT>>>> now I am trying to use it with a [table..] and I am getting this >> error. (NONE of my results page's code is being returned.. just >> this one single line):>>>> "Error: the 'search' command requires that you specify a db">>>> I tried renaming the table's name to something shorter, or with the >> extension ".db", but it makes no difference.>>>> I inspect the URL (by-product of my [shownext method=get] links... >> and see it looks right but is more than 256 chars. Don't know if >> that is the issue. I kinda doubt it. Anyway then I realize I have >> never constructed shownext *forms*. How do I get what used to pass >> automagically in "&[SearchString]" into hidden form inputs? Or do >> I have to just construct each search param from scratch in hidden >> inputs? (I liked the convenience of [SearchString].>>>> Is there some odd reason the
[shownext] get method should fail when >> the search and results page are secure (https://...)?>>>> Or does anyone have any other insight why this might be failing?>>>> -Govinda>
Govinda
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:
If Empty ? (1997)
Verifying both name and password (was: THANKS) (1997)
Google MAP URLs (2006)
append=T problem (1998)
AutoReload? RequireComment? InterpretAll? (1999)
Show if time tags (1997)
[OT] Democratic Code (2002)
WebCat2b12plugin - [search] is broken ... not! (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Search Command, multiple dbs, etc. --Right! (2000)
database size? (1997)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
database size? (1997)
Two stores, one server (1998)
Help w/Multi User Admins (1997)
Problems with totals (1997)
Quickie question on the email templates (1997)
Hard Questions ? (1997)
+ character mystery (2003)
Nested tags count question (1997)