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:

'does not contain' operator needed ... (1997) Referrer or maybe another way..... (2005) Categories (2000) unsubscribe (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) WebCat2b13MacPlugIn - More limits on [include] (1997) More on the email templates (1997) C is for cookie - that's good enough for me... (2001) What am I doing wrong? (2000) RE: Clearing orders and database help! (1997) Bug or syntax error on my part? (1997) Add to cart issue (2007) [Price] (1997) Generating unique SKU from [cart] - Still Stumped... (1997) [WebDNA] More wish-list requests implemented (2016) World Address Info (2003) WebCat2b15MacPlugin - [protect] (1997) Re:Emailer and encryption (1997) list/menus (2000) WebCat2b13MacPlugIn - more [date] problems (1997)