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 'setDisplayField' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
$sql = "setDisplayField"
$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 'setDisplayField' at line 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 364
Model::call__() - CORE/cake/libs/model/model.php, line 502
Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 50
News::setDisplayField() - APP/controllers/cms_controller.php, line 753
CmsController::beforeFilter() - APP/controllers/cms_controller.php, line 753
AppController::startupProcess() - APP/app_controller.php, line 969
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 98
Query: setDisplayField
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 'bindOnTheFly' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
$sql = "bindOnTheFly"
$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 'bindOnTheFly' at line 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 364
Model::call__() - CORE/cake/libs/model/model.php, line 502
Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 50
News::bindOnTheFly() - APP/app_controller.php, line 2114
AppController::_protectedBindOnTheFly() - APP/app_controller.php, line 2114
AppController::__privateBeforeFilterSetSourceAndBindModelWithBelongsToRelationship() - APP/app_controller.php, line 2105
AppController::beforeFilter() - APP/app_controller.php, line 908
CmsController::beforeFilter() - APP/controllers/cms_controller.php, line 754
AppController::startupProcess() - APP/app_controller.php, line 969
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 98
Query: bindOnTheFly
Warning (2): Invalid argument supplied for foreach() [APP/app_controller.php, line 2119]
AppController::_protectedBindOnTheFly() - APP/app_controller.php, line 2119
AppController::__privateBeforeFilterSetSourceAndBindModelWithBelongsToRelationship() - APP/app_controller.php, line 2105
AppController::beforeFilter() - APP/app_controller.php, line 908
CmsController::beforeFilter() - APP/controllers/cms_controller.php, line 754
AppController::startupProcess() - APP/app_controller.php, line 969
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 98
Query: bindOnTheFly
Query: bindOnTheFly
Warning (512): SQL Error: 1052: Column 'id' in where clause is ambiguous [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
$sql = "SELECT `News`.`id`, `News`.`catalog_id`, `News`.`title`, `News`.`briefdescription`, `News`.`description`, `News`.`fastsearch`, `News`.`youtube_url`, `News`.`published`, `News`.`archived`, `News`.`counter_read`, `News`.`created`, `News`.`modified`, `News`.`deleted`, `News`.`owncategory`, `News`.`itemsorderowncategory_id`, `News`.`enabled`, `News`.`enabledalways`, `News`.`enabledstartalwaysdate`, `News`.`enabledendalwaysdate`, `News`.`author_id`, `News`.`source_id`, `News`.`creator_id`, `News`.`modifier_id`, `News`.`test_id`, `News`.`count`, `Catalog`.`id`, `Catalog`.`catalogcontent_count`, `Catalog`.`model`, `Catalog`.`model_id`, `Catalog`.`thetable`, `Catalog`.`created`, `Catalog`.`modified`, `Catalog`.`creator_id`, `Catalog`.`modifier_id` FROM `news` AS `News` LEFT JOIN `catalogs` AS `Catalog` ON (`News`.`catalog_id` = `Catalog`.`id`) WHERE `id` = 3935 "
$error = "1052: Column 'id' in where clause is ambiguous"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 823
Model::find() - CORE/cake/libs/model/model.php, line 2162
NewsController::printn() - APP/controllers/news_controller.php, line 19
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 98
Query: SELECT `News`.`id`, `News`.`catalog_id`, `News`.`title`, `News`.`briefdescription`, `News`.`description`, `News`.`fastsearch`, `News`.`youtube_url`, `News`.`published`, `News`.`archived`, `News`.`counter_read`, `News`.`created`, `News`.`modified`, `News`.`deleted`, `News`.`owncategory`, `News`.`itemsorderowncategory_id`, `News`.`enabled`, `News`.`enabledalways`, `News`.`enabledstartalwaysdate`, `News`.`enabledendalwaysdate`, `News`.`author_id`, `News`.`source_id`, `News`.`creator_id`, `News`.`modifier_id`, `News`.`test_id`, `News`.`count`, `Catalog`.`id`, `Catalog`.`catalogcontent_count`, `Catalog`.`model`, `Catalog`.`model_id`, `Catalog`.`thetable`, `Catalog`.`created`, `Catalog`.`modified`, `Catalog`.`creator_id`, `Catalog`.`modifier_id` FROM `news` AS `News` LEFT JOIN `catalogs` AS `Catalog` ON (`News`.`catalog_id` = `Catalog`.`id`) WHERE `id` = 3935