Re: Purchase *file=* bug?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53364
interpreted = N
texte = Donovan Brooke wrote:> In thepage.html I am abble to do all the addlineitem, setlineitem> etc. with the "file=../shoppingcarts/[cart]" call. However,> when I do a "purchase file=../shoppingcarts/[cart]" the file doesn't> end up in the "orders" directory. It is not in the Pending/completed or> problems directories either.That's not the way that [purchase] works. If you look in the "WebCatalog Prefs" file, you will see the lines defining the location of the ShoppingCarts and Orders relative to the directory the current template is in (i.e. ./Orders). In other words, the default behavior _requires_ that the Orders directory be at the same level as the templates which call ?Purchase or [Purchase].If you want to have a different location for your Orders files, you can change the Prefs line, but this is a /global/ change for the server. We decided long ago to use ^/Orders (or the Globals/Orders directory) which we can then ensure is never located in a web-server accessible directory.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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:
Donovan Brooke wrote:> In thepage.html I am abble to do all the addlineitem, setlineitem> etc. with the "file=../shoppingcarts/[cart]" call. However,> when I do a "purchase file=../shoppingcarts/[cart]" the file doesn't> end up in the "orders" directory. It is not in the Pending/completed or> problems directories either.That's not the way that [purchase] works. If you look in the "WebCatalog Prefs" file, you will see the lines defining the location of the ShoppingCarts and Orders relative to the directory the current template is in (i.e. ./Orders). In other words, the default behavior _requires_ that the Orders directory be at the same level as the templates which call ?Purchase or [purchase].If you want to have a different location for your Orders files, you can change the Prefs line, but this is a /global/ change for the server. We decided long ago to use ^/Orders (or the Globals/Orders directory) which we can then ensure is never located in a web-server accessible directory.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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/
John Peacock
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:
Uh...can someone help me out with the b10? (1997)
SetHeader not Working (2006)
PageMaker/Quark to db (1999)
Formatting of email on NT (1998)
Email Problems on 4.0 (2000)
WebCat Admin access w/ClearlyHome p.i. (1997)
emailer (1997)
search engines (2001)
Request Time Out (1997)
Math (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Repost: Upload file limits (2000)
[OT] Unix question -solution?- (2002)
More on the email templates (1997)
WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998)
Error 11 (1996)
Grep Ampersands (2008)
[include] affect on filepaths for links? (1997)
The evolved Server Configuration Queston (2000)
Shipping Calculation Problem (1997)