Problema con phpbb auction
-
Ciao a tuti. spero di spiegarmi bene.
allora questo e l errore a cui non trovo la soluzione:Could not insert offer
DEBUG MODE
SQL Error : 1064 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 ' 123,
INSERT INTO phpbb_auction_offer (FK_auction_offer_room_id, FK_auction_offer_user_id, auction_offer_title, auction_offer_text, auction_offer_time_start, auction_offer_time_stop, auction_offer_price_start, auction_offer_special, auction_offer_on_top, auction_offer_bold, auction_offer_shipping_price, auction_offer_picture, auction_offer_paid, auction_offer_direct_sell_price, auction_offer_sellers_location, auction_offer_accepted_payments, auction_offer_bid_increase ) VALUES (10, 2, '222', '2222', 1222127435, , 123, 0, 0, 0, 0, '', 0, 0 , '', '', 0.10)
Line : 703
File : d:\softairboom.it\softairboom.it\systema\auction_offer.phpil numero segnato sopra in rosso, cambia a seconda del prezzo di partenza che inserisco.Lo vediamo poi riportato anche in blu sotto
penso che questo sia il codice della pagina che ha un errore, ma non ne sono sicuro:
$sql = "INSERT INTO " . AUCTION_ACCOUNT_TABLE . "
(fk_auction_account_creditor_id,
fk_auction_account_debitor_id,
auction_account_auction_amount,
auction_account_amount_date,
fk_auction_offer_id,
auction_account_action)
VALUES
(" . 2 . ",
" . $userdata['user_id']. ",
" . $HTTP_POST_VARS['auction_offer_amount'] . ",
" . time() . ",
" . $offer_id . ",
'" . ACTION_INITIAL . "')";Sapete mica aiutarmi?
grazie in anticipo.
gio. -
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi