Jan 6, 2007, 6:17 AM
Post #1 of 5
Broken pipe stumps me
I have a set of scripts that write over a network drive (running windows) to a central location.
Problem is, ever since I upgraded to IE7 (which ive been avoiding for a while now) the following message appears in my error log:
cannot open file for saving table change at shopfloor.pl line 1234.
CGI: [C:\Perl\bin\Perl.exe shopfloor.pl terminal1&OK&520 ] URI: /POS/shopfloor.pl?terminal1&OK&520 Broken pipe
I have two subroutines affected by this error, and it only affects my personal laptop and connection, the two other machines running this program and on older versions of both windows and IE are fine.
the part of the script this error refers to is:
open (FILE, ">$savelocation/orders/$third.ord") or die "cannot open file for saving table change";
print FILE @data;
thats simple enough. basically, this routine opens up a flat file, changes some info in it and resaves it. If I create new order files it works fine from all machines, but this one in question is now 2 days old. all the information is in tact by the time it reaches this point so I cant see any problems that should be arising.
the file creation date is the only wildcard i can see.
Stumped. Any ideas?
veritas vos liberabit ~ The truth shall set you free