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:

problems with 2 tags (1997) Hiding HTML and page breaks (1997) Running 2 two WebCatalog.acgi's (1996) Bug or syntax error on my part? (1997) weirdness in the error log (1998) Verisigns SDK (pay flo pro) (2002) shownext (2001) Shopping Cart variation... (1997) RE: SSL and WebCatalog (1997) keep W* in front applescript? (1998) Help! WebMerchant store suddenly won't process orders... (2001) graphing (2004) [WebDNA] Search using CL (2017) Server Problem (2004) More on the email templates (1997) Nested tags count question (1997) shownext (2001) emailer (1997) TeaRoom Order fields email account remain empty even thoughthewy are filled. (1997) RE: Database field limit? (1998)