Create a product, type auction. I then go back to the front page and get this error at the top:

warning: implode(): Bad arguments. in /home/netmon/spatz/public_html/modules/ecommerce/contrib/auction/auction.module on line 239.

followed by

user error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
query: SELECT COUNT(t.txnid) FROM ec_transaction_product tp, ec_transaction t WHERE t.payment_status = 2 AND t.txnid = tp.txnid AND t.uid = 1 AND nid IN () in /home/netmon/spatz/public_html/includes/database.mysql.inc on line 66.
CommentFileSizeAuthor
#7 fix_no_bid.patch1.59 KBsime

Comments

stevenpatz’s picture

Priority: Normal » Critical
sime’s picture

Fixed for 4.7

sime’s picture

Status: Active » Closed (won't fix)

Actually I doubt anyone will fix this for 4.6.

stevenpatz’s picture

Status: Closed (won't fix) » Closed (fixed)

Oh well then.

sime’s picture

Status: Closed (fixed) » Active

I will try and fix this problem for you. Can you tell me the auction version you are using? (ie. what is the second line of text in the module after <?php in auction.module.

.s

stevenpatz’s picture

$Id: auction.module,v 1.10.2.2 2005/10/30 19:02:46 mathias Exp $ */

sime’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new1.59 KB

OK, here is a patch to try. Please let me know if it works and I'll commit.

sime’s picture

Status: Reviewed & tested by the community » Needs work

oops.

sime’s picture

Status: Needs work » Needs review

oops.... :-P

stevenpatz’s picture

Client no longer wants auctions, so I can't test this quite yet. thanks for looking into it.

stevenpatz’s picture

Looked through my notes and client may need this later. Applied the patch, and was able to create a product of type auction. Went to the front page and all was well. Placed a bid and all is well. This can be marked as fixed.

sime’s picture

thanks for testing, committed to 4.6

sime’s picture

Status: Needs review » Fixed

... and marking fixed

stevenpatz’s picture

Status: Fixed » Closed (fixed)