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 (96978605, 1, 'bcdad97781ca3345892dd7d5bbc63983', 'KID_HISTORY_CURRENT', '/kategorie-3/kancelarsky-papir/barevne-papiry-1164', 6, 1793919826)"
$error = "1062: Duplicate entry '96978605' 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