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 thewebcat code on that page , and then changing the position of those webcat comment tagsto slowly add one small chunk at a time back in to what gets evaluated. Then you canpinpoint which part of your code crashes it.Just a guess.... But if you comment out everything via [!]...[/!] and it stillcrashes 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:
I would guess it is some code in your ShoppingCart.tpl. Try commenting out all thewebcat code on that page , and then changing the position of those webcat comment tagsto slowly add one small chunk at a time back in to what gets evaluated. Then you canpinpoint which part of your code crashes it.Just a guess.... But if you comment out everything via [!]...[/!] and it stillcrashes 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:
docs for WebCatalog2 (1997)
MacWEEK article help needed (1996)
[WebDNA] [OT] Mac Audit Software? (2009)
[FoundItems] solved - thanks (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
Multiple fields on 1 input (1997)
Thanks ! (1997)
Renaming DB fields (2000)
Sorting Numbers (1997)
japanese characters (1997)
Invisible file issue now a real 'bug' (1999)
Date Calulation (1997)
Running 2 two WebCatalog.acgi's (1996)
Formating Tables w/[founditems] (1998)
Beta Bug in prefs (1997)
Counting LineItems (2000)
Help Wanted - Stowe, Vermont (1999)
credit card services (1997)
UPDATE PROBLEM (1997)
[BoldWords] WebCat.acgib15Mac (1997)