Re: [add] context causing WebStar to crash!

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35169
interpreted = N
texte = I would guess it is some code in your ShoppingCart.tpl. Try commenting out all the webcat code on that page , and then changing the position of those webcat comment tags to slowly add one small chunk at a time back in to what gets evaluated. Then you can pinpoint which part of your code crashes it.Just a guess.... But if you comment out everything via [!]...[/!] and it still crashes then you know it is not that code which is commented out.-JohnSteven Jarvis wrote:> I'm sending the following URL to WebStar 4.2: > > https://www.nwaonline.net/ClassifiedsOnline/ShoppingCart.tpl?command=add&car > t=31735243594949&db=adstorage.db&sku=31735243594949 > > cart and sku are entered via the variables (i.e, [cart], and [sku] which is > a field in the adstorage.db). > > Every time it tries to evaluate this URL, WebStar crashes! > > I've tried it via http instead of https to see if the problem was the SSL, > but it still crashed. > > This is an online classifieds app where the customer generates the ad, which > is stored in the adstorage.db where SKU=[cart]. Then, on a separate page, > there is a search that brings up the ad info by doing a search on > sku=[cart]. There is an Add to Shopping Cart link where the above URL is in > the href. > > Everything works until I get to the add command in the URL, and that's when > WebStar goes down. > > I've tried manually changing (in the db and in the URL) the sku to a > different number than the cart, but that doesn't help. > > I'm having a problem that my price isn't getting entered properly when I > append to the adstorage.db. The price shows up as a literal [__ad_cost]. I > just need to debug where it gets appended. > > Even if I enter the price manually (then flush the db) before entering the > URL, it still crashes. > > Any help or advice would be appreciated. > > Thanks! > > Steve > > ------------------------------------------------ > Steven Jarvis > Web Developer > sjarvis@nwaonline.net > > Morning News of Northwest Arkansas > http://www.nwaonline.net > ------------------------------------------------ > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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: [add] context causing WebStar to crash! (John Butler 2000)
  2. [add] context causing WebStar to crash! (Steven Jarvis 2000)
I would guess it is some code in your ShoppingCart.tpl. Try commenting out all the webcat code on that page , and then changing the position of those webcat comment tags to slowly add one small chunk at a time back in to what gets evaluated. Then you can pinpoint which part of your code crashes it.Just a guess.... But if you comment out everything via [!]...[/!] and it still crashes then you know it is not that code which is commented out.-JohnSteven Jarvis wrote:> I'm sending the following URL to WebStar 4.2: > > https://www.nwaonline.net/ClassifiedsOnline/ShoppingCart.tpl?command=add&car > t=31735243594949&db=adstorage.db&sku=31735243594949 > > cart and sku are entered via the variables (i.e, [cart], and [sku] which is > a field in the adstorage.db). > > Every time it tries to evaluate this URL, WebStar crashes! > > I've tried it via http instead of https to see if the problem was the SSL, > but it still crashed. > > This is an online classifieds app where the customer generates the ad, which > is stored in the adstorage.db where SKU=[cart]. Then, on a separate page, > there is a search that brings up the ad info by doing a search on > sku=[cart]. There is an Add to Shopping Cart link where the above URL is in > the href. > > Everything works until I get to the add command in the URL, and that's when > WebStar goes down. > > I've tried manually changing (in the db and in the URL) the sku to a > different number than the cart, but that doesn't help. > > I'm having a problem that my price isn't getting entered properly when I > append to the adstorage.db. The price shows up as a literal [__ad_cost]. I > just need to debug where it gets appended. > > Even if I enter the price manually (then flush the db) before entering the > URL, it still crashes. > > Any help or advice would be appreciated. > > Thanks! > > Steve > > ------------------------------------------------ > Steven Jarvis > Web Developer > sjarvis@nwaonline.net > > Morning News of Northwest Arkansas > http://www.nwaonline.net > ------------------------------------------------ > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ John Butler

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:

Or Operator (2005) More than one db with the same namn (was: WC2f3) (1997) Sku numbers (1997) Question from a Neebie (2000) [Lookup] on secure page not returning anything (2000) Secure Web Server (1999) Lookup Notfound (1998) Listfiles (1998) RED QUESTION MARKS AGAIN (1999) RE: [shownext] support - MacOS (1997) [Q] Novice's question (1997) Formatting ModDate (2000) WC2b12: Yes, Formulas.db is for real (1997) passing large amount of text in post form (2005) Help name our technology! I found it (1997) Forwarding Orders Via Email (1998) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) WebCat2.0 [format thousands .0f] no go (1997) version history page for webcat on the SM site? (2000) Associative lookup style? + bit more (1997)