Context |
Code$sql = "UPDATE `cake_products` SET `rate` = 128 WHERE `id` IN (2457) "
$error = "1264: Out of range value for column 'rate' at row 1"
if (($this->debug || $error) && Configure::read() > 0) {
e("<p style = \"text-align:left\"><b>Query:</b> {$sql} ");
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
} else {
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 440
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 166
DboSource::update() - CORE/cake/libs/model/datasources/dbo_source.php, line 1276
Model::save() - CORE/cake/libs/model/model.php, line 1147
Model::saveField() - CORE/cake/libs/model/model.php, line 1046
ProductsController::view() - CORE/app/controllers/products_controller.php, line 164
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 84