Re: comparison looking for unitialized var shows webcat bug?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35034
interpreted = N
texte = I found this is what caused other mysterious inconsistent problems that I saw sometimes. Sometimes other page(s) would not hang as I descibed in the first post in this thread, so I would not be alerted that anything was funny, but webcat would behave in bizarre ways when interpreting those pages.I would recommend to anyone who has page(s) that act strange sometime(s) to see if you are using an include with the raw=F param on that page and if there is some use of the [raw] context in that include. It maybe the cause of all kinds of wacky things.No more posts on this from me...John Butler wrote:> bingo > > the comparison is in an include which uses the raw param... > > [include file=test.inc&raw=F] > > webcat is probably sticking F in place of the opening raw context and so it doesn't > know what to do with the closing [/raw]. No error or anything is ever generated... just > a mysterious hang. > > Might want to mention this in the docs. I mean what a waste of time pulling hair and then > finally figuring this out... > > -John > > John Butler wrote: > > > Linux 3.08 > > > > The couple of seperate occasions I have seen this problem, I thought it was just me > > being too tired, so I coded around it and went on. > > > > But now I think webcat is having the problem and not me. > > > > [showif [URL][RequestID][/URL]=[URL][raw][RequestID][/raw][/URL]][text > > show=F]HideEditorActs=yes[/text][/showif] > > > > sometimes hangs. By sometimes I mean the above line of code on one page will cause > > that page to *never* load. But on another test page it causes no problem and the > > page loads as expected. I know you think there must be an error in that previous page, > > but I have been over it thoroughly and anyway I can simply comment out the above line > > of code and the page loads fine - *every time*!! But the moment I remove the comments > > it goes back to never loading. I have seen this behaviour before but I cannot > > reproduce it on purpose so I can't say why it only happens sometimes. It doesn't > > matter whether 'requestID' is initialized or not. Anyone have any ideas to help pin it > > down? (Short of posting my whole code... The code for the page it is now happening on > > is Loooong and hairy.) > > > > The workaround is this- > > > > [showif [URL][RequestID][/URL]=%5BRequestID%5D][text > > show=F]HideEditorActs=yes[/text][/showif] > > > > but I think this is a bug that lurks hidden most of the time and people will ultimately > > need to know about it. > > > > I would be glad to assist in any tests that could bring this to light. > > > > -John ------------------------------------------------------------- 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. Re: comparison looking for unitialized var shows webcat bug? (John Butler 2000)
  2. Re: comparison looking for unitialized var shows webcat bug? (John Butler 2000)
  3. comparison looking for unitialized var shows webcat bug? (John Butler 2000)
I found this is what caused other mysterious inconsistent problems that I saw sometimes. Sometimes other page(s) would not hang as I descibed in the first post in this thread, so I would not be alerted that anything was funny, but webcat would behave in bizarre ways when interpreting those pages.I would recommend to anyone who has page(s) that act strange sometime(s) to see if you are using an include with the raw=F param on that page and if there is some use of the [raw] context in that include. It maybe the cause of all kinds of wacky things.No more posts on this from me...John Butler wrote:> bingo > > the comparison is in an include which uses the raw param... > > [include file=test.inc&raw=F] > > webcat is probably sticking F in place of the opening raw context and so it doesn't > know what to do with the closing [/raw]. No error or anything is ever generated... just > a mysterious hang. > > Might want to mention this in the docs. I mean what a waste of time pulling hair and then > finally figuring this out... > > -John > > John Butler wrote: > > > Linux 3.08 > > > > The couple of seperate occasions I have seen this problem, I thought it was just me > > being too tired, so I coded around it and went on. > > > > But now I think webcat is having the problem and not me. > > > > [showif [url][RequestID][/URL]=[url][raw][RequestID][/raw][/URL]][text > > show=F]HideEditorActs=yes[/text][/showif] > > > > sometimes hangs. By sometimes I mean the above line of code on one page will cause > > that page to *never* load. But on another test page it causes no problem and the > > page loads as expected. I know you think there must be an error in that previous page, > > but I have been over it thoroughly and anyway I can simply comment out the above line > > of code and the page loads fine - *every time*!! But the moment I remove the comments > > it goes back to never loading. I have seen this behaviour before but I cannot > > reproduce it on purpose so I can't say why it only happens sometimes. It doesn't > > matter whether 'requestID' is initialized or not. Anyone have any ideas to help pin it > > down? (Short of posting my whole code... The code for the page it is now happening on > > is Loooong and hairy.) > > > > The workaround is this- > > > > [showif [url][RequestID][/URL]=%5BRequestID%5D][text > > show=F]HideEditorActs=yes[/text][/showif] > > > > but I think this is a bug that lurks hidden most of the time and people will ultimately > > need to know about it. > > > > I would be glad to assist in any tests that could bring this to light. > > > > -John ------------------------------------------------------------- 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/ John Butler

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] Conditional search (2009) sorting and grouping (1998) Weird Problem (1997) Caching [include] files ... (1997) WebCatb15 Mac CGI -- [purchase] (1997) File Upload (1997) [OT] Test (2003) New public beta available (1997) Auto-email upon restart? (2001) PCS Frames (1997) Re:2nd WebCatalog2 Feature Request (1996) WebCatalog [FoundItems] Problem - LONG - (1997) OFF-TOPIC: Check www.godaddy.com for me ... (2003) GuestBook example (1997) accountnum using [listwords] (2001) AOL and referrers on target=_blank (2000) WebCat2b15MacPlugin - showing [math] (1997) PIXO (1997) & Aftermath (1999) Re[2]: Next X hits (1996)