DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 527
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 203
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 338
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 222
DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 100
Model::schema() - CORE/cake/libs/model/model.php, line 930
Model::setSource() - CORE/cake/libs/model/model.php, line 785
Model::__construct() - CORE/cake/libs/model/model.php, line 439
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 147
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 510
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 464
CakeErrorController::__construct() - CORE/cake/libs/error.php, line 58
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 96
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Query: DESCRIBE `celebrities`
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 102]
DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 102
Model::schema() - CORE/cake/libs/model/model.php, line 930
Model::setSource() - CORE/cake/libs/model/model.php, line 785
Model::__construct() - CORE/cake/libs/model/model.php, line 439
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 147
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 510
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 464
CakeErrorController::__construct() - CORE/cake/libs/error.php, line 58
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 96
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Query: DESCRIBE `celebrities`
Query: DESCRIBE `celebrities`
Query: DESCRIBE `celebrities`
Query: DESCRIBE `celebrities`
Warning (512): MeioUploadBehavior Error: The field "file" doesn't exists in the model "Celebrity". [APP/plugins/meio_upload/models/behaviors/meio_upload.php, line 249]
// Check if given field exists if ($options['useTable'] && !$model->hasField($field)) { trigger_error(sprintf(__d('meio_upload', 'MeioUploadBehavior Error: The field "%s" doesn\'t exists in the model "%s".', true), $field, $model->alias), E_USER_WARNING);
MeioUploadBehavior::setup() - APP/plugins/meio_upload/models/behaviors/meio_upload.php, line 249
BehaviorCollection::attach() - CORE/cake/libs/model/behavior.php, line 303
BehaviorCollection::init() - CORE/cake/libs/model/behavior.php, line 252
Model::__construct() - CORE/cake/libs/model/model.php, line 448
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 147
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 510
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 464
CakeErrorController::__construct() - CORE/cake/libs/error.php, line 58
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 96
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Query: DESCRIBE `celebrities`
Warning (2): array_keys() expects parameter 1 to be array, boolean given [CORE/cake/libs/model/datasources/dbo_source.php, line 1683]
array_keys - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1683
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 629
Model::find() - CORE/cake/libs/model/model.php, line 2031
Celebrity::getRandomCelebrity() - APP/models/celebrity.php, line 61
AppController::beforeRender() - APP/app_controller.php, line 178
Controller::render() - CORE/cake/libs/controller/controller.php, line 763
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 396
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 184
Object::dispatchMethod() - CORE/cake/libs/object.php, line 125
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Warning (2): array_filter() expects parameter 1 to be array, null given [CORE/cake/libs/model/datasources/dbo_source.php, line 1687]
array_filter - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1687
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 629
Model::find() - CORE/cake/libs/model/model.php, line 2031
Celebrity::getRandomCelebrity() - APP/models/celebrity.php, line 61
AppController::beforeRender() - APP/app_controller.php, line 178
Controller::render() - CORE/cake/libs/controller/controller.php, line 763
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 396
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 184
Object::dispatchMethod() - CORE/cake/libs/object.php, line 125
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Warning (2): array_values() expects parameter 1 to be array, null given [CORE/cake/libs/model/datasources/dbo_source.php, line 1687]
array_values - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1687
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 629
Model::find() - CORE/cake/libs/model/model.php, line 2031
Celebrity::getRandomCelebrity() - APP/models/celebrity.php, line 61
AppController::beforeRender() - APP/app_controller.php, line 178
Controller::render() - CORE/cake/libs/controller/controller.php, line 763
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 396
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 184
Object::dispatchMethod() - CORE/cake/libs/object.php, line 125
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Warning (2): array_unique() expects parameter 1 to be array, null given [CORE/cake/libs/model/datasources/dbo_source.php, line 1751]
array_unique - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1751
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 629
Model::find() - CORE/cake/libs/model/model.php, line 2031
Celebrity::getRandomCelebrity() - APP/models/celebrity.php, line 61
AppController::beforeRender() - APP/app_controller.php, line 178
Controller::render() - CORE/cake/libs/controller/controller.php, line 763
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 396
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 184
Object::dispatchMethod() - CORE/cake/libs/object.php, line 125
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Query: DESCRIBE `celebrities`
Warning (2): array_unique() expects parameter 1 to be array, null given [CORE/cake/libs/model/datasources/dbo_source.php, line 1062]
array_unique - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1062
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 653
Model::find() - CORE/cake/libs/model/model.php, line 2031
Celebrity::getRandomCelebrity() - APP/models/celebrity.php, line 61
AppController::beforeRender() - APP/app_controller.php, line 178
Controller::render() - CORE/cake/libs/controller/controller.php, line 763
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 396
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 184
Object::dispatchMethod() - CORE/cake/libs/object.php, line 125
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Warning (2): implode() [function.implode]: Invalid arguments passed [CORE/cake/libs/model/datasources/dbo_source.php, line 1275]
implode - [internal], line ??
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1275
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1073
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 653
Model::find() - CORE/cake/libs/model/model.php, line 2031
Celebrity::getRandomCelebrity() - APP/models/celebrity.php, line 61
AppController::beforeRender() - APP/app_controller.php, line 178
Controller::render() - CORE/cake/libs/controller/controller.php, line 763
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 396
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 184
Object::dispatchMethod() - CORE/cake/libs/object.php, line 125
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
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 'FROM `celebrities` AS `Celebrity` WHERE `Celebrity`.`date_start` <= CURRENT_DA' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 527]
$sql = "SELECT FROM `celebrities` AS `Celebrity` WHERE `Celebrity`.`date_start` <= CURRENT_DATE() AND `Celebrity`.`date_end` > CURRENT_DATE() AND `Celebrity`.`published` = 1 ORDER BY RAND() 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 'FROM `celebrities` AS `Celebrity` WHERE `Celebrity`.`date_start` <= CURRENT_DA' at line 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 527
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 203
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 338
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 655
Model::find() - CORE/cake/libs/model/model.php, line 2031
Celebrity::getRandomCelebrity() - APP/models/celebrity.php, line 61
AppController::beforeRender() - APP/app_controller.php, line 178
Controller::render() - CORE/cake/libs/controller/controller.php, line 763
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 396
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 184
Object::dispatchMethod() - CORE/cake/libs/object.php, line 125
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Query: SELECT FROM `celebrities` AS `Celebrity` WHERE `Celebrity`.`date_start` <= CURRENT_DATE() AND `Celebrity`.`date_end` > CURRENT_DATE() AND `Celebrity`.`published` = 1 ORDER BY RAND() ASC LIMIT 1
Warning (2): Invalid argument supplied for foreach() [APP/models/celebrity.php, line 96]
function afterFind($results) { // Create a dateOnly pseudofield using date field. foreach ($results as $key => $val) {
$results = false
Celebrity::afterFind() - APP/models/celebrity.php, line 96
Model::__filterResults() - CORE/cake/libs/model/model.php, line 2277
Model::find() - CORE/cake/libs/model/model.php, line 2036
Celebrity::getRandomCelebrity() - APP/models/celebrity.php, line 61
AppController::beforeRender() - APP/app_controller.php, line 178
Controller::render() - CORE/cake/libs/controller/controller.php, line 763
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 396
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 184
Object::dispatchMethod() - CORE/cake/libs/object.php, line 125
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 212
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 148
[main] - APP/webroot/index.php, line 94
Missing Controller — Кто есть Кто в медицине
Missing Controller
Error: Sitemap.xmlController could not be found.
Error:
Create the class Sitemap.xmlController below in file: app/controllers/sitemap.xml_controller.php
<?php
class Sitemap.xmlController extends AppController {
var $name = 'Sitemap.xml';
}
?>
Notice:
If you want to customize this error message, create app/views/errors/missing_controller.ctp
Федеральный специализированный журнал «Кто есть Кто в медицине»