Re: Orderfile
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61098
interpreted = N
texte = It is likely a problem with file access, as Donovan had mentioned. The =WebDNA engine will open the cart files for write access, as customers =make changes to their cart. So a separate thread may not be able gain =read access to all the cart files at once. You can try this small =change...[orderfile file=3D/ShoppingCarts/[filename]]....though it will likely have the same results. If you have centralized =the WebDNA code that adds and removes items from the customers cart, it =might be better to just add a few lines of code to append the newly =added, or removed, sku to a database to track customer activity. Or you =can add code to test for an orderfile error, and build a table of cart =numbers to 'retry', on a subsequent pass.-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfAlan WhiteSent: Monday, February 21, 2005 03:29 AMTo: WebDNA TalkSubject: OrderfileHi EveryoneI am currently trying to figure out why I am getting the following=20results whilst running the following code on my ShoppingCarts folder:-THE CODE=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D[ListFiles path=3D/ShoppingCarts]
[filename]
[orderfile cart=3D[filename]] [lineitems] - [sku]
[/lineitems][/orderfile]
[/ListFiles]THE RESULTS=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D110655516716261771 Error: Can't open order file. Ignoring [OrderFile] contextle]=20110655516816261810 Error: Can't open order file. Ignoring [OrderFile] contextle]=20110655517416261876 Error: Can't open order file. Ignoring [OrderFile] contextle]=20110897241117090817110897241517090909110897241917090959110897242717091013110897242817091051It appears that some files are being found yet some files are not. Can=20anyone give me an explanation of why this might be happening? Also, any =idea why there is a typo in the error or am I missing something?TIAAlan-------------------------------------------------------------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/-------------------------------------------------------------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 is likely a problem with file access, as Donovan had mentioned. The =WebDNA engine will open the cart files for write access, as customers =make changes to their cart. So a separate thread may not be able gain =read access to all the cart files at once. You can try this small =change...[orderfile file=3D/ShoppingCarts/[filename]]....though it will likely have the same results. If you have centralized =the WebDNA code that adds and removes items from the customers cart, it =might be better to just add a few lines of code to append the newly =added, or removed, sku to a database to track customer activity. Or you =can add code to test for an orderfile error, and build a table of cart =numbers to 'retry', on a subsequent pass.-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfAlan WhiteSent: Monday, February 21, 2005 03:29 AMTo: WebDNA TalkSubject: OrderfileHi EveryoneI am currently trying to figure out why I am getting the following=20results whilst running the following code on my ShoppingCarts folder:-THE CODE=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D[ListFiles path=3D/ShoppingCarts][filename]
[orderfile cart=3D[filename]] [lineitems] - [sku]
[/lineitems][/orderfile]
[/ListFiles]THE RESULTS=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D110655516716261771 Error: Can't open order file. Ignoring [orderfile] contextle]=20110655516816261810 Error: Can't open order file. Ignoring [orderfile] contextle]=20110655517416261876 Error: Can't open order file. Ignoring [orderfile] contextle]=20110897241117090817110897241517090909110897241917090959110897242717091013110897242817091051It appears that some files are being found yet some files are not. Can=20anyone give me an explanation of why this might be happening? Also, any =idea why there is a typo in the error or am I missing something?TIAAlan-------------------------------------------------------------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/-------------------------------------------------------------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/
"Scott Anderson"
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:
Netscape 3.01 can't see db in form (1997)
WebCatalog can't find database (1997)
please unsubscribe me! (2000)
sort problems....bug or brain fart? (1997)
Catalogs and W* (1996)
[date format] w/in sendmail (1997)
Webcatalog/NT dbserver crashing. (2000)
WebCat2 - [include] tags (1997)
Post size Limit? (1998)
protect tag not working (1998)
Automated FTP from Shell (2004)
Passing [quantity] (2000)
setting cookies for another domain? (2002)
Targeted Redirect (1999)
Not sending email !!! (2002)
This list needs a digest: rant, rave... (1997)
[cart] Taxrate - seriously .. (2002)
Test (2003)
wild question (1998)
TCP/IP connect (1998)