Writefile not saving changes

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61025
interpreted = N
texte = It seems writefile is sporadically not saving changes. Sometimes it works, sometimes not. Do I need to issue a deletefile before the writefile? Is there some sort of writefile caching that causes and older version to overwrite the newer version? Here's the code in use now for recording the changes: [!]CHANGE ARTICLE[/!] [showif [submit]=Change] [replace db=article.db&eqSKUdatarq=[__SKU]][formvariables name=__&exact=F]&[getchars start=3][name][/getchars]=[url][value][/url][/ formvariables]&keywords=[formvariables name=__kwCOMMA&exact=T][url][value][/url][/formvariables][/replace] [writefile file=article/[__sku].inc][__body][/writefile] [text show=F&secure=T]__sku=[raw][__sku][/raw][/text] [/showif] ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Writefile not saving changes ( William DeVaul 2005)
It seems writefile is sporadically not saving changes. Sometimes it works, sometimes not. Do I need to issue a deletefile before the writefile? Is there some sort of writefile caching that causes and older version to overwrite the newer version? Here's the code in use now for recording the changes: [!]CHANGE ARTICLE[/!] [showif [submit]=Change] [replace db=article.db&eqSKUdatarq=[__SKU]][formvariables name=__&exact=F]&[getchars start=3][name][/getchars]=[url][value][/url][/ formvariables]&keywords=[formvariables name=__kwCOMMA&exact=T][url][value][/url][/formvariables][/replace] [writefile file=article/[__sku].inc][__body][/writefile] [text show=F&secure=T]__sku=[raw][__sku][/raw][/text] [/showif] ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ William DeVaul

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:

customizing the color of user's pages (1997) Security - 2 (1999) Duplicate Messages (1998) Writing [raw] to a file (2000) Getting Total Quantity (1997) [WebDNA] Silly question (2009) [off] Promotions Co? (1997) NetForms for email (1998) RE: Web*SSL and WebCatalog (1997) Modifying order output (1997) problem: type 2 errors (1997) webcat- multiple selection in input field (1997) Can't load tmpl files (1997) Need help with emailer- 2 issues (1997) How to download a database???/ (2000) [WebDNA] [announce] Developer Resource Center (2008) flushdatabases (2000) [SHOWIF AND/OR] (1997) unitshipcost vs shipcosts (1997) expired beta (1997)