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 = 102553
interpreted = N
texte = --Apple-Mail-7--288004905 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Donovan, thanks for responding :-) Yes my shownext links use command=search, [SearchString], AND (before commenting out since it was redundant) I even tried passing the name/ value pairs manually, even in the link. Both the links and the forms I attempted both give the same error as per my orig. post. > "Error: the 'search' command requires that you specify a db" Here's a sample [shownext]. These are inside a search context on a [table] which otherwise works perfectly. [ShowNext position=begin] Show items [start]-[end]
[/ShowNext] The error seems odd to me. Like something is funny besides my code. I hope I am wrong so I can fix it quick and easy ;-) Any more ideas what I might try to shed more light? PS, Gary K., et al, if you're there, in a minute I think I'll paste an addition into your User Contributed Notes for [shownext] (http://docs.webdna.us/ ). (So your links show the range of indices in the next "chunk" like shownext does.) -Govinda On May 12, 2009, at 7:59 AM, Donovan Brooke wrote: > 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" > > > Are you constructing a search via command? > > > >> 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]. > > > Yes, SearchString was more for the command-based searching. I always > construct the name/values manually using shownext. > > >> 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 > > > Donovan --Apple-Mail-7--288004905 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
Donovan, thanks for = responding  :-)

Yes my shownext links use = command=3Dsearch, [SearchString], AND  (before commenting out = since it was redundant) I even tried passing the name/value pairs = manually, even in the link.  Both the links and the forms I = attempted both give the same error as per my orig. = post.

"Error: the = 'search' command requires that you specify a = db"


Here's a sample = [shownext].  These are inside a search context on a [table] which = otherwise works perfectly.

[ShowNext = position=3Dbegin]
<a = href=3D"[thisurl]?command=3Dsearch&[SearchString]&no_cache=3D[rand= om][random][random][!]---&max=3D[max2find]&startat=3D[start]&[= unurl][tableSort][/unurl]---[/!]">Show items [start]-[end]</a><br = />
[/ShowNext]

The error seems odd to = me.  Like something is funny besides my code.  I hope I am = wrong so I can fix it quick and easy ;-)
Any more ideas what I = might try to shed more light?

PS, Gary K., et = al,  if you're there, in a minute I think I'll paste an addition = into your User Contributed Notes for [shownext] (http://docs.webdna.us/).  (So = your links show the range of indices in the next "chunk" like shownext = does.)

-Govinda

On = May 12, 2009, at 7:59 AM, Donovan Brooke wrote:

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"


Are you constructing a search via = command?



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=3Dget]  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].


Yes, SearchString was more for = the command-based searching. I always construct the name/values manually = using shownext.


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


Donovan

= --Apple-Mail-7--288004905-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  2. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  3. Re: [WebDNA] why this error when using [shownext] with a [table]? (Donovan Brooke 2009)
  4. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  5. Re: [WebDNA] why this error when using [shownext] with a [table]? (Donovan Brooke 2009)
  6. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  7. Re: [WebDNA] why this error when using [shownext] with a [table]? (Stuart Tremain 2009)
  8. [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
--Apple-Mail-7--288004905 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Donovan, thanks for responding :-) Yes my shownext links use command=search, [SearchString], AND (before commenting out since it was redundant) I even tried passing the name/ value pairs manually, even in the link. Both the links and the forms I attempted both give the same error as per my orig. post. > "Error: the 'search' command requires that you specify a db" Here's a sample [shownext]. These are inside a search context on a [table] which otherwise works perfectly. [ShowNext position=begin] [thisurl]?command=search&[SearchString]&no_cache=[random] [random][random][!]---&max=[max2find]&startat=[start]&[unurl] [tableSort][/unurl]---[/!]">Show items [start]-[end]
[/ShowNext] The error seems odd to me. Like something is funny besides my code. I hope I am wrong so I can fix it quick and easy ;-) Any more ideas what I might try to shed more light? PS, Gary K., et al, if you're there, in a minute I think I'll paste an addition into your User Contributed Notes for [shownext] (http://docs.webdna.us/ ). (So your links show the range of indices in the next "chunk" like shownext does.) -Govinda On May 12, 2009, at 7:59 AM, Donovan Brooke wrote: > 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" > > > Are you constructing a search via command? > > > >> 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]. > > > Yes, SearchString was more for the command-based searching. I always > construct the name/values manually using shownext. > > >> 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 > > > Donovan --Apple-Mail-7--288004905 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
Donovan, thanks for = responding  :-)

Yes my shownext links use = command=3Dsearch, [SearchString], AND  (before commenting out = since it was redundant) I even tried passing the name/value pairs = manually, even in the link.  Both the links and the forms I = attempted both give the same error as per my orig. = post.

"Error: the = 'search' command requires that you specify a = db"


Here's a sample = [shownext].  These are inside a search context on a [table] which = otherwise works perfectly.

[ShowNext = position=3Dbegin]
<a = href=3D"[thisurl]?command=3Dsearch&[SearchString]&no_cache=3D[rand= om][random][random][!]---&max=3D[max2find]&startat=3D[start]&[= unurl][tableSort][/unurl]---[/!]">Show items [start]-[end]</a><br = />
[/ShowNext]

The error seems odd to = me.  Like something is funny besides my code.  I hope I am = wrong so I can fix it quick and easy ;-)
Any more ideas what I = might try to shed more light?

PS, Gary K., et = al,  if you're there, in a minute I think I'll paste an addition = into your User Contributed Notes for [shownext] (http://docs.webdna.us/).  (So = your links show the range of indices in the next "chunk" like shownext = does.)

-Govinda

On = May 12, 2009, at 7:59 AM, Donovan Brooke wrote:

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"


Are you constructing a search via = command?



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=3Dget]  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].


Yes, SearchString was more for = the command-based searching. I always construct the name/values manually = using shownext.


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


Donovan

= --Apple-Mail-7--288004905-- 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:

send mail problem? (1997) Multiple security dbs (1997) Order not created error (never mind) (1997) Chatroom (2000) Permission Deny (2003) Protect (1997) Version issue? (2004) [WebDNA] Re-sending email (2018) RE: [WebDNA] Sending 100 mails an hour then pausing (2010) Order not created error (1997) shipcost (1997) DB Emergency (2002) RE: Switching To NT (1999) shownext not showing next...still r2 (1997) Taget _top (2000) form data submission gets truncated (1997) Review comparison by PC Magazine: Open for On-line Business (1997) [WebDNA] [OT] Spam reduction? (2009) Shipping charges (1998) Fun with dates (1997)