Why did this copyfile stop working?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55881
interpreted = N
texte = Mac OS X 10.3.2, Apache/1.3.28 (and iTools 7.2 Apache/1.3.29), WebDNA 4.5.1Why would my copyfile stop working?This *had* been working for a couple months after it was moved to a new main(iTools) server. When it stopped, I tried it on the development server tofind it fail there too.This is what the code looks like when printed to the screen. The waitforfilewas a recent addition, thinking perhaps the delete took place before thecopy finished (when this was working, there was no waitforfile), but all itdid was add a 30-second wait for the timeout to trip.[copyfile from=*/Library/WebServer/Documents/data store/shoppingcarts/1075830078250&to=*/Library/WebServer/Documents/data store/cartStorage/1075830078250][waitforfile file=*/Library/WebServer/Documents/data store/cartStorage/1075830078250][deletefile file=*/Library/WebServer/Documents/data store/shoppingcarts/1075830078250][/waitforfile]The [deletefile] *does* work, so I'm left with no copy and no original.There must have been a reason I didn't use [movefile] a year ago, but when Itry it now, it also doesn't work (which may have been the reason).No permission flags have changed that I'm aware of, but I'm getting noerrors in the code of the page and the rest of the site handlesreading/writing to carts and reading/writing other files in that /data storedirectory.--------Follow up:The existing code worked correctly today for an order, with no changes made.It looks like its always worked sporadically, we've just been in a longnon-working spell.A sequential number gets prepended to each copied cart. This is how reliablethe copy operation has been:699, 703, 708, 724, 735, 743, 751, 764, 765, 766, 769, 770, 777, 792We're also getting random garbage appended to the file names of many of thecopied carts:1068241394548ceNumber106848440330490ndex=21070052431713881heck.incl10728996861835888r&lookInField=ID&return10731673592010851mber107332663552750Number1074303957116302CreditThis is looking less like a coding issue and more of an underlying problemwith the program. Any ideas on a direction to go to clear this up? Going to5.0 isn't on the table.Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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:
Mac OS X 10.3.2, Apache/1.3.28 (and iTools 7.2 Apache/1.3.29), WebDNA 4.5.1Why would my copyfile stop working?This *had* been working for a couple months after it was moved to a new main(iTools) server. When it stopped, I tried it on the development server tofind it fail there too.This is what the code looks like when printed to the screen. The waitforfilewas a recent addition, thinking perhaps the delete took place before thecopy finished (when this was working, there was no waitforfile), but all itdid was add a 30-second wait for the timeout to trip.[copyfile from=*/Library/WebServer/Documents/data store/shoppingcarts/1075830078250&to=*/Library/WebServer/Documents/data store/cartStorage/1075830078250][waitforfile file=*/Library/WebServer/Documents/data store/cartStorage/1075830078250][deletefile file=*/Library/WebServer/Documents/data store/shoppingcarts/1075830078250][/waitforfile]The [deletefile] *does* work, so I'm left with no copy and no original.There must have been a reason I didn't use [movefile] a year ago, but when Itry it now, it also doesn't work (which may have been the reason).No permission flags have changed that I'm aware of, but I'm getting noerrors in the code of the page and the rest of the site handlesreading/writing to carts and reading/writing other files in that /data storedirectory.--------Follow up:The existing code worked correctly today for an order, with no changes made.It looks like its always worked sporadically, we've just been in a longnon-working spell.A sequential number gets prepended to each copied cart. This is how reliablethe copy operation has been:699, 703, 708, 724, 735, 743, 751, 764, 765, 766, 769, 770, 777, 792We're also getting random garbage appended to the file names of many of thecopied carts:1068241394548ceNumber106848440330490ndex=21070052431713881heck.incl10728996861835888r&lookInField=ID&return10731673592010851mber107332663552750Number1074303957116302CreditThis is looking less like a coding issue and more of an underlying problemwith the program. Any ideas on a direction to go to clear this up? Going to5.0 isn't on the table.Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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/
Rob Marquardt
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:
WebDNA-Talk Digest mode broken (1997)
Help! WebCat2 bug (1997)
Web Catalog 2 demo (1997)
ANNOUNCE: FREE ProcessWatch Webmaster utility (1998)
syntax question, not in online refernce (1997)
Math with Time (1997)
WebStar Secure on other machine (1997)
Re2: frames & carts (1997)
newbie question about zip code search (2003)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Protect (1997)
Error Lob.db records error message not name (1997)
FYI: virus alert (1996)
Prevent Caching js Files (2003)
Location of Browser Info.txt file (1997)
WebCatalog Q & A pages (1997)
WebCommerce: Folder organization ? (1997)
Emailer Problem (1999)
shipcost (1997)
Cannot get subtotal to work (1997)