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'mguessing 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 ittries to run it? I check all the variables to the form variables and theyall match up fine. Ifeel that the problem lies within the Zipcode and Areacode checking becausethe script ranfine 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)|([thecharacter]=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 Icutthat out to save space. All it does it does is print out the results. Anyidea what iswrong? 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:
I have been pulling my hair at the script today not seeing what's wrong! I'mguessing 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 ittries to run it? I check all the variables to the form variables and theyall match up fine. Ifeel that the problem lies within the Zipcode and Areacode checking becausethe script ranfine 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)|([thecharacter]=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 Icutthat out to save space. All it does it does is print out the results. Anyidea what iswrong? 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:
WebCat2_Mac RETURNs in .db (1997)
setting the price of goods after its added to the cart (2000)
[WebDNA] possible bug? (db field named [width]) (2012)
Hiding a subsection of text (2002)
Getting Emailer to send mail (1997)
Summarising on two fields (1998)
Fwd: Re(2): Password and Allow commands (1998)
[OT] Double chars in form (ie 5.2 mac OSX) (2004)
WebCat2 several catalogs? (1997)
Subtotal Not Calculated on Invoice.html (1998)
Shopping Headers (2005)
WebCat2b12 CGI Mac - [shownext] problem (1997)
(1997)
Protect vs Authenicate (1997)
email [title] (1997)
[WebDNA] macOS 10.13.3 and WebDNA Mac Server 8.5.1 - hick-up (2019)
WebCat2 beta 11 - new prefs ... (1997)
Mail going nowhere (2003)
[OT] Passing a WebDNA variable through flash (2004)
HEADER AND FOOTER (1997)