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:

WebSite and *NO* Authentication Dialog Box!!? (1998) [ANN] GetRate 1.3 available (2000) WCS Newbie question (1997) NOT Search (1998) Re:[ShowIf] and empty fields (1997) Max Record length restated as maybe bug (1997) transferring values (1998) Mac v. NT (1998) Using [sendmail] for mass mailings (2001) An Isnumeric function of some kind (2001) (1997) Browser Caching (2003) QuitFeedback & DBNotOpened errors (1997) Three new problems, maybe a fourth (1997) WebCat2 several catalogs? (1997) Back Button problems (1998) select multiple (1997) WebCat2 several catalogs? (1997) WCS Newbie question (1997) Nav. 4 probs with cart - Serious problem (1997)