Server Timeout

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38155
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 theWebCatalog 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 theWebCatalog 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:

[FoundItems] solved - thanks (1997) using showpage and showcart commands (1996) How does the Globals folder work? (2000) Flash Stores (2003) WebCatalog Mac 2.1b3 (1997) WebCat2 beta 11 - new prefs ... (1997) Hello??? (1997) One per customer (2000) Help getting [shownext] to increment (2003) Getting Crazy (1998) Been meaning to ask... (1997) Frames and WebCat (1997) Download URL & access on the fly ? (1997) [WebDNA] Authentication with UTF-8 (2010) Hiding HTML and page breaks (1997) [WebDNA] Install/config issue: WebDNA-MacTel-6.2>OS X Server v10.6.1 (2009) Redirect (2003) Disappearing Databases (2000) Sorting problem (2002) Force a search at the default.tmpl page? (1997)