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:

Numbers from Sentence (2003) Requiring that certain fields be completed (1997) Pretty Easy I bet (2000) Beta 18 (1997) Artwork (1997) Is there an alternative to emailer? (1999) WebCat2b12plugin - [search] is broken ... not! (1997) read and write you own cookies with webcat (1997) How to unsubscribe (2000) date math (2005) format_to_days on NT (1997) Date Formats (1997) Bug Report, maybe (1997) OT: Linux Frustrations (2001) Mac Vs WindowsNT (1997) AAgghh!! Help, please. SSL strikes again. (1997) Generating Report Totals (1997) Fufillment e-mail? (1998) Add a field to the error log? (1997) Sendmail reply-to header? (2001)