Re: [WebDNA] Variable mystery

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102641
interpreted = N
texte = How about another possibility. Maybe there's a typo, such as in your fieldname. Is it really anKW, and not something like adKW or nKW or simply KW? Terry >Donovan Brooke wrote: > >> what is the value of [PAGEKW] that breaks? > >What I was testing was just a single word: flute > >Govinda wrote: >> makes no sense as it is seems from what you describe. > >That's what I thought too but it's exactly what happened: the >variable [PAGEKW] worked on it's own but not inside another WebDNA >tag or context on the same page. > >I tried placing the tag directly before *and* after the search command: > [PAGEKW] > [SEARCH db=ads.db&woanKWdatarq=[PAGEKW]] > [PAGEKW] >What I got was: > flute flute >and no search results > >Then I tried to remove the [ and ] from the search command: > SEARCH db=ads.db&woanKWdatarq=[PAGEKW] >Iit showed up on the page as: > SEARCH db=ads.db&woanKWdatarq=flute > >I tried to replace the tag inside the search command with the value >it was supposed to have: > [SEARCH db=ads.db&woanKWdatarq=flute] >and the search command came up with the results it was supposed to. > >--- > >As I said, the [PAGEKW] variable *was* improperly set and once I >located and fixed the basic error, everything worked fine. So the >strange phenomena does not affect the regular site activity in any >way. It did however make debugging much harder. > > >Frank Nordberg >http://www.musicaviva.com > >--------------------------------------------------------- >This message is sent to you because you are subscribed to >the mailing list . >To unsubscribe, E-mail to: >archives: http://mail.webdna.us/list/talk@webdna.us >old archives: http://dev.webdna.us/TalkListArchive/ -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://TightJacket.com -- stylish protection for your laptop -------------------------------------------------------------------------- Attitude is the only difference between ordeal and adventure. Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Variable mystery (Marc Thompson 2009)
  2. Re: [WebDNA] Variable mystery (Brian Fries 2009)
  3. Re: [WebDNA] Variable mystery (Kenneth Grome 2009)
  4. Re: [WebDNA] Variable mystery (Govinda 2009)
  5. Re: [WebDNA] Variable mystery (Brian Fries 2009)
  6. Re: [WebDNA] Variable mystery (Kenneth Grome 2009)
  7. Re: [WebDNA] Variable mystery (Frank Nordberg 2009)
  8. Re: [WebDNA] Variable mystery (Kenneth Grome 2009)
  9. Re: [WebDNA] Variable mystery (Frank Nordberg 2009)
  10. Re: [WebDNA] Variable mystery (Donovan Brooke 2009)
  11. Re: [WebDNA] Variable mystery (Govinda 2009)
  12. Re: [WebDNA] Variable mystery (Terry Wilson 2009)
  13. Re: [WebDNA] Variable mystery (Frank Nordberg 2009)
  14. Re: [WebDNA] Variable mystery (Donovan Brooke 2009)
  15. Re: [WebDNA] Variable mystery (Govinda 2009)
  16. [WebDNA] Variable mystery (Frank Nordberg 2009)
How about another possibility. Maybe there's a typo, such as in your fieldname. Is it really anKW, and not something like adKW or nKW or simply KW? Terry >Donovan Brooke wrote: > >> what is the value of [PAGEKW] that breaks? > >What I was testing was just a single word: flute > >Govinda wrote: >> makes no sense as it is seems from what you describe. > >That's what I thought too but it's exactly what happened: the >variable [PAGEKW] worked on it's own but not inside another WebDNA >tag or context on the same page. > >I tried placing the tag directly before *and* after the search command: > [PAGEKW] > [SEARCH db=ads.db&woanKWdatarq=[PAGEKW]] > [PAGEKW] >What I got was: > flute flute >and no search results > >Then I tried to remove the [ and ] from the search command: > SEARCH db=ads.db&woanKWdatarq=[PAGEKW] >Iit showed up on the page as: > SEARCH db=ads.db&woanKWdatarq=flute > >I tried to replace the tag inside the search command with the value >it was supposed to have: > [SEARCH db=ads.db&woanKWdatarq=flute] >and the search command came up with the results it was supposed to. > >--- > >As I said, the [PAGEKW] variable *was* improperly set and once I >located and fixed the basic error, everything worked fine. So the >strange phenomena does not affect the regular site activity in any >way. It did however make debugging much harder. > > >Frank Nordberg >http://www.musicaviva.com > >--------------------------------------------------------- >This message is sent to you because you are subscribed to >the mailing list . >To unsubscribe, E-mail to: >archives: http://mail.webdna.us/list/talk@webdna.us >old archives: http://dev.webdna.us/TalkListArchive/ -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://TightJacket.com -- stylish protection for your laptop -------------------------------------------------------------------------- Attitude is the only difference between ordeal and adventure. Terry Wilson

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:

ReturnRaw, download link for mov (2007) PROBLEM (1997) b12 cannot limit records returned and more. (1997) Webten + Webcat running smooth (1998) OT: Need (a tiny bit) of help setting up MySQL (2000) send mail problem? (1997) Bug Report, maybe (1997) converting characters in form (1997) OT: ZIP & SIT files on OSX (2002) More on the email templates (1997) # fields limited? (1997) [WebDNA] if - combining OR and AND (2008) Using Grep to Format Text (2001) The future of WebCatalog is coming with 4.0... (2000) WebDNA integrated with Active Directory? (2004) WCS Newbie question (1997) Search in 2 or more catalogs (1997) WebDNA tags in WebMerchant email templates ... (1997) Multiple Ad databases? (1997) Authenticate Questions (2003)