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:

How to Sort Summ data ? (1997) A question on sub-categories (1997) Freelance Work Needed: Dynamic PDF's (2001) Banners and sort of random display (1997) Web Catalog Instability (2000) WebDNA Solutions --> Date format suggestions (1998) FYI: virus alert (1996) WebCatalog2 Feature Feedback (1996) Search in 2 or more catalogs (1997) process SSI (1998) Problems getting parameters passed into email. (1997) A quickie question (1997) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) webcat 2.1 new cart fields - please explain more (1998) 3RD POST Character limit in [Search]? (1998) WebCat2 Append problem (B14Macacgi) (1997) REPOST: Overwiting SKU in Cart (2002) [OT] Security Certs (2000) Deleting associated records from 2 different databases (2001) [WebDNA] Sorry WebDNA server not running. (2015)