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:

THANKS (1997) Formulas.db + Users.db (1997) Date search - yes or no (1997) The evolved Server Configuration Queston (2000) Plugin or CGI or both (1997) NY State Zip Codes & Tax percent (2002) won't serve .tpl -index.tpl gone, made test.tpl (2000) Speed Admin? (Was FlushDatabases) (1997) [writefile] (1997) FoxPro & WebDNA (2006) $Quit, $CloseDatabase corrections (1997) WC2b12: Yes, Formulas.db is for real (1997) Note added to [sendmail] in Docs (2004) Price + Texte (1999) [ShowNext] (1997) MS Bug (2003) Dummy Credit Card Number for debug? (1997) Email...Thanks (1997) Mac 4.0b2 Installer Problems (2000) [Fwd: Rotating Banners ... (was LinkExchange)] (1997)