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:
off-topic: SMS interface? (2001)
Maybe off topic but how to charge (1997)
email preferences on NT (1997)
template not found error (1998)
[ShowIf] a either fields are blank (1998)
WC2.0 Memory Requirements (1997)
redirect with frames (1997)
Sorting problem (2002)
Country & Ship-to address & other fields ? (1997)
Server Freeze...not always (1998)
version 2 for NT (1997)
taxTotal, grandTotal (1997)
Replto in [SendMail] (2000)
PayPal Instant Payment Notification (working code snippet) (2002)
[WebDNA] WebDNA Roll Call (2013)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
OS X Permissions after upgrade (2001)
Avery 5160 Mailing Labels (2003)
Payflow Pro Jar (2002)
Proper file locations (1997)