Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY `Product`.`sira` ASC LIMIT 4' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 526]
Code |
Context$sql = "SELECT `Product`.`id`, `Product`.`company_id`, `Product`.`home`, `Product`.`productcategory_id`, `Product`.`sira`, `Product`.`title`, `Product`.`title2`, `Product`.`title3`, `Product`.`title_seo`, `Product`.`url`, `Product`.`description`, `Product`.`gdesc`, `Product`.`keywords`, `Product`.`body`, `Product`.`note`, `Product`.`image`, `Product`.`created`, `Product`.`modified`, `Productcategory`.`id`, `Productcategory`.`sira`, `Productcategory`.`company_id`, `Productcategory`.`productsection_id`, `Productcategory`.`title`, `Productcategory`.`title_en`, `Productcategory`.`title_ru`, `Productcategory`.`title_sa`, `Productcategory`.`link`, `Productcategory`.`url`, `Productcategory`.`type`, `Productcategory`.`description`, `Productcategory`.`keywords`, `Productcategory`.`body`, `Productcategory`.`image`, `Productcategory`.`created`, `Productcategory`.`modified`, `Productcategory`.`sort` FROM `products` AS `Product` LEFT JOIN `productcategories` AS `Productcategory` ON (`Product`.`productcategory_id` = `Productcategory`.`id`) where `Product`.`productcategory_id`= ORDER BY `Product`.`sira` ASC LIMIT 4"
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY `Product`.`sira` ASC LIMIT 4' at line 1"
$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::findAll() - CORE/cake/libs/model/model.php, line 2960
IcerikController::detay() - APP/controllers/icerik_controller.php, line 185
Object::dispatchMethod() - CORE/cake/libs/object.php, line 119
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 87
Query: SELECT `Product`.`id`, `Product`.`company_id`, `Product`.`home`, `Product`.`productcategory_id`, `Product`.`sira`, `Product`.`title`, `Product`.`title2`, `Product`.`title3`, `Product`.`title_seo`, `Product`.`url`, `Product`.`description`, `Product`.`gdesc`, `Product`.`keywords`, `Product`.`body`, `Product`.`note`, `Product`.`image`, `Product`.`created`, `Product`.`modified`, `Productcategory`.`id`, `Productcategory`.`sira`, `Productcategory`.`company_id`, `Productcategory`.`productsection_id`, `Productcategory`.`title`, `Productcategory`.`title_en`, `Productcategory`.`title_ru`, `Productcategory`.`title_sa`, `Productcategory`.`link`, `Productcategory`.`url`, `Productcategory`.`type`, `Productcategory`.`description`, `Productcategory`.`keywords`, `Productcategory`.`body`, `Productcategory`.`image`, `Productcategory`.`created`, `Productcategory`.`modified`, `Productcategory`.`sort` FROM `products` AS `Product` LEFT JOIN `productcategories` AS `Productcategory` ON (`Product`.`productcategory_id` = `Productcategory`.`id`) where `Product`.`productcategory_id`= ORDER BY `Product`.`sira` ASC LIMIT 4
404 - Sayfa Bulunamadı
Sayfa Bulunamadı