Notice (1024): Element Not Found: "Langbar".Elements/langbar.ctp [CORE/Cake/View/View.php, line 415]Code Context$name = str_replace('/', DS, $name);
$file = $plugin . 'Elements' . DS . $name . $this->ext;
trigger_error(__d('cake_dev', 'Element Not Found: %s', $file), E_USER_NOTICE);
$name = 'langbar' $data = array( 'block' => array( 'Block' => array( 'id' => '11', 'region_id' => '7', 'title' => 'Langbar', 'alias' => 'langbar', 'body' => '[element:langbar plugin="Langbar"]', 'show_title' => false, 'class' => '', 'status' => true, 'weight' => '7', 'element' => '', 'visibility_roles' => '', 'visibility_paths' => '', 'visibility_php' => '', 'params' => '', 'updated' => '2016-09-09 07:37:40', 'created' => '2016-09-09 07:34:50' ), 'Params' => array() ) ) $options = array( 'plugin' => '"Langbar"', 'callbacks' => false ) $file = '"Langbar".Elements/langbar.ctp' $plugin = '"Langbar".'View::element() - CORE/Cake/View/View.php, line 415 LayoutHelper::filterElements() - APP/Plugin/Croogo/View/Helper/LayoutHelper.php, line 378 LayoutHelper::filter() - APP/Plugin/Croogo/View/Helper/LayoutHelper.php, line 346 include - APP/Plugin/Blocks/View/Elements/block.ctp, line 14 View::_evaluate() - CORE/Cake/View/View.php, line 931 View::_render() - CORE/Cake/View/View.php, line 893 View::_renderElement() - CORE/Cake/View/View.php, line 1191 View::element() - CORE/Cake/View/View.php, line 408 RegionsHelper::blocks() - APP/Plugin/Blocks/View/Helper/RegionsHelper.php, line 68 include - APP/View/Themed/Heritage/Layouts/component-main-menu.ctp, line 397 include - APP/View/Themed/Heritage/Layouts/default.ctp, line 24 View::_evaluate() - CORE/Cake/View/View.php, line 931 View::_render() - CORE/Cake/View/View.php, line 893 View::renderLayout() - CORE/Cake/View/View.php, line 525 View::render() - CORE/Cake/View/View.php, line 470 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 221
Error: SQLSTATE[42000]: Syntax error or access violation: 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 'є Е.%' AND `Document`.`author_type` = 2) OR (`DocumentsCoauthor`.`name` LIKE '' at line 1
SQL Query: SELECT `Document`.`id`, `Document`.`name` FROM `fortecya`.`documents` AS `Document` LEFT JOIN `fortecya`.`documents_coauthors` AS `DocumentsCoauthor` ON (`Document`.`id` = `DocumentsCoauthor`.`document_id`) LEFT JOIN `fortecya`.`documents_persones` AS `DocumentsPersone` ON (`Document`.`id` = `DocumentsPersone`.`document_id`) WHERE ((`Document`.`author` LIKE '%Монгольф'є Е.%' AND `Document`.`author_type` = 2) OR (`DocumentsCoauthor`.`name` LIKE '%Монгольф'є Е.%') OR (`DocumentsPersone`.`name` LIKE '%Монгольф'є Е.%'))
Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_results = $query;
array()
$options += array('log' => $this->fullDebug);
$t = microtime(true);
$this->_result = $this->_execute($sql, $params);
'SELECT `Document`.`id`, `Document`.`name` FROM `fortecya`.`documents` AS `Document` LEFT JOIN `fortecya`.`documents_coauthors` AS `DocumentsCoauthor` ON (`Document`.`id` = `DocumentsCoauthor`.`document_id`) LEFT JOIN `fortecya`.`documents_persones` AS `DocumentsPersone` ON (`Document`.`id` = `DocumentsPersone`.`document_id`) WHERE ((`Document`.`author` LIKE '%Монгольф'є Е.%' AND `Document`.`author_type` = 2) OR (`DocumentsCoauthor`.`name` LIKE '%Монгольф'є Е.%') OR (`DocumentsPersone`.`name` LIKE '%Монгольф'є Е.%'))' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
if ($result = $this->execute($sql, array(), $params)) {
$out = array();
'SELECT `Document`.`id`, `Document`.`name` FROM `fortecya`.`documents` AS `Document` LEFT JOIN `fortecya`.`documents_coauthors` AS `DocumentsCoauthor` ON (`Document`.`id` = `DocumentsCoauthor`.`document_id`) LEFT JOIN `fortecya`.`documents_persones` AS `DocumentsPersone` ON (`Document`.`id` = `DocumentsPersone`.`document_id`) WHERE ((`Document`.`author` LIKE '%Монгольф'є Е.%' AND `Document`.`author_type` = 2) OR (`DocumentsCoauthor`.`name` LIKE '%Монгольф'є Е.%') OR (`DocumentsPersone`.`name` LIKE '%Монгольф'є Е.%'))' array() array()
$query = trim($this->generateAssociationQuery($model, null, null, null, null, $queryData, false, $null));
$resultSet = $this->fetchAll($query, $model->cacheQueries);
'SELECT `Document`.`id`, `Document`.`name` FROM `fortecya`.`documents` AS `Document` LEFT JOIN `fortecya`.`documents_coauthors` AS `DocumentsCoauthor` ON (`Document`.`id` = `DocumentsCoauthor`.`document_id`) LEFT JOIN `fortecya`.`documents_persones` AS `DocumentsPersone` ON (`Document`.`id` = `DocumentsPersone`.`document_id`) WHERE ((`Document`.`author` LIKE '%Монгольф'є Е.%' AND `Document`.`author_type` = 2) OR (`DocumentsCoauthor`.`name` LIKE '%Монгольф'є Е.%') OR (`DocumentsPersone`.`name` LIKE '%Монгольф'є Е.%'))' false
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(Document) { name => 'Document' actionsMapping => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useCache => true actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'documents' id => false data => array([maximum depth reached]) schemaName => 'fortecya' table => 'documents' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => 'Dcvisu' alias => 'Document' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'list' recursive => (int) -1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) languages => array( [maximum depth reached] ) tablePrefix => '' Doctype => object(Doctype) {} Docmimetype => object(AppModel) {} Mediatype => object(AppModel) {} DocumentsCoauthor => object(AppModel) {} DocumentsOrgcoauthor => object(AppModel) {} DocumentsExposition => object(AppModel) {} DocumentsExhibition => object(AppModel) {} Creator => object(AppModel) {} DocumentsPersone => object(AppModel) {} DocumentsSubjhead => object(AppModel) {} DocumentsTypology => object(AppModel) {} DocumentsTextlanguage => object(AppModel) {} DocumentsStuff => object(AppModel) {} DocumentsKwcity => object(AppModel) {} DocumentsCity => object(AppModel) {} DocumentsKworganization => object(AppModel) {} DocumentsKwtime => object(AppModel) {} DocumentsKwhistevent => object(AppModel) {} DocumentsKwsubject => object(AppModel) {} DocumentsComponent => object(AppModel) {} DocumentsTechnique => object(AppModel) {} DocumentsClassification => object(AppModel) {} DocumentsIdent => object(AppModel) {} DocumentsFund => object(AppModel) {} AccountingProcedure => object(AppModel) {} DocumentsCharacteristic => object(AppModel) {} DocumentsEvent => object(AppModel) {} DocumentsExtresource => object(AppModel) {} DocumentsRelpublication => object(AppModel) {} Upload => object(AppModel) {} Uploadadd => object(AppModel) {} ControlDate => object(AppModel) {} DocumentsContent => object(AppModel) {} CollectionsItem => object(AppModel) {} Documcollection => object(AppModel) {} Reldoc => object(Document) {} Reldocument => object(AppModel) {} ReldocAuxiliary => object(Document) {} displayField => 'name' [protected] _displayFields => array([maximum depth reached]) [protected] _editFields => array([maximum depth reached]) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null [private] spechar => array( [maximum depth reached] ) [private] limit => (int) 10 [private] page => (int) 1 [private] state => array( [maximum depth reached] ) [private] status => array( [maximum depth reached] ) [private] access => array( [maximum depth reached] ) [private] orgtypelist => array( [maximum depth reached] ) [private] valtypelist => array( [maximum depth reached] ) } array( 'conditions' => array( 'OR' => array( [maximum depth reached] ) ), 'fields' => array( (int) 0 => 'Document.id', (int) 1 => 'Document.name' ), 'joins' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1, 'list' => array( 'groupPath' => null, 'valuePath' => '{n}.Document.name', 'keyPath' => '{n}.Document.id' ) )
return null;
}
return $this->_readDataSource($type, $query);
}
'list' array( 'conditions' => array( 'OR' => array( [maximum depth reached] ) ), 'fields' => array( (int) 0 => 'Document.id', (int) 1 => 'Document.name' ), 'joins' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1, 'list' => array( 'groupPath' => null, 'valuePath' => '{n}.Document.name', 'keyPath' => '{n}.Document.id' ) )
'list' array( 'recursive' => (int) -1, 'joins' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ), 'conditions' => array( 'OR' => array( [maximum depth reached] ) ) )
}
$args = func_get_args();
$results = call_user_func_array(array('parent', 'find'), $args);
if ($this->useCache) {
array( (int) 0 => 'parent', (int) 1 => 'find' ) array( (int) 0 => 'list', (int) 1 => array( 'recursive' => (int) -1, 'joins' => array( [maximum depth reached] ), 'conditions' => array( [maximum depth reached] ) ) )
)
)
);
$value = array_keys($this->Document->find('list', $query));
if(count($value) == 0) {$conditions = 'Document.id = null'; }
'list' array( 'recursive' => (int) -1, 'joins' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ), 'conditions' => array( 'OR' => array( [maximum depth reached] ) ) )
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(DocumentsController) { name => 'Documents' uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) components => array( [maximum depth reached] ) catalogues => array( [maximum depth reached] ) usePaginationCache => true viewClass => 'Theme' theme => 'Heritage' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Documents' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} View => null ext => '.ctp' plugin => 'Dcvisu' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Document' modelKey => 'document' validationErrors => null Croogo => object(CroogoComponent) {} Security => object(SecurityComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} AclFilter => object(AclFilterComponent) {} CroogoAccess => object(AclAccessComponent) {} Settings => object(SettingsComponent) {} Nodes => object(NodesComponent) {} Menus => object(MenusComponent) {} Blocks => object(BlocksComponent) {} Taxonomies => object(TaxonomiesComponent) {} Setting => object(Setting) {} Document => object(Document) {} Doctype => object(Doctype) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array()
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'documents/person:%D0%9C%D0%BE%D0%BD%D0%B3%D0%BE%D0%BB%D1%8C%D1%84%27%D1%94%20%D0%95.' base => '' webroot => '/' here => '/documents/person:%D0%9C%D0%BE%D0%BD%D0%B3%D0%BE%D0%BB%D1%8C%D1%84%27%D1%94%20%D0%95.' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(DocumentsController) { name => 'Documents' uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) components => array( [maximum depth reached] ) catalogues => array( [maximum depth reached] ) usePaginationCache => true viewClass => 'Theme' theme => 'Heritage' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Documents' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} View => null ext => '.ctp' plugin => 'Dcvisu' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Document' modelKey => 'document' validationErrors => null Croogo => object(CroogoComponent) {} Security => object(SecurityComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} AclFilter => object(AclFilterComponent) {} CroogoAccess => object(AclAccessComponent) {} Settings => object(SettingsComponent) {} Nodes => object(NodesComponent) {} Menus => object(MenusComponent) {} Blocks => object(BlocksComponent) {} Taxonomies => object(TaxonomiesComponent) {} Setting => object(Setting) {} Document => object(Document) {} Doctype => object(Doctype) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'documents/person:%D0%9C%D0%BE%D0%BD%D0%B3%D0%BE%D0%BB%D1%8C%D1%84%27%D1%94%20%D0%95.' base => '' webroot => '/' here => '/documents/person:%D0%9C%D0%BE%D0%BD%D0%B3%D0%BE%D0%BB%D1%8C%D1%84%27%D1%94%20%D0%95.' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'documents/person:%D0%9C%D0%BE%D0%BD%D0%B3%D0%BE%D0%BB%D1%8C%D1%84%27%D1%94%20%D0%95.' base => '' webroot => '/' here => '/documents/person:%D0%9C%D0%BE%D0%BD%D0%B3%D0%BE%D0%BB%D1%8C%D1%84%27%D1%94%20%D0%95.' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
Об'єкт - вихідний об'єкт, який описується метаданими.
Це може бути або фізичний об'єкт – оригінал (річ, картина, книга тощо) або цифровий.
Для цифрових музейних колекцій це – оцифрований предмет з музейного фонду, предмет з фонду іншого зібрання,
отриманий до певної експозиції, а також оцифрований оригінал або цифровий ресурс, доступний у глобальній мережі.
Примітка. Правові аспекти розміщення об'єкту у цифровій колекції фіксуються у відповідних метаданих.
Оригінал – це фізичний предмет або аудіовізуальний ресурс, якій є оцифрованим для репрезентації у цифрових колекціях як окремий об'єкт.
Ресурс (веб ресурс) – це цифрова онлайнова репрезентація (подання) оригіналу як об'єкту цифрової колекції. Це комплекс інформаційних матеріалів, медіа типів ресурсів, метаданих та додаткової інформації, що стосується певного об'єкту цифрової колекції, має ідентичність, включаючи унікальну адресу ресурсу (URL) і доступний для використання у мережі.
Медіа типи – типи даних, які надаються через мережу Інтернет з застосуванням стандартів MIME і позначаються встановленими розширеннями файлів.