WeBid Bug Tracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000097WeBidBiddingpublic2009-10-16 16:252009-10-16 18:03
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version0.8.0 
Target VersionFixed in Version0.8.2 
Summary0000097: Buy Now last item bug
DescriptionThere is a bug in buy_now.php when a person buys a Buy Now item and that is the last item in the auction (ie. no more items to sell in that auction).

In this specific case buy_now.php calls cron.php at the end of that case. Unfortunately, cron.php uses the same variable name, $Auction, as is used in buy_now.php, but for a different purpose, resulting in the rest of the buy_now.php script to use an invalid $Auction variable.

This bug manifests itself on the confirmation page after the user has committed to buying the item and the confirmation page has an empty item title, amount, etc.

I fixed this by commenting out the include to cron.php - cron will be run again soon enough and it doesn't seem to be needed to run right then.

ie. find the line that says

include 'cron.php';

and comment it out.

This may only be a bug in the case where you don't run cron on a regular basis, but have the system run cron everytime someone hits the index page.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
renlok (administrator)
2009-10-16 18:03
edited on: 1970-01-01 00:00

old & duplicate bug just update the version your running

- Issue History
Date Modified Username Field Change
2015-04-01 13:17 renlok New Issue
2015-04-01 13:17 renlok import_id => 96
2015-04-01 13:17 renlok Date Submitted 2015-04-01 13:17 => 2009-10-16 16:25
2015-04-01 13:17 renlok Last Update 2015-04-01 13:17 => 2009-10-16 18:03

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker