Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `ArticleCategory`.`lft` ASC' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 514]
$sql = "SELECT `ArticleCategory`.`name`, `ArticleCategory`.`slug`, `ArticleCategory`.`image`, `ArticleCategory`.`banner`, `I18n__name`.`content`, `ArticleCategory`.`id` FROM `article_categories` AS `ArticleCategory` LEFT JOIN `i18n` AS `I18n__name` ON (`ArticleCategory`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'ArticleCategory' AND `I18n__name`.`field` = 'name' AND `I18n__name`.`locale` = 'el') WHERE `ArticleCategory`.`published`=1 AND `ArticleCategory`.`parent_id`= ORDER BY `ArticleCategory`.`lft` ASC "
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `ArticleCategory`.`lft` ASC' at line 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 514
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 201
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 337
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 636
Model::find() - CORE/cake/libs/model/model.php, line 1956
Model::findAll() - CORE/cake/libs/model/model.php, line 2821
PagesController::articles() - APP/controllers/pages_controller.php, line 641
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 84
Query: SELECT `ArticleCategory`.`name`, `ArticleCategory`.`slug`, `ArticleCategory`.`image`, `ArticleCategory`.`banner`, `I18n__name`.`content`, `ArticleCategory`.`id` FROM `article_categories` AS `ArticleCategory` LEFT JOIN `i18n` AS `I18n__name` ON (`ArticleCategory`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'ArticleCategory' AND `I18n__name`.`field` = 'name' AND `I18n__name`.`locale` = 'el') WHERE `ArticleCategory`.`published`=1 AND `ArticleCategory`.`parent_id`= ORDER BY `ArticleCategory`.`lft` ASC
::[ Επικαιρότητα | Ένωση για την πατρίδα και τον λαό ]::
Ένωση για την πατρίδα και τον λαό - Επίσημος Ιστότοπος