Code |
Context
if ($this->error) {
$this->showQuery($sql);
$sql = "
INSERT INTO banners_log (banner_id, type, created) VALUES (25, 'view', NOW())"
$error = "1213: Deadlock found when trying to get lock; try restarting transaction"
$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::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 355
Model::query() - CORE/cake/libs/model/model.php, line 2489
AppModel::query() - APP/app_model.php, line 92
Banner::setBanners() - APP/models/banner.php, line 58
AppController::beforeRender() - APP/app_controller.php, line 28
Controller::render() - CORE/cake/libs/controller/controller.php, line 863
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 85