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:

XML WebDNA Problems (2000) WebCat2 several catalogs? (1997) [WebDNA] Sorry WebDNA server not running (2014) 4.5.1 (2003) [WebDNA] WebDNA databases not showing? (2013) HomePage Caution (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) File Upload (1997) Bug or syntax error on my part? (1997) Timeout question .. (2003) Navigator Parsing (1997) Emailer [cart] file names (1997) Plugin or CGI or both (1997) shipcost (1997) tcpconnect/tcpsend frustrations (2002) Multiple Carts with Mac IE (2002) wish list (2002) New Weird Behavior (bug report) (2000) Search in 2 or more catalogs (1997) search results (1998)