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 'AND `Project`.`slug` < 'e80_construction_of_tunnels_progon_przojna_pa' ORDER B' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 514]
$sql = "SELECT `Project`.`slug`, `Category`.`slug`, `Project`.`id` FROM `projects` AS `Project` LEFT JOIN `categories` AS `Category` ON (`Project`.`categories_id` = `Category`.`id`) LEFT JOIN `customers` AS `Customer` ON (`Project`.`customers_id` = `Customer`.`id`) WHERE `Project`.`categories_id`= AND `Project`.`slug` < 'e80_construction_of_tunnels_progon_przojna_pa' ORDER BY `Project`.`slug` DESC LIMIT 1"
$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 'AND `Project`.`slug` < 'e80_construction_of_tunnels_progon_przojna_pa' ORDER B' 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::findNeighbours() - CORE/cake/libs/model/model.php, line 2850
PagesController::projects() - APP/controllers/pages_controller.php, line 577
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 `Project`.`slug`, `Category`.`slug`, `Project`.`id` FROM `projects` AS `Project` LEFT JOIN `categories` AS `Category` ON (`Project`.`categories_id` = `Category`.`id`) LEFT JOIN `customers` AS `Customer` ON (`Project`.`customers_id` = `Customer`.`id`) WHERE `Project`.`categories_id`= AND `Project`.`slug` < 'e80_construction_of_tunnels_progon_przojna_pa' ORDER BY `Project`.`slug` DESC LIMIT 1
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 'AND `Project`.`slug` > 'e80_construction_of_tunnels_progon_przojna_pa' ORDER B' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 514]
$sql = "SELECT `Project`.`slug`, `Category`.`slug`, `Project`.`id` FROM `projects` AS `Project` LEFT JOIN `categories` AS `Category` ON (`Project`.`categories_id` = `Category`.`id`) LEFT JOIN `customers` AS `Customer` ON (`Project`.`customers_id` = `Customer`.`id`) WHERE `Project`.`categories_id`= AND `Project`.`slug` > 'e80_construction_of_tunnels_progon_przojna_pa' ORDER BY `Project`.`slug` ASC LIMIT 1"
$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 'AND `Project`.`slug` > 'e80_construction_of_tunnels_progon_przojna_pa' ORDER B' 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::_findNeighbors() - CORE/cake/libs/model/model.php, line 2129
Model::find() - CORE/cake/libs/model/model.php, line 1968
Model::findNeighbours() - CORE/cake/libs/model/model.php, line 2850
PagesController::projects() - APP/controllers/pages_controller.php, line 577
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 `Project`.`slug`, `Category`.`slug`, `Project`.`id` FROM `projects` AS `Project` LEFT JOIN `categories` AS `Category` ON (`Project`.`categories_id` = `Category`.`id`) LEFT JOIN `customers` AS `Customer` ON (`Project`.`customers_id` = `Customer`.`id`) WHERE `Project`.`categories_id`= AND `Project`.`slug` > 'e80_construction_of_tunnels_progon_przojna_pa' ORDER BY `Project`.`slug` ASC LIMIT 1
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 `Image`.`id` ASC' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 514]
$sql = "SELECT `Image`.`image`, `Image`.`id` FROM `images` AS `Image` WHERE `Image`.`model`='Project' AND `Image`.`foreign_key`= ORDER BY `Image`.`id` 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 `Image`.`id` 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::projects() - APP/controllers/pages_controller.php, line 580
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 `Image`.`image`, `Image`.`id` FROM `images` AS `Image` WHERE `Image`.`model`='Project' AND `Image`.`foreign_key`= ORDER BY `Image`.`id` ASC
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 'AND `I18n__description`.`locale` = 'el' ORDER BY `ProjectStatus`.`status_date`' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 514]
$sql = "SELECT `ProjectStatus`.`status_date`, `ProjectStatus`.`cost`, `I18n__description`.`content`, `ProjectStatus`.`id` FROM `project_statuses` AS `ProjectStatus` LEFT JOIN `project_status_i18ns` AS `I18n__description` ON (`ProjectStatus`.`id` = `I18n__description`.`foreign_key` AND `I18n__description`.`model` = 'ProjectStatus' AND `I18n__description`.`field` = 'description') LEFT JOIN `projects` AS `Project` ON (`ProjectStatus`.`projects_id` = `Project`.`id`) WHERE `ProjectStatus`.`projects_id`= AND `I18n__description`.`locale` = 'el' ORDER BY `ProjectStatus`.`status_date` 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 'AND `I18n__description`.`locale` = 'el' ORDER BY `ProjectStatus`.`status_date`' 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::projects() - APP/controllers/pages_controller.php, line 584
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 `ProjectStatus`.`status_date`, `ProjectStatus`.`cost`, `I18n__description`.`content`, `ProjectStatus`.`id` FROM `project_statuses` AS `ProjectStatus` LEFT JOIN `project_status_i18ns` AS `I18n__description` ON (`ProjectStatus`.`id` = `I18n__description`.`foreign_key` AND `I18n__description`.`model` = 'ProjectStatus' AND `I18n__description`.`field` = 'description') LEFT JOIN `projects` AS `Project` ON (`ProjectStatus`.`projects_id` = `Project`.`id`) WHERE `ProjectStatus`.`projects_id`= AND `I18n__description`.`locale` = 'el' ORDER BY `ProjectStatus`.`status_date` ASC