Generating unique SKU from [cart] - Still Stumped...

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11309
interpreted = N
texte = Thanks for the help Ken but I still can't get it. I've stripped out everything I could to try to isolate the problem but still no-go. Here's the code from my add_record.tmpl file:
When this file executes everything appears to work fine (ie. no errors in either Webstar or WC2 logs) and the catalog.txt is updated but the fields where I'm asking for a cart and date value to be inserted contain the literal text [cart] (in the sku field) and [DATE %y%j%H%M%S] (in the title field - I added this purely to see if the problem was cart specific).My configuration is: Web* 2.0 (8mb allocated) WC2 b15 acgi (4mb allocated) PMAC 9500It appears that the acgi is processing the file fine but ignoring the commands inside []. Any ideas? Thanks in advance. -marty ____________________________________ | Marty Schmid | | -Artwerks- | | Design/Advertising/Web Publishing | | | | T. 619.274.5029 | | F. 619.274.5656 | | e-mail: marty@artwerks.com | |____________________________________| Associated Messages, from the most recent to the oldest:

    
  1. Re: Generating unique SKU from [cart] - Still Stumped... (Christer Olsson 1997)
  2. Generating unique SKU from [cart] - Still Stumped... (Marty Schmid 1997)
Thanks for the help Ken but I still can't get it. I've stripped out everything I could to try to isolate the problem but still no-go. Here's the code from my add_record.tmpl file:
[cart]>
When this file executes everything appears to work fine (ie. no errors in either Webstar or WC2 logs) and the catalog.txt is updated but the fields where I'm asking for a cart and date value to be inserted contain the literal text [cart] (in the sku field) and [DATE %y%j%H%M%S] (in the title field - I added this purely to see if the problem was cart specific).My configuration is: Web* 2.0 (8mb allocated) WC2 b15 acgi (4mb allocated) PMAC 9500It appears that the acgi is processing the file fine but ignoring the commands inside []. Any ideas? Thanks in advance. -marty ____________________________________ | Marty Schmid | | -Artwerks- | | Design/Advertising/Web Publishing | | | | T. 619.274.5029 | | F. 619.274.5656 | | e-mail: marty@artwerks.com | |____________________________________| Marty Schmid

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:

WCS Newbie question (1997) [WriteFile] problems (1997) WebMerchant and PC Auth Hub (1999) WebCat (or other) Indexing (1999) Blocking off access (2005) Multiple Items (2004) SetHeader (1997) Max Include levels (2000) more on quicktime test stuff (1997) normal users.db calls ... (1998) DRC (2004) When to use [convertchars] ?!?!? (2000) Appending Information from one db to another (1998) UNSUBSCRIBE (2001) Forms Search Questions (1997) Browser Detection (2002) Listserver problem (1997) fixed date problem (1997) WebDNA wholesale ... (2002) [subtotal] and others (1997)