Code |
Context$sql = "SELECT `AuthorsBook`.`id` FROM `authors_books` AS `AuthorsBook` WHERE `AuthorsBook`.`author_id` = 52 "
$error = "1054: Unknown column 'AuthorsBook.id' in 'field list'"
$out = null
$out = null;
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 526
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 202
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 337
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 654
Model::find() - CORE/cake/libs/model/model.php, line 2045
Model::_deleteLinks() - CORE/cake/libs/model/model.php, line 1847
Model::del() - CORE/cake/libs/model/model.php, line 1760
AuthorsController::admin_delete() - APP/controllers/authors_controller.php, line 56
CakeObject::dispatchMethod() - CORE/cake/libs/cake_object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 83