Etwas ist schief gelaufen. Diese Seite konnte nicht gefunden werden. Zurück zur Homepage
Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ItemCategory.url_alias_de' in 'field list'
SQL Query: SELECT `ItemCategory`.`url_alias`, `ItemCategory`.`url_alias_de` FROM `usrdb_micsbqxj`.`item_categories` AS `ItemCategory` WHERE `id` = 3 LIMIT 1
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 `ItemCategory`.`url_alias`, `ItemCategory`.`url_alias_de` FROM `usrdb_micsbqxj`.`item_categories` AS `ItemCategory` WHERE `id` = 3 LIMIT 1' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
$result = $this->execute($sql, array(), $params);
if ($result) {
'SELECT `ItemCategory`.`url_alias`, `ItemCategory`.`url_alias_de` FROM `usrdb_micsbqxj`.`item_categories` AS `ItemCategory` WHERE `id` = 3 LIMIT 1' array() array()
$query = $this->generateAssociationQuery($model, null, null, null, null, $queryData, false, $null);
$resultSet = $this->fetchAll($query, $model->cacheQueries);
'SELECT `ItemCategory`.`url_alias`, `ItemCategory`.`url_alias_de` FROM `usrdb_micsbqxj`.`item_categories` AS `ItemCategory` WHERE `id` = 3 LIMIT 1' false
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(ItemCategory) { useTable => 'item_categories' validate => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) useDbConfig => 'default' id => false data => array([maximum depth reached]) schemaName => 'usrdb_micsbqxj' table => 'item_categories' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'ItemCategory' alias => 'ItemCategory' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'first' 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] ) [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 } array( 'conditions' => array( 'id' => (int) 3 ), 'fields' => array( (int) 0 => 'url_alias', (int) 1 => 'url_alias_de' ), 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
return null;
}
return $this->_readDataSource($type, $query);
}
'first' array( 'conditions' => array( 'id' => (int) 3 ), 'fields' => array( (int) 0 => 'url_alias', (int) 1 => 'url_alias_de' ), 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
$url_prefix = in_array($active_lang, ['en', 'it'])? DS.$active_lang.DS : DS;
$cat3Det = $this->$model1->find('first', ['fields' => ['url_alias', 'url_alias_'.$active_lang], 'conditions' => ['id' => 3]]);
$cat3 = $cat3Det[$model1];
'first' array( 'fields' => array( (int) 0 => 'url_alias', (int) 1 => 'url_alias_de' ), 'conditions' => array( 'id' => (int) 3 ) )
*/
public function view($item_id = NULL, $url_alias = NULL){
$data = $this->renderItemData($item_id);
// $selCatId = $data['catDet']['id'];
'227'
'227' 'golden-tulip-hotel-olymp'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(EventsController) { components => array( [maximum depth reached] ) name => 'Events' uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Session => object(SessionComponent) {} Upload => object(UploadComponent) {} Auth => object(AuthComponent) {} Email => object(EmailComponent) {} Cookie => object(CookieComponent) {} Paginator => object(PaginatorComponent) {} Gzip => object(GzipComponent) {} Landingpage => object(Landingpage) {} Item => object(Item) {} ItemMeta => object(ItemMeta) {} ItemCategory => object(ItemCategory) {} ItemGroup => object(ItemGroup) {} ItemProperty => object(ItemProperty) {} User => object(User) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => '227', (int) 1 => 'golden-tulip-hotel-olymp' )
$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 => 'event/227/golden-tulip-hotel-olymp' base => '' webroot => '/' here => '/event/227/golden-tulip-hotel-olymp' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(EventsController) { components => array( [maximum depth reached] ) name => 'Events' uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Session => object(SessionComponent) {} Upload => object(UploadComponent) {} Auth => object(AuthComponent) {} Email => object(EmailComponent) {} Cookie => object(CookieComponent) {} Paginator => object(PaginatorComponent) {} Gzip => object(GzipComponent) {} Landingpage => object(Landingpage) {} Item => object(Item) {} ItemMeta => object(ItemMeta) {} ItemCategory => object(ItemCategory) {} ItemGroup => object(ItemGroup) {} ItemProperty => object(ItemProperty) {} User => object(User) {} [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 => 'event/227/golden-tulip-hotel-olymp' base => '' webroot => '/' here => '/event/227/golden-tulip-hotel-olymp' [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]) }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'event/227/golden-tulip-hotel-olymp' base => '' webroot => '/' here => '/event/227/golden-tulip-hotel-olymp' [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]) }