Re: [WebDNA] trigger won't follow path? maybe

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102481
interpreted = N
texte = sbraun wrote: > Hi Donovan, > Thanks for writing back. > Yes, the trigger is hitting the page, and the page is running the script > successfully until it hits the [search] command, where it seems to lose > the path to the database. > Even though, when I run the same page manually from a web browser > window, it finds the database right where the path tells it that it is > supposed to be. > I've tested it with a [sendmail] to me, over & over, moving the sendmail > down one line of script at a time. > > Why would a triggered script lose a path to a .db, when a browser > executed script won't lose it? > Thanks for any insight. > sfb Well, I'll take your word for it that the trigger is firing... ;-) Do you have params in the URL when you are hitting that page, where in your trigger they are not? I suppose a way to troubleshoot this would be to comment out the search and write a file temporarily for troubleshooting: [writefile file=debug.txt] *search db=blah&...* *founditems* blah */founditems* */search* [listvariables] [index].) [name]=[value][unurl]%0D%0A[/unurl] [/listvariables] [/writefile] Then wait until the trigger hits the page and look at the file. If you don't get a 'debug.txt' file, the problem is either that the trigger is not hitting the page, or the issue is up higher in the hierarchy and that search context is not being seen. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] trigger won't follow path? maybe (Donovan Brooke 2009)
  2. Re: [WebDNA] trigger won't follow path? maybe (sbraun 2009)
  3. Re: [WebDNA] trigger won't follow path? maybe (Donovan Brooke 2009)
  4. [WebDNA] trigger won't follow path? maybe (sbraun 2009)
sbraun wrote: > Hi Donovan, > Thanks for writing back. > Yes, the trigger is hitting the page, and the page is running the script > successfully until it hits the [search] command, where it seems to lose > the path to the database. > Even though, when I run the same page manually from a web browser > window, it finds the database right where the path tells it that it is > supposed to be. > I've tested it with a [sendmail] to me, over & over, moving the sendmail > down one line of script at a time. > > Why would a triggered script lose a path to a .db, when a browser > executed script won't lose it? > Thanks for any insight. > sfb Well, I'll take your word for it that the trigger is firing... ;-) Do you have params in the URL when you are hitting that page, where in your trigger they are not? I suppose a way to troubleshoot this would be to comment out the search and write a file temporarily for troubleshooting: [writefile file=debug.txt] *search db=blah&...* *founditems* blah */founditems* */search* [listvariables] [index].) [name]=[value][unurl]%0D%0A[/unurl] [/listvariables] [/writefile] Then wait until the trigger hits the page and look at the file. If you don't get a 'debug.txt' file, the problem is either that the trigger is not hitting the page, or the issue is up higher in the hierarchy and that search context is not being seen. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Donovan Brooke

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:

Emailer help....! (1997) [WebDNA] Does anyone host webdna sites? (2016) Sort Order on a page search (1997) gateway application timeouts (1998) AAgghh!! Help, please. SSL strikes again. (1997) Updating Prices in Online Database (1999) Add to Cart & List of Products (1997) [WebDNA] Screen Resolution - detection & redirect (2012) E-mailer error codes (1997) Re1000001: Setting up shop (1997) Merging databases (1997) Summary search -- speed (1997) HomePage Caution (1997) [append] and SSL (1997) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) Pay by Mail (CC, Check, Money Order) (2001) Modifying order output (1997) Reserved words - Enhancement request (2000) forming a SKU (1999) Is this possible, WebCat2.0 and checkboxes (1997)