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:

Running 2 two WebCatalog.acgi's (1996) sandboxes with 6.0 (2004) pictures / referrer etc. (1998) [WebDNA] [BULK] WebDNA AJAX example wanted! (2010) Signal Raised Error (1997) WebMerchant 1.6 and SHTML (1997) About WebDNA [well, and so the story ended] (2007) Connect to MySQL (2002) [WebDNA] test (2011) Newbie questions (1999) Applescript error (1998) Problems with SELECT MULTIPLE (1999) stuck time (1998) FORMS: Returning a specific page (1997) Webcatalog-firesite and [referrer] tag (1997) pop up menu's (1998) Faxing orders in place of email (1997) WebCat2.0 acgi vs plugin (1997) WebCatalog and WebMerchant reviewed by InfoWorld (1997) WebMerchant 1.6 and SHTML (1997)