Re: [BULK] Re: [WebDNA] abstraction code can be tricky...
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108363
interpreted = N
texte = I always have template cache turned on at 2 seconds yet this problem hit me twice during the past few days and both times required a reboot so apparently it's going to happen regardless of what the template cache setting is.Sincerely,Kenneth Grome> I wasn't paying attention to this thread before by> Govinda privately brought it to my attention.> > Over the years I've had this template caching problem as> well. It always happens to me when I accidentally write> a bad block of code, like recursive loops, or when I'm> trying to call too many include files from within a> file.> > I believe I've had the same experience since version> 4.5.1. I always have Template Cashing turned off. When> I get into rapid development sometimes my templates> don't refresh fast enough even though my server is set> to check for modifications every 2 seconds.> > Here's how I see this situation occurring for me:> > I accidentally create a recursive loop in a block of code> that is never able to complete. Somehow that infinite> processing loop keeps going inside the server's cache. > I've uploaded new versions of the .tpl file, and even> deleted and reuploaded a new .tpl, but because the> recursive version is still running (so I assume) WebDNA> never has a chance to run the new version.> > The only solution I know is to reboot the hardware. If> I'm unable to reboot at that time I simply rename the> file to template2.tpl and keep working.> > On the other hand, I've accidentally written recursive> loops that have brought the hardware to a grinding hault> too.> > --Matt> > On 1/27/2012 5:23 PM, Kenneth Grome wrote:> > And it is entirely possible that having template cache> > turned on in admin might completely eliminate this> > problem.> > > > Sincerely,> > Kenneth Grome> > > >> Right, I set up a very basic example using your> >> structure and had no problem call thing the> >> functions (OS X/WebDNA 6x).. but like you say, I> >> don't have your permission settings, WebDNA settings,> >> the exact code, etc.. too many variables to test for.> > > > -------------------------------------------------------> > -- This message is sent to you because you are> > subscribed to the mailing list
.> > To unsubscribe, E-mail to:> > archives: http://mail.webdna.us/list/talk@webdna.us> > Bug Reporting: support@webdna.us> > > > > > > > > > Psi Prime, Inc.> > 323 Union Blvd.> > Totowa, NJ 07512> > > > Service: 973.413.8211> > Training: 973.413.8214> > Fax: 973.413.8217> > > > http://www.perosi.com> > ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
I always have template cache turned on at 2 seconds yet this problem hit me twice during the past few days and both times required a reboot so apparently it's going to happen regardless of what the template cache setting is.Sincerely,Kenneth Grome> I wasn't paying attention to this thread before by> Govinda privately brought it to my attention.> > Over the years I've had this template caching problem as> well. It always happens to me when I accidentally write> a bad block of code, like recursive loops, or when I'm> trying to call too many include files from within a> file.> > I believe I've had the same experience since version> 4.5.1. I always have Template Cashing turned off. When> I get into rapid development sometimes my templates> don't refresh fast enough even though my server is set> to check for modifications every 2 seconds.> > Here's how I see this situation occurring for me:> > I accidentally create a recursive loop in a block of code> that is never able to complete. Somehow that infinite> processing loop keeps going inside the server's cache. > I've uploaded new versions of the .tpl file, and even> deleted and reuploaded a new .tpl, but because the> recursive version is still running (so I assume) WebDNA> never has a chance to run the new version.> > The only solution I know is to reboot the hardware. If> I'm unable to reboot at that time I simply rename the> file to template2.tpl and keep working.> > On the other hand, I've accidentally written recursive> loops that have brought the hardware to a grinding hault> too.> > --Matt> > On 1/27/2012 5:23 PM, Kenneth Grome wrote:> > And it is entirely possible that having template cache> > turned on in admin might completely eliminate this> > problem.> > > > Sincerely,> > Kenneth Grome> > > >> Right, I set up a very basic example using your> >> structure and had no problem call thing the> >> functions (OS X/WebDNA 6x).. but like you say, I> >> don't have your permission settings, WebDNA settings,> >> the exact code, etc.. too many variables to test for.> > > > -------------------------------------------------------> > -- This message is sent to you because you are> > subscribed to the mailing list.> > To unsubscribe, E-mail to:> > archives: http://mail.webdna.us/list/talk@webdna.us> > Bug Reporting: support@webdna.us> > > > > > > > > > Psi Prime, Inc.> > 323 Union Blvd.> > Totowa, NJ 07512> > > > Service: 973.413.8211> > Training: 973.413.8214> > Fax: 973.413.8217> > > > http://www.perosi.com> > ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Kenneth Grome
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:
Free WebDNA snippets (Extending WebCatalog) (1997)
Calendar (1997)
Trouble Searching (1999)
Keep away (1997)
case sensitivity in lookups (1997)
[ShowIf] if the varieable exists (1998)
Generating unique SKU from [cart] - FIXED! (1997)
multiple db's (2003)
Nested tags count question (1997)
Help name our technology! (1997)
shipping calculations, lookup command (1997)
Netscape (2002)
Help name our technology! (1997)
Truncated value after space - refresh my memory.... (1997)
emailer settings and control questions (1997)
PCS Frames (1997)
The IBC root beer has arrived! (1997)
HELP WITH DATES (1997)
variables in [addlineitem] (1998)
Still Stumped on ShowNext...HELP! (1997)