Re: Something weird with ShoppingCarts
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 46986
interpreted = N
texte = It looks like the cookie that you're trying to set onProducts_ShoppingCart2.tmpl is whacked. View the source of that page afteryou submit and this is what you see: 5{ log/computerstore/graphics/plonters/menupics/hand_left.gifHTTP/1.1ACCEPT: */*REFERER:http://www.plonter.co.il/webcatalog/computerstore/Products_Results.tmpl?command=search&command=search&db=%5Ecatalog.txt&cart=1043185212270733&EQshelfDATAq=USB%20Cam&eqdivisiondatarq=%EE%F6%EC%EE%E4%20%EC%E5%F2%E9%E3%E4&lang=heb&sortitems=1&max=20&startAt=21ACCEPT-LANGUAGE: en-usACCEPT-ENCODING: gzip, deflateIF-MODIFIED-SINCE: Tue, 30 Jul 2002 06:54:40 GMTUSER-AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)HOST: www.plonter.co.ilCONNECTION: Keep-AliveCOOKIE: plonter=zap ?T 5{ lo?S 5{ e/graphics/plonters/banners/myclub.gifHTTP/1.1ACCEPT: */*REFERER:http://www.plonter.co.il/webcatalog/computerstore/Products_Results.tmpl?command=search&command=search&db=%5Ecatalog.txt&cart=1043185212270733&EQshelfDATArq=UB%20Cam&eqdivisiondatarq=%EE%F6%EC%EE%E4%20%EC%E5%F2%E9%E3%E4&lang=heb&sortitems=1&max=20&startAt=21ACCEPT-LANGUAGE: en-usACCEPT-ENCODING: gzip, deflateIF-MODIFIED-SINCE: Tue, 30 Jul 2002 06:54:40 GMTUSTry commenting out this cookie info and see what returns. Look at thereferrer too, what is that?GK> after 2 days of fighting with it i cry for help :(>> after 5.5 years with WebCat and WebStar running an on-line store i> decided to open another store.> (I use WebDNA 4.5 and WebStar 5.1.3 on Xserve powered with OS X 10.2.3)>> i copied the directory to a new directory under /webcatalog/>> it all worked fine, i made my new design and everything else and then i> encounter the problem :>> this is the URL to the new store (I simplified the code so it'll be> easy to get help from you hopefully)> http://www.plonter.co.il/webcatalog/toyland/ordernow2.tmpl?item=9115>> the HTML code of this page :> cart = [cart]
> [search db=^/toyland/catalog.txt&EQskuDATArq=[item]]> [foundItems]> Msg - [description]
> Sku - [sku]
> Title - [engtitle]
> Price - [sale]
>
href=Products_ShoppingCart2.tmpl?command=add&db=^/toyland/> catalog.txt&sku=[sku]&cart=[cart]>order>> When i click the order i get a weird outcome. i don't have a clue why> it happen>> The code of the target page (Products_ShoppingCart2.tmpl) :>> [lineItems]> [price][description][sku][hebtitle]> [/lineItems]>> on the other hand when i copied those 2 TMPL files to my old good store> they work like charm. (the only problem is that the item sku is not in> the products catalog file so it added a lineitem with bullshit but> never mind)>> The URL in the directory of the old store:> http://www.plonter.co.il/webcatalog/computerstore/> ordernow2.tmpl?item=9115>> each store directory contain a ShoppingCarts directory. It open a new> cart when i click the order in both of them. but in the toyland link> it die and in the computerstore link it stay alive.>> Any clue ?> Do i need to define something regarding ShoppingCarts somewhere> because of the new store ?>> Heeeelllllpppppppp>> Yariv Nachshon> http://www.plonter.co.il> (And maybe http://www.toyland.co.il when it'll like to work)-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
It looks like the cookie that you're trying to set onProducts_ShoppingCart2.tmpl is whacked. View the source of that page afteryou submit and this is what you see: 5{ log/computerstore/graphics/plonters/menupics/hand_left.gifHTTP/1.1ACCEPT: */*REFERER:http://www.plonter.co.il/webcatalog/computerstore/Products_Results.tmpl?command=search&command=search&db=%5Ecatalog.txt&cart=1043185212270733&EQshelfDATAq=USB%20Cam&eqdivisiondatarq=%EE%F6%EC%EE%E4%20%EC%E5%F2%E9%E3%E4&lang=heb&sortitems=1&max=20&startAt=21ACCEPT-LANGUAGE: en-usACCEPT-ENCODING: gzip, deflateIF-MODIFIED-SINCE: Tue, 30 Jul 2002 06:54:40 GMTUSER-AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)HOST: www.plonter.co.ilCONNECTION: Keep-AliveCOOKIE: plonter=zap ?T 5{ lo?S 5{ e/graphics/plonters/banners/myclub.gifHTTP/1.1ACCEPT: */*REFERER:http://www.plonter.co.il/webcatalog/computerstore/Products_Results.tmpl?command=search&command=search&db=%5Ecatalog.txt&cart=1043185212270733&EQshelfDATArq=UB%20Cam&eqdivisiondatarq=%EE%F6%EC%EE%E4%20%EC%E5%F2%E9%E3%E4&lang=heb&sortitems=1&max=20&startAt=21ACCEPT-LANGUAGE: en-usACCEPT-ENCODING: gzip, deflateIF-MODIFIED-SINCE: Tue, 30 Jul 2002 06:54:40 GMTUSTry commenting out this cookie info and see what returns. Look at thereferrer too, what is that?GK> after 2 days of fighting with it i cry for help :(>> after 5.5 years with WebCat and WebStar running an on-line store i> decided to open another store.> (I use WebDNA 4.5 and WebStar 5.1.3 on Xserve powered with OS X 10.2.3)>> i copied the directory to a new directory under /webcatalog/>> it all worked fine, i made my new design and everything else and then i> encounter the problem :>> this is the URL to the new store (I simplified the code so it'll be> easy to get help from you hopefully)> http://www.plonter.co.il/webcatalog/toyland/ordernow2.tmpl?item=9115>> the HTML code of this page :> cart = [cart]
> [search db=^/toyland/catalog.txt&EQskuDATArq=[item]]> [founditems]> Msg - [description]
> Sku - [sku]
> Title - [engtitle]
> Price - [sale]
> href=Products_ShoppingCart2.tmpl?command=add&db=^/toyland/> catalog.txt&sku=[sku]&cart=[cart]>order>> When i click the order i get a weird outcome. i don't have a clue why> it happen>> The code of the target page (Products_ShoppingCart2.tmpl) :>> [lineitems]> [price][description][sku][hebtitle]> [/lineItems]>> on the other hand when i copied those 2 TMPL files to my old good store> they work like charm. (the only problem is that the item sku is not in> the products catalog file so it added a lineitem with bullshit but> never mind)>> The URL in the directory of the old store:> http://www.plonter.co.il/webcatalog/computerstore/> ordernow2.tmpl?item=9115>> each store directory contain a ShoppingCarts directory. It open a new> cart when i click the order in both of them. but in the toyland link> it die and in the computerstore link it stay alive.>> Any clue ?> Do i need to define something regarding ShoppingCarts somewhere> because of the new store ?>> Heeeelllllpppppppp>> Yariv Nachshon> http://www.plonter.co.il> (And maybe http://www.toyland.co.il when it'll like to work)-------------------------------------------------------------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://webdna.smithmicro.com/
Gary Krockover
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:
[isfile] ? (1997)
Sort Order on a page search (1997)
off topic - dna snipets (1997)
New public beta available (1997)
[WebDNA] Need Rosetta to install on OS X? (2010)
The Top Ten (2002)
RE: shrink-wrapped version out yet? (1997)
webcat- multiple selection in input field (1997)
Running _every_ page through WebCat-error.html (1997)
[ShowNext] feature in 2.0 (1997)
Possible Bug in 2.0b15.acgi (1997)
Web DNA rates (2000)
Frames and WebCat (1997)
web hosting (2000)
code to phantom spacing (2001)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
RE: Nesting [ListFiles] (1998)
WebCat2b15MacPlugin - showing [math] (1997)
Problems problems problems (1997)
Shopping Cart Problem (1998)