USANet Creations
Users Support and Discussion Areas

NOTE: Always state the software package you have
when asking questions so you will get the correct answer,
as it does make a big difference in the answers you'll get!

| Main Site Home Page | Forums Home Page |

Subject: "Total Items Sold"   Previous Topic | Next Topic
nonePrinter-friendly copy    
Conferences MakeBid Auction updates Topic #529
Reading page 1 of 1 pages
Arduino_dog
Member since Dec-9-11
53 posts, Rate this user
Apr-02-12, 06:57 PM (CST)
Click to view user profileClick to add this user to your buddy list  
"Total Items Sold"
 
   Hi All

First all I have setup test auction site on my sever for testing changes that I do before I load on the main site. I was following this post by Richard

http://www.usanetcreations.com/dcforum/DCForumID3/133.html

I was doing some test dutch auctions seeing how it works. It came up with the following: Total Items Sold: (0.01 ).

Why its showing up like that? Should it be like this (1)?

I hope I explained things well enough for you guys to understand what I'm talking about.

Thanks for your time and help

Scott


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Richardadmin click here to view user rating
Charter Member
2036 posts, 11 feedbacks, 21 points
Apr-03-12, 01:14 AM (CST)
Click to view user profileClick to add this user to your buddy list  
1. "RE: Total Items Sold"
 
   These lines you added to the auction.pl file under the sub procdutchbid { are incorrect

$totalsold = ($totalsold + $dutchpricexqty);
open(SOLDCOUNT, ">$config{'basepath'}$config{'solditemscount'}/solditemscount.dat");
eval { flock(SOLDCOUNT, 2); seek(SOLDCOUNT, 0, 2); } if $config{flock};
print(SOLDCOUNT "$totalsold\n");
close(SOLDCOUNT);


Uses these corrected lines:


$totalsold = ($totalsold + $dutchoqty);
open(SOLDCOUNT, ">$config{'basepath'}$config{'solditemscount'}/solditemscount.dat");
eval { flock(SOLDCOUNT, 2); seek(SOLDCOUNT, 0, 2); } if $config{flock};
print(SOLDCOUNT "$totalsold\n");
close(SOLDCOUNT)


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Arduino_dog
Member since Dec-9-11
53 posts, Rate this user
Apr-03-12, 06:04 PM (CST)
Click to view user profileClick to add this user to your buddy list  
2. "RE: Total Items Sold"
 
   Thanks. Its works just fine now.

Thanks again

Scott


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote


Conferences | Topics | Previous Topic | Next Topic
Rate this topic Rate this topic