On Sun, Mar 02, 2003 at 12:12:40AM -0500, Webmaster wrote:
> I'm installing your guestbook at:
> When testing, I receive the following message:
> open /web/writing/guestbook/guestbook.html.lck: No such file or
> directory at /home/sites/site53/web/cgi-bin/guestbook.pl line 704.
> I was looking through the code trying to figure out what that line is
> supposed to do, and I think it's this section causing the problem:
> my $lock = IO::File->new(">>$filename.lck") or die
> "open $filename.lck: $!";
> flock $lock, LOCK_EX or die "flock $filename: $!";
> Is there something that I may have done wrong when doing the
> configuration, or is there something wrong with that bit of code?
> Thanks for all of your help!
You have $guestbookreal set to:
$guestbookreal = '/web/writing/guestbook/guestbook.html';
You should have it set to:
$guestbookreal = '/home/sites/site53/web/writing/guestbook/guestbook.html';
... and you'll probably need to make a similar change to $guestlog.