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`, `nazev`, `txvalue`, `itemtype`, `itemtime`) VALUES (79774396, 1, '1e6b6eb969c2cd91430df28392daffc3', 'KID_HISTORY_CURRENT', '/kategorie/fotoalba-1140', 6, 1745547908)"
$error = "1062: Duplicate entry '79774396' 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
Eshop::setSessionOption() - APP/webroot/eshop.php, line 744
EcoreDispatcher::dispatch() - APP/webroot/ecoredispatcher.php, line 72
require - APP/webroot/index.php, line 125
[main] - CORE/index.php, line 57