Not just another Perl script
Welcome, Guest. Please Login or Register

If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.

The forums are protected by
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.

<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components


Pages: 1 2 
No such file or directory at eAuction.pl line 2386 (Read 907 times)
eAuction User

I love Perl

Posts: 14

No such file or directory at eAuction.pl line 2386
07/17/05 at 21:54:55
Did a fresh, new installation, as is, out of the zip file.
Ran the test and let it finish (test files auot-deleted).
Then Registered 2 users.
Posted an item.
Then made one bid at the Buy-It-Now price.
Got the usual message confirming my bid amount (and my bid also closed the item, that is, I won the bidding) and beneath it I
Got the following error message
No such file or directory at eAuction.pl line 2386.
No such file or directory

Line 2386 is:: unlink "$config{'basepath'}$form{'ITEM'}_lock.dat" or die $!;
There is a lock.dat file in the "3eAuction161" non-accesible directory.
I continue to get the identical error message with other items I post.  The eAuction bidding process works as it should and a Buy-It-Now bid wins the item and closes it, but the error message is probably very confusing for non experienced bidders.

I also duplicated what I did above on Dieter's V 1.6.2 test site; that is posted an item and bid against myself, bidding the Buy-It-Now price on the first bid, but was not presented the error message.

One note, I am running two separate eAuctions, that is I have two cgi-bin files with different name (eAuction161 and 2eAuction161) , 2 non-accessible web directories with different names, but both share the same image directories.

Any suggestions as to cause and how to eliminate woudl be valued. I have seen some threads on similar error messages but nothing that was helpful to me with this problem.

Back to top
« Last Edit: 07/18/05 at 01:57:38 by mars22 »  

View Profile   IP Logged
Dieter Werner

Dipl. Paranoiac ®

Posts: 1161
Gender: male
Re: No such file or directory at eAuction.pl line
Reply #1 - 07/18/05 at 12:02:25
Yes, that's a bug ...
I didn't consider that the first bid could be a Buy-It-Now bid.

- search eAuction.pl for Code:
sub proc_bid 

- scroll down to the end of the subroutine
- replace the lines Code:
        close LOCK;
       unlink "$config{'basepath'}$form{'ITEM'}_lock.dat" or die $!; 

with this Code:
    -e "$config{'basepath'}$form{'ITEM'}_lock.dat" && do {
       close LOCK;
       unlink "$config{'basepath'}$form{'ITEM'}_lock.dat" or die $!;

Back to top

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!

Greetings from Germany
Dieter Werner

View Profile | WWW   IP Logged
eAuction Expert

I love Perl

Posts: 149

Re: No such file or directory at eAuction.pl line
Reply #2 - 07/18/05 at 16:28:14

Error problem eliminated.
Thank you for your professional help once again.


Back to top

View Profile   IP Logged
Pages: 1 2 

If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.

1 is being poor and 10 is being excellent



AccessControl - Members Only