View Single Post
  #6 (permalink)  
Old 05-20-06, 01:01 AM
ThaiAuto ThaiAuto is offline
New Member
 
Join Date: May 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Wink

Both errrors come from the field name out
try to change it to be, for example, exout then your .sql file line containing out will be like this
`exout` tinyint(4) NOT NULL default '0',

Then the auctiondetail.php line 549 will become

$getBidderId=mysql_query("SELECT * FROM probid_bids WHERE auctionid='".$auctionDetails['id']."' AND exout=0 AND invalid=0 ORDER BY id DESC");

And the bidhistory.php wil become
Line 55,56
$getBidHistory = mysql_query("SELECT h.* FROM probid_bids_history h, probid_bids b WHERE
h.auctionid='".$_GET['id']."' AND h.bidid=b.id ORDER BY b.exout ASC, h.id DESC");


Line 64
$isOut = getSqlField("SELECT exout FROM probid_bids WHERE id='".$bidHistory['bidid']."'","exout");

Line 73
echo (getSqlField("SELECT rpwinner FROM probid_bids WHERE id='".$bidHistory['bidid']."'","rpwinner")>0&&getSqlField("SELECT exout FROM probid_bids WHERE id='".$bidHistory['bidid']."'","exout")!=1) ? "[ <span class=greenfont>$lang[fixedpricewinner]</span> ]" : "";

Please let me know the result too.
Reply With Quote