delete fails

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35507
interpreted = N
texte = Hi,I've asked about this before, but no one's even nibbled at it.RemoveThis command is embedded in a [lineitems] context. It works great, most of the time. Inexplicably, it will *sometimes* fails to delete items from the cart, even though it is precisely the same code in the same [lineitems] loop that works most of the time! It's failure doesn't seem to depend on any condition I can spot -- number of items in the cart, [index] value, etc. Can someone point me to a condition that might cause this to sporadically fail?For what it's worth, this is in Netscape 4.7 on a Mac running OS 9.0.4. The server's WebSTAR 4.2 under Mac OS 9.0 running WebCat 3.0.7. Here's the code from the template, minus font tags for readability (the HTML above was taken from the browser's source):[lineitems] [sku][lookup db=admin/products.db&lookinfield=SKU&value=[url][sku][/url]&returnfield=TITLE] [search db=admin/related.db&eqR_SKUdatarq=[url][sku][/url]&eqR_CTYPEdatarq=O&R_CATEGORYsumm=T&R_CRANKtype=number&asR_CRANKsort=1][founditems] [lookup db=admin/categories.db&lookinfield=C_ID&value=[R_CATEGORY]&returnfield=C_NAME] [/founditems][/search] [lookup db=admin/prefs.db&lookinfield=pref&value=CURRENCY&returnfield=value][price][lookup db=admin/prefs.db&lookinfield=pref&value=CURRENCY&returnfield=value][format .[lookup db=admin/prefs.db&lookinfield=pref&value=CURRENCY_ACCURACY&returnfield=value]f][math][quantity]*[price][/math][/format]Remove [/lineitems]-- Regards,Christopher Mackay, Director of Technical Services Tantramar Interactive, http://www.tantramar.com/ Tantramar Publishing, http://www.tantramarpublishing.com/ phone: 506/364-1097 cell: 364-7659 fax: 536-2409------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: delete fails (Christopher Mackay 2000)
  2. Re: delete fails (John Butler 2000)
  3. Re: delete fails (John Butler 2000)
  4. Re: delete fails (ShrPAUL1@aol.com 2000)
  5. Re: delete fails (WebDNA Support 2000)
  6. Re: delete fails (Robert Wade 2000)
  7. delete fails (Christopher Mackay 2000)
Hi,I've asked about this before, but no one's even nibbled at it.RemoveThis command is embedded in a [lineitems] context. It works great, most of the time. Inexplicably, it will *sometimes* fails to delete items from the cart, even though it is precisely the same code in the same [lineitems] loop that works most of the time! It's failure doesn't seem to depend on any condition I can spot -- number of items in the cart, [index] value, etc. Can someone point me to a condition that might cause this to sporadically fail?For what it's worth, this is in Netscape 4.7 on a Mac running OS 9.0.4. The server's WebSTAR 4.2 under Mac OS 9.0 running WebCat 3.0.7. Here's the code from the template, minus font tags for readability (the HTML above was taken from the browser's source):[lineitems] [cart]&--eqSKUdatarq=[url][sku][/url]>[sku][lookup db=admin/products.db&lookinfield=SKU&value=[url][sku][/url]&returnfield=TITLE] [search db=admin/related.db&eqR_SKUdatarq=[url][sku][/url]&eqR_CTYPEdatarq=O&R_CATEGORYsumm=T&R_CRANKtype=number&asR_CRANKsort=1][founditems] [lookup db=admin/categories.db&lookinfield=C_ID&value=[R_CATEGORY]&returnfield=C_NAME] [/founditems][/search] [lookup db=admin/prefs.db&lookinfield=pref&value=CURRENCY&returnfield=value][price][lookup db=admin/prefs.db&lookinfield=pref&value=CURRENCY&returnfield=value][format .[lookup db=admin/prefs.db&lookinfield=pref&value=CURRENCY_ACCURACY&returnfield=value]f][math][quantity]*[price][/math][/format][cart]&action=Delete&index=[lineindex]>Remove [/lineitems]-- Regards,Christopher Mackay, Director of Technical Services Tantramar Interactive, http://www.tantramar.com/ Tantramar Publishing, http://www.tantramarpublishing.com/ phone: 506/364-1097 cell: 364-7659 fax: 536-2409------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Christopher Mackay

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:

[AppendFile] problem (WebCat2b13 Mac .acgi) (1997) ShowNext (1997) Great product and great job ! (1997) PCS Customer submissions ? (1997) [OT] Bulk Email Software (2002) Windows XP and cookies (2004) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) WebCat editing, SiteGuard & SiteEdit (1997) UPDATE PROBLEM (1997) F3 crashing server (1997) [Sum] function? (1997) [ot] g5 xserve drives (2004) Mac Sever Web Hosting (1999) [WebDNA] AJAX module (2012) syntax question, not in online refernce (1997) Windows 2.1b2 Append Bug? (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) Wanted: Broader string manipulation functions (1997) PCS Frames (1997) Snake Bites (1997)