Server Timeout

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38116
interpreted = N
texte = I have been pulling my hair at the script today not seeing what's wrong! I'm guessing it's something little I don't see. Will you please send this on the WebCatalog talk with the subject Server Timeout? Thanks!I just finished revising my WebDNA script and the server times out when it tries to run it? I check all the variables to the form variables and they all match up fine. I feel that the problem lies within the Zipcode and Areacode checking because the script ran fine when the variable for it in the form did not match the script variable. (in this one, they do match.)Any idea what's wrong? Here is the code: ------------------------ [if [action]=search] [then] [text]thecharacter=[GetChars start=1&end=1][dacode][/Getchars][/text] [if ([thecharacter]=1)|([thecharacter]=2)|([thecharacter]=3)|([thec haracter]=4)|([thecharacter]=5)|([thecharacter]=6)|([thecharacter] =7)|([thecharacter]=8)|([thecharacter]=9)|([thecharacter]=0)] [then] [text]number=[countchars][dacode][/countchars][/text] [if [number]=5] [then] [text]searchcode=Zipcode[/text] [/then] [else] [text]searchcode=Telenum[/text] [/else] [/if] [/then] [else] [text]searchcode=City[/text] [/else] [/if] [if [typeof]=name] [then] [text]firstsearch=eqCompanydata[/text] [text]secondsearch=[searchfor][/text] [text]thirdsearch=bw[searchcode]data[/text] [text]fourthsearch=[dacode][/text] [firstsearch][secondsearch][thirdsearch][fourthsearch] [/then] [else] [text]firstsearch=woSection_headdata[/text] [text]secondsearch=[searchfor][/text] [text]thirdsearch=bw[searchcode]data[/text] [text]fourthsearch=[dacode][/text] [firstsearch][secondsearch][thirdsearch][fourthsearch] [/else] [/if] [search db=ohiostate.db&[firstsearch]=[secondsearch]& [thirdsearch]=[fourthsearch]]---------------------------------------------------------------------------- -----------It does go on with the [founditem] tags and closes the [search] tag but I cut that out to save space. All it does it does is print out the results. Any idea what is wrong? Thanks for your time! ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Server Timeout (Ron Parker 2001)
  2. Server Timeout (Ron Parker 2001)
I have been pulling my hair at the script today not seeing what's wrong! I'm guessing it's something little I don't see. Will you please send this on the WebCatalog talk with the subject Server Timeout? Thanks!I just finished revising my WebDNA script and the server times out when it tries to run it? I check all the variables to the form variables and they all match up fine. I feel that the problem lies within the Zipcode and Areacode checking because the script ran fine when the variable for it in the form did not match the script variable. (in this one, they do match.)Any idea what's wrong? Here is the code: ------------------------ [if [action]=search] [then] [text]thecharacter=[GetChars start=1&end=1][dacode][/Getchars][/text] [if ([thecharacter]=1)|([thecharacter]=2)|([thecharacter]=3)|([thec haracter]=4)|([thecharacter]=5)|([thecharacter]=6)|([thecharacter] =7)|([thecharacter]=8)|([thecharacter]=9)|([thecharacter]=0)] [then] [text]number=[countchars][dacode][/countchars][/text] [if [number]=5] [then] [text]searchcode=Zipcode[/text] [/then] [else] [text]searchcode=Telenum[/text] [/else] [/if] [/then] [else] [text]searchcode=City[/text] [/else] [/if] [if [typeof]=name] [then] [text]firstsearch=eqCompanydata[/text] [text]secondsearch=[searchfor][/text] [text]thirdsearch=bw[searchcode]data[/text] [text]fourthsearch=[dacode][/text] [firstsearch][secondsearch][thirdsearch][fourthsearch] [/then] [else] [text]firstsearch=woSection_headdata[/text] [text]secondsearch=[searchfor][/text] [text]thirdsearch=bw[searchcode]data[/text] [text]fourthsearch=[dacode][/text] [firstsearch][secondsearch][thirdsearch][fourthsearch] [/else] [/if] [search db=ohiostate.db&[firstsearch]=[secondsearch]& [thirdsearch]=[fourthsearch]]---------------------------------------------------------------------------- -----------It does go on with the [founditem] tags and closes the [search] tag but I cut that out to save space. All it does it does is print out the results. Any idea what is wrong? Thanks for your time! ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Ron Parker

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:

[WebDNA] [lookup] fails when using [url] to wrap a value for potential "&" char? (2009) my price won't move (1997) Postdata expired from cache (2004) What am I missing (1997) Wrapping text (1998) Navigator 4.01 (1997) New install permissions (2003) carriage returns in data (1997) [CART] (1997) randomness (1997) [addlineitems] (1997) Db crash in win98 (2000) Any problem putting ALL dbs in Globals folder? (2000) quit command on NT (1997) Multiple catalog databases and showcart (1997) Re1000001: Setting up shop (1997) Plugin or CGI or both (1997) HELP..Changing Price after adding to cart. (1999) Searching (second post) (1999) Anomaly ? causes NT application event log to overflow (1997)