Re: webcatalog [date] bug

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22195
interpreted = N
texte = >I have recently encounted a bug in webcatalog 3.0 Mac CGI. >I have a database called carts.db that keeps some preferences from the last >few shoppers (3 days worth to be exact) >I use this code to keep the database clean... >[Delete db=carts.db&leDATEdatarq=[math date]{[Date]}-3[/math]] > >I have had this code in use for over 6 months. >Since the 1st of January, this code deletes EVERY record in the database >every time it is run. >Please look into this as soon as possible.The problem is in some internal code inside webcatalog that breaks when the ReadDateFormat preference is in uppercase letters instead of lowercase letters. Try replacing the MDY value in that pref with mdy, that should fix it. If it doesn't, there's something else you can try:1- Quit WebCatalog. 2- Open the WebCatalog Prefs file in a text editor. 3- Remove the entire line that begins with ReadDateFormat. 4- Save & close the file.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: webcatalog [date] bug...not (Kenneth Grome 1999)
  2. Re: webcatalog [date] bug...not (Peter Ostry 1999)
  3. Re: webcatalog [date] bug...not (Kenneth Grome 1999)
  4. Re: webcatalog [date] bug...not (xstreams@wnylive.com 1999)
  5. Re: webcatalog [date] bug...not (Kenneth Grome 1999)
  6. Re: webcatalog [date] bug...not (Grant Hulbert 1999)
  7. Re: webcatalog [date] bug (PCS Technical Support 1999)
  8. Re: webcatalog [date] bug (Kenneth Grome 1999)
  9. Re: webcatalog [date] bug (Brian B. Burton 1999)
  10. Re: webcatalog [date] bug (Kenneth Grome 1999)
  11. webcatalog [date] bug (Brian B. Burton 1999)
>I have recently encounted a bug in webcatalog 3.0 Mac CGI. >I have a database called carts.db that keeps some preferences from the last >few shoppers (3 days worth to be exact) >I use this code to keep the database clean... >[Delete db=carts.db&leDATEdatarq=[math date]{[date]}-3[/math]] > >I have had this code in use for over 6 months. >Since the 1st of January, this code deletes EVERY record in the database >every time it is run. >Please look into this as soon as possible.The problem is in some internal code inside webcatalog that breaks when the ReadDateFormat preference is in uppercase letters instead of lowercase letters. Try replacing the MDY value in that pref with mdy, that should fix it. If it doesn't, there's something else you can try:1- Quit WebCatalog. 2- Open the WebCatalog Prefs file in a text editor. 3- Remove the entire line that begins with ReadDateFormat. 4- Save & close the file.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:

[ShowIf] and empty fields (1997) Merging databases (1997) writefile - continued (1997) WebCat2b12 - nesting [tags] (1997) Hard Questions ? (1997) AAAH: stupid sendmail (2001) Robert Minor duplicate mail (1997) Calculating Age from DB fields (2003) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) FORMS: Returning a specific page (1997) Sample Tearoom Search Error (1997) New public beta available (1997) Size limit for tmpl editor ? (1997) Quit revisited (1997) Errata: WCS Newbie question (1997) ReturnRaw and redirect one last question (1997) Thanks Grant (1997) test (1998) I can't set the variable (2005) Secure server question (1997)