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:

Pull Down Search (2000) [ShowNext] (1997) Close-to Comparison Code (1998) [SHOWIF]s and empty arguments (1997) [WebDNA] Copyfolder - preserve file dates (2014) Porting to NT (2001) 2.0 Info (1997) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) Problem with updating to 2.1.1 (1998) Cool new site (1996) Ok here is a question? (1997) Oh yes, it's Encrypt and Decrypt again (2005) Trigger Bug? (2000) Location of Browser Info.txt file (1997) WebCatalog host... (2000) [ConvertChars] problem (1997) Running 2 two WebCatalog.acgi's (1996) WebCat2b12plugin - [search] is broken ... not! (1997) Searching multiple Databases (1997) Separate SSL Server (1997)