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:
'does not contain' operator needed ... (1997)
[movefile] create stationery files (1998)
Showif probably dumb question (1997)
emailer (1997)
Removing and Reinstalling Typhoon (2000)
Help returning tracking data from USPS website (2004)
Can't load tmpl files (1997)
Fileinfo... (2000)
Trouble with Showif and Search (1998)
[WebDNA] Contact Management Code (2012)
Permission denied? (2004)
WebCat2 beta 11 - new prefs ... (1997)
Shell traceroute (2001)
Encrypt question. (2000)
Trouble with formula.db + more explanation (1997)
FW: weird problem (2004)
No. of items in shopping cart (2000)
Need relative path explanation (1997)
Formating found categories (1997)
Forumulas.db & Variables (2002)