Re: RAM problems, [appendfile] problems

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17985
interpreted = N
texte = >We run 12 stores in our mall. For our statistic needs we created a >database which should contain the info about each order like cart >number, order date, total, etc. For this purpose we added the following >code in each ThankYou.tmpl: >[appendfile ../statistics/stat.db] [CART],[DATE],[TIME],[STORENAME], >[TOTAL],[USERNAME] >[/appendfile] >[closedatabase stat.db] >Eeach one of these values appears on the ThankYou.tmpl. >However, in a mysterious way, some orders are appended to a database, >ans some are not. I cannot find a reason for that. There is no visible >logic in why some orders appear on data and some don't. Looks like >sometimes the [appendfile] works, and sometimes not. The code is the >same in all stores, and it happens in all stores. >What might be a reason for this?Do you ever open that db with ANY other program than WebCatalog? Which one? SimpleText? Some other text editor? Do you save it when closing it?Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: RAM problems, [appendfile] problems (natasha 1998)
  2. Re: RAM problems, [appendfile] problems (Kenneth Grome 1998)
  3. Re: RAM problems, [appendfile] problems (natasha 1998)
  4. Re: RAM problems, [appendfile] problems (Kenneth Grome 1998)
  5. Re: RAM problems, [appendfile] problems (Rob Marquardt 1998)
  6. RAM problems, [appendfile] problems (natasha 1998)
>We run 12 stores in our mall. For our statistic needs we created a >database which should contain the info about each order like cart >number, order date, total, etc. For this purpose we added the following >code in each ThankYou.tmpl: >[appendfile ../statistics/stat.db] [cart],[date],[time],[STORENAME], >[TOTAL],[username] >[/appendfile] >[closedatabase stat.db] >Eeach one of these values appears on the ThankYou.tmpl. >However, in a mysterious way, some orders are appended to a database, >ans some are not. I cannot find a reason for that. There is no visible >logic in why some orders appear on data and some don't. Looks like >sometimes the [appendfile] works, and sometimes not. The code is the >same in all stores, and it happens in all stores. >What might be a reason for this?Do you ever open that db with ANY other program than WebCatalog? Which one? SimpleText? Some other text editor? Do you save it when closing it?Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net 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:

Finding max value for a field (1997) WC2b15 File Corruption (1997) Country & Ship-to address & other fields ? (1997) Prices coming up 0.00 (2001) Bug or syntax error on my part? (1997) Newbie Help Needed (1998) Clean Code: Rules for inserting keyboard returns? (1997) [WebDNA] Rewrite url (2013) OT ImageMagick and Thumbnails (2003) Formvariables and Sendmail? (2000) Looking up two prices in Formulas.db (1997) WCS Newbie question (1997) Claris HomePage messes up the code (1997) WriteFile is there a max size? (1998) Three Guesses? (2004) Autoreturn Submit? (1997) Nested Loops and SHOWIFs (1997) service stop and restart (1997) How fast is your server? (2002) RE: OK, here goes... (1997)