Warning (512): SQL Error: 1062: Duplicate entry '96404056' for key 'PRIMARY' [CORE/cake/libs/model/datasources/dbo_source.php, line 684]Code |
Context $out = null;
if ($error) {
trigger_error('<span style="color:Red;text-align:left"><b>' . __('SQL Error:', true) . "</b> {$this->error}</span>", E_USER_WARNING);
$sql = "INSERT INTO `basket` (`id`, `eshop_id`, `sessionid`, `productid`, `nazev`, `baseprice`, `vat`, `itemprice`, `itemtime`, `user_id`, `amount`, `txvalue`) VALUES (96404056, 2, 'ea5f930b9e96215a0e2723ab04a95b3e', 20777, 'Obálka bublinková F 220x340 10ks', 90, 21, 108.900000, 1792462280, 0, 1, '')"
$error = "1062: Duplicate entry '96404056' for key 'PRIMARY'"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboSource::create() - CORE/cake/libs/model/datasources/dbo_source.php, line 752
Model::save() - CORE/cake/libs/model/model.php, line 1343
BasketController::additem() - APP/controllers/basket_controller.php, line 236
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 213
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 180
Object::requestAction() - CORE/cake/libs/object.php, line 95
Eshop::drawBasket() - APP/webroot/eshop.php, line 6368
include - APP/views/basket/display.ctp, line 24
View::_render() - CORE/cake/libs/view/view.php, line 731
View::render() - CORE/cake/libs/view/view.php, line 426
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 216
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 180
EcoreDispatcher::dispatch() - APP/webroot/ecoredispatcher.php, line 83
Query: INSERT INTO `basket` (`id`, `eshop_id`, `sessionid`, `productid`, `nazev`, `baseprice`, `vat`, `itemprice`, `itemtime`, `user_id`, `amount`, `txvalue`) VALUES (96404056, 2, 'ea5f930b9e96215a0e2723ab04a95b3e', 20777, 'Obálka bublinková F 220x340 10ks', 90, 21, 108.900000, 1792462280, 0, 1, '')