Re: restart needed????

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12481
interpreted = N
texte = >Hi, > >I think I found out a bit about why my formulas for the tax rates weren't >working. But I may be wrong. > >When I changed the variables in the formula and related dbs, the >information would not change. But when I restarted the mac where web* is, >the new data came up. Now I know that it there has to be a problem if I >have to restart every time I change the info in my formula db. > >I tried flushing the cache in the admin mode, but that did not seem to do >the trick. Restarting did though.Flushing the cache doesn't flush the databases, it only flushes the template cache. Also, this command is no longer needed because WebCat2 now features 'smart template caching' ... so you will always get the most recent version of the templates on your site without ever having to flush the template cache again.Try using the $flushdatabases command to make sure all the current data that's in RAM gets saved to disk. This command writes the current database data in RAM to disk. If you're using the Mac plugin, using the $quit command does the same thing, but $quit actually closes the databases at the same time.Or ... you can close a single database by using the [closedatabase path/to/database.db] tag if for some reason you don't want to flush all the databases with the $flushdatabases command or close all the databases using the $quit command.Sincerely, Ken Grome WebDNA Solutionshttp://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: restart needed???? (Grant Hulbert 1997)
  2. Re: restart needed???? (Kenneth Grome 1997)
  3. restart needed???? (Kevin Furuta 1997)
>Hi, > >I think I found out a bit about why my formulas for the tax rates weren't >working. But I may be wrong. > >When I changed the variables in the formula and related dbs, the >information would not change. But when I restarted the mac where web* is, >the new data came up. Now I know that it there has to be a problem if I >have to restart every time I change the info in my formula db. > >I tried flushing the cache in the admin mode, but that did not seem to do >the trick. Restarting did though.Flushing the cache doesn't flush the databases, it only flushes the template cache. Also, this command is no longer needed because WebCat2 now features 'smart template caching' ... so you will always get the most recent version of the templates on your site without ever having to flush the template cache again.Try using the $flushdatabases command to make sure all the current data that's in RAM gets saved to disk. This command writes the current database data in RAM to disk. If you're using the Mac plugin, using the $quit command does the same thing, but $quit actually closes the databases at the same time.Or ... you can close a single database by using the [closedatabase path/to/database.db] tag if for some reason you don't want to flush all the databases with the $flushdatabases command or close all the databases using the $quit command.Sincerely, Ken Grome WebDNA Solutionshttp://www.hui.net/dna/webdna.html 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:

Summing fields (1997) Sort Order on a page search (1997) HTML tags inside textarea (2000) Textarea Breaks (2000) Help with Repost Data msg from form (1997) Request Time Out (1997) WebDNA-Talk Digests (1997) Storebuilder Problems...Looking for last minute heroic (2004) (2000) Dropdown menus (2006) How to best sort in a pre-defined item-by-item order ... (2003) 2.1 Stuff (1998) [WebDNA] table comma field delimiter bug? (2012) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Further on formula.db failure to calculate shipCost (1997) Null Chars (1999) [BULK] [WebDNA] [BULK] Mac OS X LION has no FastCGI (2011) Quickie question on the email templates (1997) Sendmail Excel attachment (2003) Re:Help name our technology! (1997)