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.| Comment | File | Size | Author |
|---|---|---|---|
| #7 | fix_no_bid.patch | 1.59 KB | sime |
Comments
Comment #1
stevenpatzComment #2
simeFixed for 4.7
Comment #3
simeActually I doubt anyone will fix this for 4.6.
Comment #4
stevenpatzOh well then.
Comment #5
simeI 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
Comment #6
stevenpatz$Id: auction.module,v 1.10.2.2 2005/10/30 19:02:46 mathias Exp $ */
Comment #7
simeOK, here is a patch to try. Please let me know if it works and I'll commit.
Comment #8
simeoops.
Comment #9
simeoops.... :-P
Comment #10
stevenpatzClient no longer wants auctions, so I can't test this quite yet. thanks for looking into it.
Comment #11
stevenpatzLooked 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.
Comment #12
simethanks for testing, committed to 4.6
Comment #13
sime... and marking fixed
Comment #14
stevenpatz