Modifying databases manually (was Re: Banner DNA)
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13823
interpreted = N
texte = >On occassion and I can't remember why I needed to>do it and when I do it I flush the webcat template cache and that>somethings fixes pages I am working on live that are acting strange and I>know they should not. But I think 2.0and up is smarter than the older beta>stuff, cause I can't remember doing this in a long time.The new WebCatalog checks the modification date and loadsnewly-modified copies of its templates automatically, thus you shouldno longer have to use the $FlushTemplates command. But flushing*databases* is another story ...To be completely safe about changing your database files manually,either quit the WebCat CGI, or if you're using the plugin quitWebSTAR, until you're done modifying a database file manually.The second-safest method (which will usually work) is to modify a*copy* of your database, then use the &FlushDatabases commandimmediately before replacing the original with your newly-modifiedcopy.Sincerely, Ken GromeWebDNA Solutions808-737-6499http://www.hui.net/dna/webdna.html
Associated Messages, from the most recent to the oldest:
>On occassion and I can't remember why I needed to>do it and when I do it I flush the webcat template cache and that>somethings fixes pages I am working on live that are acting strange and I>know they should not. But I think 2.0and up is smarter than the older beta>stuff, cause I can't remember doing this in a long time.The new WebCatalog checks the modification date and loadsnewly-modified copies of its templates automatically, thus you shouldno longer have to use the $FlushTemplates command. But flushing*databases* is another story ...To be completely safe about changing your database files manually,either quit the WebCat CGI, or if you're using the plugin quitWebSTAR, until you're done modifying a database file manually.The second-safest method (which will usually work) is to modify a*copy* of your database, then use the &FlushDatabases commandimmediately before replacing the original with your newly-modifiedcopy.Sincerely, Ken GromeWebDNA Solutions808-737-6499http://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:
Verifying both name and password (was: New Problem) (1997)
Running 2 two WebCatalog.acgi's (1996)
IE Cache Problems... (1999)
[WebDNA] TCPConnect example doesn't work (2017)
WebCat2: Items xx to xx shown, etc. (1997)
Summing fields (1997)
change the number format (1997)
Quickie question on the email templates (1997)
emailer (1997)
multi-paragraph fields (1997)
append=T problem (1998)
Newbie needs advice to learn to use WebDNA (2003)
Candle Light Vigil (2001)
notification solutions (1997)
db protection on NT (1997)
[WebDNA] port from mime headers? (2017)
2.1 pricing? (1998)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Grep support request for SMSI ... (2003)
[WebDNA] [OT] BBEdit Glossary (2012)